Forum: Rails-ES using ruby soap client with nusoap server?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4874f7684f517629b99eeec630ab306e?d=identicon&s=25 winson (Guest)
on 2007-02-16 03:35
i try ruby soap client with nusoap server,but server can't get argument
please help me thanks

ruby client:
factory =
SOAP::WSDLDriverFactory.new("http://www.winson.idv.tw/mytest/nusoap/demo.php?wsdl")
soap = factory.create_rpc_driver
soap.wiredump_file_base = "log_file"
begin
  soapResponse =
soap.getBook("winson","winson","winson","winson","winson","winson")
  rescue ::XSD::ValueSpaceError => e
    puts e.to_s
end

ruby soap log : argument is all nil?? why?

 <?xml version="1.0" encoding="utf-8" ?>
- <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <env:Body>
- <n1:getBook xmlns:n1="http://www.winson.idv.tw/mytest/nusoap/"
env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <Method xsi:nil="true" />
  <LoginID xsi:nil="true" />
  <Password xsi:nil="true" />
  <Item xsi:nil="true" />
  <Data xsi:nil="true" />
  <Category xsi:nil="true" />
  </n1:getBook>
  </env:Body>
  </env:Envelope>
963220485d70e83c9fb453e98408cc93?d=identicon&s=25 jojo (Guest)
on 2007-03-01 21:36
maybe

soap.getBook(:Method => "winson",:LoginID => "winson", ...)
This topic is locked and can not be replied to.