Hello list,
I've developed my first axis-based service, which methods give back complex types. It works fine until i call a method, which gives back an array of a complex type. The data is correct, but the response contains a number before and after the soapmessage. This causes parser errors on the client side, and I want to understand what this numbers stand for and how I can get rid of them!
Thanks for any help,
Mo
And here the response:
1560
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:getTop10InKatResponse soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://ws.mydomain.com">
<getTop10InKatReturn soapenc:arrayType="ns2:Top10Tune[10]"
xsi:type="soapenc:Array"
xmlns:ns2="http://mydomain/wservices/FlashService
"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<getTop10InKatReturn href=""
<getTop10InKatReturn href=""> <getTop10InKatReturn href="">
.... ten <getTop10InKatReturn> #id0 to #id9 .....
</getTop10InKatReturn>
</ns1:getTop10InKatResponse>
<multiRef id="id1" soapenc:root="0"
soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns3:Top10Tune"
xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns3="http:/mydomain/wservices/FlashService">
<categoryid xsi:type="xsd:int">1</categoryid>
<count xsi:type="xsd:int">322</count>
<id xsi:type="xsd:int">2</id>
<name xsi:type="xsd:string">number 2</name>
<position xsi:type="xsd:int">2</position>
</multiRef>
<multiRef id="id8" soapenc:root="0"
soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns4:Top10Tune"
xmlns:ns4="
http://mydomain/wservices/FlashService"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<categoryid xsi:type="xsd:int">1</categoryid>
<count xsi:type="xsd:int">42</count>
<id xsi:type="xsd:int">9</id>
<name xsi:type="xsd:string">number 9</name>
<position xsi:type="xsd:int">9</position>
</multiRef>
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns5:Top10Tune"
xmlns:ns5="
http://mydomain/wservices/FlashService"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<categoryid xsi:type="xsd:int">1</categoryid>
<count xsi:type="xsd:int">332</count>
<id xsi:type="xsd:int">1</id>
<name xsi:type="xsd:string">number 1</name>
<position xsi:type="xsd:int">1</position>
</multiRef>
....... ten multiRes id0 to id9
</soapenv:Body>
</soapenv:Envelope>
0
- Strange SOAP Reply... mo
- Re: Strange SOAP Reply... Kinichiro Inoguchi
- Re: Strange SOAP Reply... Martin Gainty
