Is it a JAXWS or JAXRS service you're referring to ?

Cheers, Sergey


Hello.

In my webservice I would like to be able to accept a list of different types
of objects. So the client would send a list of different objects and the
server would then be able to see which object is which. I understand that JAXB does not handle interfaces. Is there maybe another
way to get this working if it is at all possible?
To clearify, I imagine something like:

<object-type-one>
              <prop-one>...</prop-one>
</object-type-one>
<object-type-two>
              <prop-two-one>...</prop-two-one>
              <prop-two-two>...</prop-two-two>
</object-type-two>

and then both objects would maybe extend or implement something. Probably a
little vague but hope you understand what I mean :-)

Greetz,

Ronald
--
View this message in context: 
http://www.nabble.com/Different-object-types-in-list-tp20768640p20768640.html
Sent from the cxf-user mailing list archive at Nabble.com.



Reply via email to