SOAP Web Service Server php Client Ruby part 5

Publicado em: 01 Abril 2015
no canal de: jemix
2,380
68

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
-----------------------------­------------------------------­-----------------------


Nesta página do site você pode assistir ao vídeo on-line SOAP Web Service Server php Client Ruby part 5 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário jemix 01 Abril 2015, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,380 vezes e gostou 68 espectadores. Boa visualização!