You should define a XML<-> HashMap format and , Axis2 works on top of
xsd, and XML level, so Axis2 most probably would not support data
binding for HashMaps nateivly.
I belive you can easily write a code to convert the xml hashmap format
to hash Map.
e.g. let foo be the Web Service Method
OMElement foo(OMElement){
HashMap map = //create map out of xml, but you should write
the code to do //this here as
//process the map
}
Thanks
Srinath
On 2/5/06, srinivas s <[EMAIL PROTECTED]> wrote:
> Hi:
>
> Thank you for the great effort you guys are putting
> into Axis 2 v1.0 release.
>
> We are looking forward for the final release.
> In the recent time we had developed a webservice using
> Axis1_2_1, that has single method with inparams as
> HashMap and the method output again as an HashMap. The
> HashMap contains the user defined complex data types (
> includes List,ArrayList etc).
>
> We were successfull so far, but we are now moving to
> Axis2, so as to support WS-Security, Asyncronous
> messaging etc.
> So, is it the right time to redesign our app
> according to the new framework?
>
> Please let us know what it takes to convert the
> HashMap(IN/OUT) to OMElement. Please send us the
> sample code to understand the migration part.
>
>
> Thanks in advance.
> Regards
> \Srini
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
--
============================
Srinath Perera:
http://www.cs.indiana.edu/~hperera/
http://www.bloglines.com/blog/hemapani