Ying:
Where is the server side addParameter() method?
Here is an example of how to setup a service which returns an Array of
strings
http://www.mail-archive.com/[EMAIL PROTECTED]/msg18067.html
HTH,
~Martin~
----- Original Message -----
From: "Ying Ying" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 12, 2004 12:03 PM
Subject: Re: int[][] as parameter


> Hi Scott,
>
> I am using Apache SOAP 2_3_1.
>
> When I am sending a string[][] parameter, the SOAP message is like:
>
> <?xml...>
> <SOAP-ENV:Envelope xmlns:
> SOAP-ENV="http://schemas.smlsoap.org/soap/envelope/";
> xmlns:xsi="http://www.w3.org/2001/XMLScehema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> <SOAP-ENV:Body>
> <ns1:helloMatrix xmlns:ns1="urn:helloMatrix"
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
> <nameList xmlna:ns2="http://schemas.xmlsoap.org/soap/encoding/";
> xsi:type="ns2:Array" ns2:arrayType=ns2:Array[26]">
> <item xsi:type="ns:Array" ns2:arrayType="xsd:string[2]">
> <item xsi:type="xsd:string">1</item>
> <item xsi:type="xsd:string">Amy</item>
> </item>
> .............
>
> On the server side, it generated a fault:
> <faultcode> SOAP-ENV:Client </..>
> <faultstring> No mapping found for
> http://schemas.xmlsoap.org/soap/encoding/:Array, using encoding style
> http://schemas.xmlsoap.org/soap/encoding/ </..>
>
> I guess there might be sth wrong with ns2:arrayType=ns2:Array[26]
>
> Thanks a lot!
>
>
> Cheers,
> ying
>
>
>
>
>
>
>
>
>
>
> ----- Original Message -----
> From: "Scott Nichol" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, March 12, 2004 4:08 PM
> Subject: Re: int[][] as parameter
>
>
> What version of Apache SOAP are you using?  What exception are you
getting?
>
> Scott Nichol
>
> Do not send e-mail directly to this e-mail address,
> because it is filtered to accept only mail from
> specific mail lists.
> ----- Original Message -----
> From: "Ying Ying" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, March 12, 2004 10:57 AM
> Subject: int[][] as parameter
>
>
> Hi all,
>
> If i wanna pass an int[][] as parameter on the call, it seems defalut
> SOAPMappingRegistry can't work with it. So, in this case, what should I
do?
>
> Thanks & Regards,
> Ying
>
>

Reply via email to