cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bimargul...@gmail.com>
Subject Re: best practices for Map and List in webservices
Date Mon, 25 Feb 2008 23:48:21 GMT
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 <
Daniel.Lipofsky@bricsnet.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message