Arrays of arrays are not supported by the current Apache SOAP code.  I am
looking into how difficult it would be to support them.

Scott Nichol

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, September 13, 2002 4:07 AM
Subject: Multi dimensional Array Handling in Apache SOAP



Hi ,
 I am getting problem in  Deserialising  a  2-D int Array form a
webservice.  I am using apache soap tk 2.3.1
can any one please help in this regards

Exception :

Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
msg=No map
ping found for 'http://schemas.xmlsoap.org/soap/encoding/:Array' using
encoding
style 'http://schemas.xmlsoap.org/soap/encoding/'.;
targetException=java.lang.Il
legalArgumentException: No mapping found for
'http://schemas.xmlsoap.org/soap/en
coding/:Array' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.

Response SOAP message:

<soap-env:Envelope xmlns:soap-env
="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi
="http://www.w3.org/1999/XMLSchema-instance"; xmlns:xsd
="http://www.w3.org/1999/XMLSchema"; xmlns:SOAP-ENC
="http://schemas.xmlsoap.org/soap/encoding/";>
<soap-env:Header/>
<soap-env:Body>
     <intx:getIntArrayResponse xmlns:intx
="http://architecture.pershing.com";
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
          <getIntArrayResult xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType
="SOAP-ENC:Array[2]">
               <int SOAP-ENC:arrayType="xsd:int[2]" xsi:type
="SOAP-ENC:Array">
                    <int xsi:type="xsd:int">1</int>
                    <int xsi:type="xsd:int">2</int>
               </int>
               <int SOAP-ENC:arrayType="xsd:int[2]" xsi:type
="SOAP-ENC:Array">
                    <int xsi:type="xsd:int">3</int>
                    <int xsi:type="xsd:int">4</int>
               </int>
          </getIntArrayResult>
     </intx:getIntArrayResponse>
</soap-env:Body>
</soap-env:Envelope>



It works fine for the one dimensional array


Thanks & regards,Rajender Mahato
NT Server Team
X-1237



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to