Hi Kaleb,
In your types classes (the one has HashMap field), you have to add the
Adapter, and the jaxb will use this adapter automatically
You don't need to change the spring configuration.
Willem gave a quite useful link
http://weblogs.java.net/blog/kohsuke/archive/2005/04/xmladapter_in_j.html
Follow the steps, you should get the HashMap
James
Great, at least there's some light at the end of the tunnel!
Where would I plug it into a spring configuration - I'm using
<simple:server>'s?
Thanks!
Regards,
Kaleb
Inactive hide details for James Mao ---09/18/2007 11:23:14 PM---Jaxb
is quite plugable, you can use XmlTypeAdapter to marshal/uJames Mao
---09/18/2007 11:23:14 PM---Jaxb is quite plugable, you can use
XmlTypeAdapter to marshal/unarshal
From:
James Mao <[EMAIL PROTECTED]>
To:
cxf-user@incubator.apache.org
Date:
09/18/2007 11:23 PM
Subject:
Re: HashMap as parameter for web service call
------------------------------------------------------------------------
Jaxb is quite plugable, you can use XmlTypeAdapter to marshal/unarshal
to/from HashMap
James
> HashMap is not supported by JAXB binding. More discussions about
this can be found from
http://www.nabble.com/DataBinding-problems-%28Timestamp-and-HashMap%29-using-JAXB-tf4283645.html#a12193877
>
> Cheers,
> Jervis
>
>
>> -----Original Message-----
>> From: Kaleb Walton [mailto:[EMAIL PROTECTED]
>> Sent: 2007?9?19? 5:59
>> To: cxf-user@incubator.apache.org
>> Subject: HashMap as parameter for web service call
>>
>>
>>
>> I cannot seem to get a HashMap to work as a parameter when
>> making a web
>> service call via PHP. Has anyone else experienced this? I want to
>> encapsulate my parameters in a more complex object that
>> extends HashMap.
>>
>> Regards,
>> Kaleb
>>
>>
>
> ----------------------------
> IONA Technologies PLC (registered in Ireland)
> Registered Number: 171387
> Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
Ireland
>
>