Create Web Service with php NuSOAP And Consuming With Ruby
Link Ruby
http://rubyinstaller.org/downloads/
Link Savon
http://savonrb.com/
Link WAMP
http://wampserver.com/
Link NuSOAP
http://sourceforge.net/projects/nusoap/
cli gem To Install savon
----------------------------------------------------------------------------------
gem install savon
----------------------------------------------------------------------------------
Note : In Windows OS you must replace sources with non-security link with gem cause ssl error
cli gem To replace sources
----------------------------------------------------------------------------------
gem sources -a http://rubygems.org/
gem sources -r https://rubygems.org/
----------------------------------------------------------------------------------
-First Step Download NuSOAP and extract lib folder to your app location for me c:/wamp/www/ws
On This Video i create a Web Service WSDL with php and script Ruby to consume that Web Service
check part 2 for Server WSDL with php
• SOAP Web Service Server php Client c# part 2
code client.rb
----------------------------------------------------------------------------------
require 'savon'
client = Savon.client(wsdl: 'http://localhost/ws/soap.php?wsdl')
puts client.operations
fctadd = client.call(:add , message: {a: 11,b: 208})
puts fctadd.body
----------------------------------------------------------------------------------
Sur cette page du site, vous pouvez voir la vidéo en ligne SOAP Web Service Server php Client Ruby part 5 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur jemix 01 avril 2015, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,380 fois et il a aimé 68 téléspectateurs. Bon visionnage!