W
winson
dear all:
i will use ruby soap client to connect php nusoap server,but can't
get response data ,can't help me
thank
wsdl url:
http://www.winson.idv.tw/mytest/nusoap/demo.php?wsdl
ruby wsdl client:
require 'soap/wsdlDriver'
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"
@soapResponse =
soap.getBook("query","books","12345","0010354952","product","books_data")
soap.reset_stream
result data:
<Method></Method><Item></Item><Respon
ResponseMessage>
: Data Type Error (SOAP::FaultError)
xml loger file (log_file_getBook_request.xml):
all value is nil?
<?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="urn:booksWSDL"
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>
i will use ruby soap client to connect php nusoap server,but can't
get response data ,can't help me
thank
wsdl url:
http://www.winson.idv.tw/mytest/nusoap/demo.php?wsdl
ruby wsdl client:
require 'soap/wsdlDriver'
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"
@soapResponse =
soap.getBook("query","books","12345","0010354952","product","books_data")
soap.reset_stream
result data:
<Method></Method><Item></Item><Respon
ResponseMessage>
: Data Type Error (SOAP::FaultError)
xml loger file (log_file_getBook_request.xml):
all value is nil?
<?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="urn:booksWSDL"
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>