Hi,
I'm integrating Jersey(server) with a WCF(client) and an issue when passing a Java HashMap<String,String> from the server to the client.
Basically Jersey generates the following for a Map<String,String>
{Map:{"entry",{"key":"key1","value":"value1"},"entry",{"key":"key2","value":"value2"},"entry",{"key":"key3","value":"value3"}.....}}
unfortunately, at the other side of the wire, WCF expects something more like:
{Map:{"key":"key1","value":"value1"},{"key":"key2","value":"value2"},{"key":"key3","value":"value3"}.....}
I've already tried changing WCF to deserialize the Jersey generated response but to no avail (does not work and it's overly complicated).
So, how can I customize the way JAXB spits Json so it can generate what WCF expects?
Any pointers/ideas/snippets/etc are very much appreciated.
Cheers
_________________________________________________________________
Browse profiles for FREE! Meet local singles online.
http://clk.atdmt.com/NMN/go/150855801/direct/01/