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/”>
</n1:getBook>
</env:Body>
</env:Envelope>