You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Juan José Vázquez Delgado <ju...@gmail.com> on 2007/09/01 20:16:57 UTC

Binding collections to LinkedHashSet

Hi everyone,

I have a web service method with a signature like this:

Collection<SomeType> getCollectionOfSomeType();

In runtime, the collection that this web method returns is LinkedHashSet.
>From the client side, I´d like to invoke this web method and retrieve a
typed Collection as LinkedHashSet. Is it possible?. Maybe with a proper
annotation in "SomeType"?. My goal is iterate over a sorted java.util.Set.

My data binding framework is JAXB.

Thanks in advance.

Regards,

Juanjo.