Good Morning Mo-

Can we see the WSDL?

Martin --
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.
----- Original Message -----
From: mo
Sent: Thursday, June 22, 2006 8:34 AM
Subject: Strange SOAP Reply...

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.xmlsoaporg/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.xmlsoaporg/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.xmlsoaporg/soap/encoding/"
                           xsi:type="ns4:Top10Tune"
                           xmlns:ns4=" http://mydomain/wservices/FlashService"
                           xmlns:soapenc="http://schemas.xmlsoaporg/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.xmlsoaporg/soap/encoding/"
                           xsi:type="ns5:Top10Tune"
                           xmlns:ns5=" http://mydomain/wservices/FlashService"
                           xmlns:soapenc="http://schemas.xmlsoaporg/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



Reply via email to