Usually nusoap works fine for me however now it's giving me a headacher and I've run out of ideas and hoping maybe someone can spot something I've missed.
No matter what I do it won't process these webservices and it doesnt even show me request xml so i'm guessing it gets stuck quite early on.
1. the error:
wsdl error: http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO:handleSmsBericht^ (handleSmsBericht^) is not a supported type.
2. the wsdl
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<m:handleSmsBericht xmlns:m="http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO">
<m:Id>8</m:Id>
</m:handleSmsBericht>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
|
3. the result in xmlspy (no problem here)
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<SmsBerichtResponse xmlns:tns="http://mywebserver/ABC/SmsParkeren" xmlns="http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO">
<Message>Het nieuwe paswoord voor gebruikersnaam (xx) is (aaaa). Gebruik deze informatie om uzelf aan te melden op (http://onze_site)</Message>
</SmsBerichtResponse>
</soapenv:Body>
</soapenv:Envelope>
|
4. a whole load of debug info which unfortuantly doesnt mean much to me
2008-01-22 15:23:44.667837 nusoap_proxy_23080: ctor wsdl= timeout=0 response_timeout=30
endpoint=string(0) ""
2008-01-22 15:23:44.667915 nusoap_proxy_23080: instantiate SOAP with endpoint at
2008-01-22 15:23:44.668019 nusoap_proxy_23080: call: operation=handleSmsBericht, namespace=http://mywebserver/ABC/SmsParkeren, soapAction=http://peserver3:8080/axis2/services/HandleSmsBerichtService, rpcParams=, style=rpc, use=encoded, endpointType=wsdl
params=array(0) {
}
headers=bool(false)
2008-01-22 15:23:44.668110 nusoap_proxy_23080: found operation
opData=array(9) {
["name"]=>
string(16) "handleSmsBericht"
["binding"]=>
string(36) "HandleSmsBerichtServiceSOAP11Binding"
["endpoint"]=>
string(60) "http://peserver3:8080/axis2/services/HandleSmsBerichtService"
["soapAction"]=>
string(61) "http://mywebserver/ABC/SmsParkeren:HandleSmsBerichtIn"
["style"]=>
string(8) "document"
["input"]=>
array(3) {
["use"]=>
string(7) "literal"
["message"]=>
string(18) "HandleSmsBerichtIn"
["parts"]=>
array(1) {
["part1"]=>
string(80) "http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO:handleSmsBericht^"
}
}
["output"]=>
array(3) {
["use"]=>
string(7) "literal"
["message"]=>
string(19) "HandleSmsBerichtOut"
["parts"]=>
array(1) {
["part1"]=>
string(82) "http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO:SmsBerichtResponse^"
}
}
["transport"]=>
string(36) "http://schemas.xmlsoap.org/soap/http"
["documentation"]=>
string(0) ""
}
2008-01-22 15:23:44.668230 nusoap_proxy_23080: serializing param array for WSDL operation handleSmsBericht
2008-01-22 15:23:44.668300 wsdl: in serializeRPCParameters: operation=handleSmsBericht, direction=input, XMLSchemaVersion=http://www.w3.org/2001/XMLSchema, bindingType=soap
parameters=array(0) {
}
2008-01-22 15:23:44.668379 wsdl: in serializeRPCParameters: opData:
array(9) {
["name"]=>
string(16) "handleSmsBericht"
["binding"]=>
string(36) "HandleSmsBerichtServiceSOAP11Binding"
["endpoint"]=>
string(60) "http://peserver3:8080/axis2/services/HandleSmsBerichtService"
["soapAction"]=>
string(61) "http://mywebserver/ABC/SmsParkeren:HandleSmsBerichtIn"
["style"]=>
string(8) "document"
["input"]=>
array(3) {
["use"]=>
string(7) "literal"
["message"]=>
string(18) "HandleSmsBerichtIn"
["parts"]=>
array(1) {
["part1"]=>
string(80) "http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO:handleSmsBericht^"
}
}
["output"]=>
array(3) {
["use"]=>
string(7) "literal"
["message"]=>
string(19) "HandleSmsBerichtOut"
["parts"]=>
array(1) {
["part1"]=>
string(82) "http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO:SmsBerichtResponse^"
}
}
["transport"]=>
string(36) "http://schemas.xmlsoap.org/soap/http"
["documentation"]=>
string(0) ""
}
2008-01-22 15:23:44.668484 wsdl: have 1 part(s) to serialize using document/literal
2008-01-22 15:23:44.668554 wsdl: have 0 parameter(s) provided as arraySimple to serialize
2008-01-22 15:23:44.668620 wsdl: serializing part part1 of type http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO:handleSmsBericht^
2008-01-22 15:23:44.668687 wsdl: calling serializeType w/indexed param
2008-01-22 15:23:44.668755 wsdl: in serializeType: name=part1, type=http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO:handleSmsBericht^, use=literal, encodingStyle=, unqualified=qualified
value=NULL
2008-01-22 15:23:44.668834 wsdl: in serializeType: got a prefixed type: handleSmsBericht^, http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO
2008-01-22 15:23:44.668905 wsdl: in getTypeDef: type=handleSmsBericht^, ns=http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO
2008-01-22 15:23:44.668976 wsdl: in getTypeDef: do not have schema for namespace http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO
2008-01-22 15:23:44.669044 wsdl: in serializeType: http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO:handleSmsBericht^ (handleSmsBericht^) is not a supported type.
2008-01-22 15:23:44.669766 wsdl: serializeRPCParameters returning:
2008-01-22 15:23:44.669850 nusoap_proxy_23080: got wsdl error: http://mywebserver/ABC/SmsParkeren/HandleSmsBericht_IO:handleSmsBericht^ (handleSmsBericht^) is not a supported type. |
I can have changes made to the webservice if needed, but now it's only nusoap it won't work with. Any helpwould greatly be appreciated.
Regards,
Rick