axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dorner Thomas <thomas.dor...@edmb.debis.com>
Subject Array in HashMap?
Date Fri, 16 Jul 2004 06:57:51 GMT
> Hi all,
> 
> I have only a short question:
> 
> It is possible to send a HashMap with Axis (type="apachesoap:Map")
> There are no problems when send Strings in the HashMap.
> 
> But isnĀ“t it possible to send an Array in the HashMap?
> 
> I get an Exception from server!?
> 
> <faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a
> child element, which is NOT expected, in something it was trying to
> deserialize.</faultstring> 
> 
> 
> The SOAP-Message look good to me:
> 
> 
>    <soapenv:Body>
>       <invoke xmlns="service:Smaragd">
>          <invokeFunctionName>isActual</invokeFunctionName>
>          <invokeParams>
>             <item
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:ns2="http://xml.apache.org/xml-soap" xmlns="">
>                <key>kem</key>
>                <value>
>                   <item xsi:type="soapenc:string">test</item>
>                   <item xsi:type="soapenc:string">test</item>
>                </value>
>             </item>
>             <item xmlns="">
>                <key>versionOBIDs</key>
>                <value>
>                   <item xsi:type="soapenc:string"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">test</item>
>                   <item xsi:type="soapenc:string"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">tset</item>
>                </value>
>             </item>
>          </invokeParams>
>       </invoke>
>    </soapenv:Body>
> 
> 
> Please let me know if it is possible to send an Array in an HashMap???
> 
> Thanks Tomi
> 
> 
> 
> 
> 
> 
> 
> 

Mime
View raw message