Hello all,
i am having some problems with a SOAP request. The request itself is working, and i am getting back data, but it is not parsed correctly by the SOAPResponse.getOutParameters() method. Instead of having a nice XML Result, i get a lot of garbage like this
2013-09-04 21:55:51.493] [I] + parameter name: 'return[40].any', value: '<activeImage/>'
[2013-09-04 21:55:51.494] [I] + parameter name: 'return[40].any', value: '<activeImage/>'
[2013-09-04 21:55:51.495] [I] + parameter name: 'return[40].any', value: '<activeImage/>'
[2013-09-04 21:55:51.496] [I] + parameter name: 'return[40].any', value: '<activeImage/>'
[2013-09-04 21:55:51.496] [I] + parameter name: 'return[40].any', value: '<activeImage/>'
[2013-09-04 21:55:51.497] [I] + parameter name: 'return[40].any', value: '<activeImage/>'
[2013-09-04 21:55:51.498] [I] + parameter name: 'return[40].any', value: '<activeImage/>'
[2013-09-04 21:55:51.499] [I] + parameter name: 'return[40].any', value: '<activeImage/>'
[2013-09-04 21:55:51.500] [I] + parameter name: 'return[40].any', value: '<activeImage/>'
[2013-09-04 21:55:51.501] [I] + parameter name: 'return[40].any', value: '<activeImage/>'
[2013-09-04 21:55:51.502] [I] + parameter name: 'return[40].any', value: '<activeImage/>'
[2013-09-04 21:55:51.503] [I] + parameter name: 'return[40].any', value: '<activeImage/>'
Activeimage is an element within the response, but i don't get any child elements. Also the parameter name is the same.
I believe it has to with with the WSDL beeing used, especially with the namespaces.
The response looks like that
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:getAllResponse xmlns:ns2="http://oss.ws.sm.batm.com/">
<return xsi:type="ns2:neOss" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<activeImage/>
+ lots of other elements
</return> | |
</ns2:getAllResponse> |
</S:Body>
</S:Envelope>
The return element can occur multiple times, and every element contains a result.
In PHP i had to add the namespaces manually to get it working. Don't know how to handly that with vco.
When using http://www.webservicex.net/geoipservice.asmx?WSDL everythin works as expected.
Any help is appreciated.
Best regards
Carsten