Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 72010 invoked from network); 23 Jun 2006 12:08:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jun 2006 12:08:39 -0000 Received: (qmail 9354 invoked by uid 500); 23 Jun 2006 12:08:30 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 9335 invoked by uid 500); 23 Jun 2006 12:08:30 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 9324 invoked by uid 99); 23 Jun 2006 12:08:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jun 2006 05:08:29 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,HTML_MESSAGE,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mgainty@hotmail.com designates 65.54.174.79 as permitted sender) Received: from [65.54.174.79] (HELO hotmail.com) (65.54.174.79) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jun 2006 05:08:28 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 Jun 2006 05:08:07 -0700 Message-ID: Received: from 71.232.6.177 by BAY103-DAV7.phx.gbl with DAV; Fri, 23 Jun 2006 12:08:06 +0000 X-Originating-IP: [71.232.6.177] X-Originating-Email: [mgainty@hotmail.com] X-Sender: mgainty@hotmail.com Reply-To: "Martin Gainty" From: "Martin Gainty" To: , References: <53f5b17d0606220534pb98b7d2u31ca6d7751c40383@mail.gmail.com> Subject: Re: Strange SOAP Reply... Date: Fri, 23 Jun 2006 08:08:01 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0031_01C6969C.256F3EF0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-OriginalArrivalTime: 23 Jun 2006 12:08:07.0455 (UTC) FILETIME=[B0209AF0:01C696BD] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0031_01C6969C.256F3EF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 -----=20 From: mo=20 To: axis-user@ws.apache.org=20 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!=20 Thanks for any help, Mo And here the response: 1560 =20 .... ten #id0 to #id9 = ....=20 1=20 322 2 number 2=20 2 1=20 42 9 number 9=20 9 1=20 332 1 number 1=20 1 ....... ten multiRes id0 to id9 0 ------=_NextPart_000_0031_01C6969C.256F3EF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Good Morning Mo-

Can we see the=20 WSDL?

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

Hello list,
I've developed my first axis-based = service,=20 which methods give back complex types. It works fine until  i = call a=20 method, which gives back an array of a complex type. The data is = correct, but=20 the response contains a number before and after the soapmessage. This = causes=20 parser errors on the client side, and I want to understand what this = numbers=20 stand for and how I can get rid of them!

Thanks for any=20 help,
Mo



And here the response:


1560
<?xml version=3D"1.0"=20 encoding=3D"utf-8"?>
   <soapenv:Envelope = xmlns:soapenv=3D" http://schemas.xmlsoap= org/soap/envelope/"=20 xmlns:xsd=3D"http://www.w3.org/2001/XMLSchem= a"=20
                  =  =20            xmlns:xsi=3D" http://www.w3.org/2001= /XMLSchema-instance">
  =20 <soapenv:Body>
  <ns1:getTop10InKatResponse=20 soapenv:encodingStyle=3D"=20 http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1=3D"http://ws.mydomain.com">
 =         =20 <getTop10InKatReturn soapenc:arrayType=3D"ns2:Top10Tune[10]"=20 =
           &nb= sp;           &nbs= p;            = ;       =20 xsi:type=3D"soapenc:Array"=20 =
           &nb= sp;           &nbs= p;            = ;       =20 xmlns:ns2=3D"http://mydomain/wservices= /FlashService=20 "=20 =
           &nb= sp;           &nbs= p;            = ;       =20 xmlns:soapenc=3D"http://schemas.xmlsoap= org/soap/encoding/">
       = ;            =     =20 <getTop10InKatReturn href=3D"#id0"/>=20 =
           &nb= sp;           =20 <getTop10InKatReturn=20 = href=3D"#id1"/>
        &nb= sp;           &nbs= p;  =20 <getTop10InKatReturn=20 = href=3D"#id2"/>

        = ;            =     =20 .... ten <getTop10InKatReturn> #id0 to #id9 .....=20

         =20 = </getTop10InKatReturn>
</ns1:getTop10InKatResponse>
<= ;multiRef=20 id=3D"id1" soapenc:root=3D"0"=20 =
           &nb= sp;           &nbs= p;  =20 soapenv:encodingStyle=3D"=20 http://schemas.xmlsoap.org/soap/encoding/"=20 =
           &nb= sp;           &nbs= p;  =20 xsi:type=3D"ns3:Top10Tune"=20 =
           &nb= sp;           &nbs= p;  =20 xmlns:soapenc=3D"=20 http://schemas.xmlsoap.org/soap/encoding/"=20 =
           &nb= sp;           &nbs= p;  =20 = xmlns:ns3=3D"http:/mydomain/wservices/FlashService">
  &n= bsp;        =20 <categoryid xsi:type=3D"xsd:int">1</categoryid>=20
            = <count=20 = xsi:type=3D"xsd:int">322</count>
    &nbs= p;      =20 <id=20 = xsi:type=3D"xsd:int">2</id>
     &nb= sp;     =20 <name xsi:type=3D"xsd:string">number 2</name>=20 =
           &nb= sp;=20 <position=20 = xsi:type=3D"xsd:int">2</position>
</multiRef>
<mu= ltiRef=20 id=3D"id8" soapenc:root=3D"0"=20 =
           &nb= sp;           &nbs= p;  =20 soapenv:encodingStyle=3D" http://schemas.xmlsoap= org/soap/encoding/"=20 =
           &nb= sp;           &nbs= p;  =20 xsi:type=3D"ns4:Top10Tune"=20 =
           &nb= sp;           &nbs= p;  =20 xmlns:ns4=3D"=20 http://mydomain/wservices/FlashService"=20 =
           &nb= sp;           &nbs= p;  =20 xmlns:soapenc=3D"http://schemas.xmlsoap= org/soap/encoding/">
       = ;    =20 <categoryid xsi:type=3D"xsd:int">1</categoryid>=20
            = <count=20 = xsi:type=3D"xsd:int">42</count>
     = ;      =20 <id=20 = xsi:type=3D"xsd:int">9</id>
     &nb= sp;     =20 <name xsi:type=3D"xsd:string">number 9</name>=20
            = <position=20 = xsi:type=3D"xsd:int">9</position>
</multiRef>
<mu= ltiRef=20 id=3D"id0" soapenc:root=3D"0"=20 =
           &nb= sp;           &nbs= p;  =20 soapenv:encodingStyle=3D" http://schemas.xmlsoap= org/soap/encoding/"=20 =
           &nb= sp;           &nbs= p;  =20 xsi:type=3D"ns5:Top10Tune"=20 =
           &nb= sp;           &nbs= p;  =20 xmlns:ns5=3D"=20 http://mydomain/wservices/FlashService"=20 =
           &nb= sp;           &nbs= p;  =20 xmlns:soapenc=3D"http://schemas.xmlsoap= org/soap/encoding/">
       = ;    =20 <categoryid xsi:type=3D"xsd:int">1</categoryid>=20
            = <count=20 = xsi:type=3D"xsd:int">332</count>
    &nbs= p;      =20 <id=20 = xsi:type=3D"xsd:int">1</id>
     &nb= sp;     =20 <name xsi:type=3D"xsd:string">number 1</name>=20
            = <position=20 = xsi:type=3D"xsd:int">1</position>
</multiRef>
......= ten=20 multiRes id0 to=20 id9
</soapenv:Body>
</soapenv:Envelope>
0



------=_NextPart_000_0031_01C6969C.256F3EF0--