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
----------------------------------------------------------------------------------
Auf dieser Seite können Sie das Online-Video SOAP Web Service Server php Client Ruby part 5 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer jemix 01 April 2015 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,380 Mal angesehen und es wurde von 68 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!