cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anand sridhar <>
Subject Question on Posting a List<ComplexDatatype> in a JAX-RS service
Date Tue, 22 Jun 2010 23:58:00 GMT
Im using CXF 2.2.9 to develop RESTful services and I have a couple of
questions on exposing a service that accepts a collection.

1, my method accepts a List<Attribute> object as argument.
     is a custom object with an id and value as

I have annotated my method with @POST since the List is going to be posted.

Now, i want to tell my clients who consume this service on how to send the
request. Is there any standard way in which they can send over the data.
More specifically, Im interested in knowing if there is any standard way in
which a client send over this list.

I have read that CXF provides support for List<String>, but is there any
support for List<CustomDataType> as well. ?

Thank you.

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