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
----------------------------------------------------------------------------------
On this page of the site you can watch the video online SOAP Web Service Server php Client Ruby part 5 with a duration of hours minute second in good quality, which was uploaded by the user jemix 01 April 2015, share the link with friends and acquaintances, this video has already been watched 2,380 times on youtube and it was liked by 68 viewers. Enjoy your viewing!