Hi.
In this zip file:
http://atom.mamto.cz/archiv/temp/axis_hashmap.zip
Is server class, server config, generated wsdl file and client generated stub.
I thing, that all is OK.
-------------------------- Original message --------------------------
From: Anne Thomas Manes <[EMAIL PROTECTED]>
Subject: HashMap return Long value
Date: Thursday, January 26, 2006, 5:49:19 PM
Attachments: Zpráva.html
msgid:[EMAIL PROTECTED]
A> It looks like something in the stub that is trying to cast the Map to aLong.
I can't
A> imagine why. Are you sure you are using the right stub? Did you try to
regenerate it?
A>
A> Anne
A> On 1/26/06, Tomáš Procházka <[EMAIL PROTECTED]> wrote:
A> Hi.
A> I'm sorry, I wrote to personal address.
A> Anne Thomas Manes <[EMAIL PROTECTED]> write me:
>> Please send your messages to the list rather than to me personally.
>> Perhaps the problem is in the server. What is the actual return message?
>> And you should convert your HashMap to an array.
A> Actual return message is:
A> <soapenv:Body>
A> <ns1:getMapResponse soapenv:encodingStyle="
A> http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:ws.bazartip.atomsoft.cz">
A> <getMapReturn href="#id0"/>
A> </ns1:getMapResponse>
A> <multiRef id="id0" soapenc:root="0"
A> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/ "
xsi:type="ns2:Map"
A> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
A> xmlns:ns2="http://xml.apache.org/xml-soap ">
A> <item>
A> <key xsi:type="soapenc:string">SEX</key>
A> <value xsi:type="soapenc:string">male</value>
A> </item>
A> <item>
A> <key xsi:type="soapenc:string">NAME</key>
A> <value xsi:type="soapenc:string">Tomas</value>
A> </item>
A> </multiRef>
A> </soapenv:Body>
----------------------- End of original message ----------------------
--
Tomas Prochazka