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
----------------------------------------------------------------------------------
En esta página del sitio puede ver el video en línea SOAP Web Service Server php Client Ruby part 5 de Duración hora minuto segunda en buena calidad , que subió el usuario jemix 01 abril 2015, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 2,380 veces y le gustó 68 a los espectadores. Disfruta viendo!