Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
ruby create web service client with php nusoap??
winson
2/15/2007 8:24:00 AM
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/dem...
ruby wsdl client:
require 'soap/wsdlDriver'
factory =
SOAP::WSDLDriverFactory.new("
http://www.winson.idv.tw/mytest/nusoap/dem...
")
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/XMLSc...
xmlns:env="
http://schemas.xmlsoap.org/soap/envel...
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>
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
ruby create web service client with php nusoap??
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password