Maps are hard. JAXB barely support them, with a ton of snails, in 2.1. I
would personally recommend specifying a vector or list of pairs instead.

On Mon, Feb 25, 2008 at 6:24 PM, Daniel Lipofsky <
[EMAIL PROTECTED]> wrote:

> I have got some WebServices that basically take and return
> Map<String,String> and List<String>.  I am wondering what is
> considered the best way to do this, especially for interoperability
> with both Java and .NET.  I don't have to use the Java collections
> (although it sure is convenient).  Previously we used WebMethods Glue
> which provided this for us, but I understand it was not great for
> interoperability.
>
> Thanks,
> Dan
>

Reply via email to