Soap4r

hola a todos
estoy conectandome a soap a traves de su la gema soap4r pero da el error
response is not a SOAP envelope si lo pruebo con un cliente soap
diferente si funciona este es el codigo que estoy utilizando:

require ‘soap/rpc/driver’

NAMESPACE = ‘urn:hellowsdl’
URL = ‘http://localhost/soap/servidor.php?wsdl

begin
driver = SOAP::RPC::Driver.new(URL, NAMESPACE)

Add remote sevice methods

driver.add_method(‘hello’, ‘name’)

Call remote service methods

puts driver.hello(‘oscar’)
rescue => err
puts err.message
end

gracias por la ayuda

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs