I looked at the current code in CVS.  It "handles" deserialization of an 
array-of-arrays by throwing an exception "Arrays of arrays are not supported", which 
tells me they are not supported in 2.3.1, either.

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 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