In reading the documentation for JAX-RS it says "By default, CXF supports
String, byte[], InputStream, Reader, File ...". I'm trying to create a
service that will accept a file upload using the following signature:
@POST
@Path("/upload/")
@Consumes("application/octet-stream")
public Response up
back, with the same type involved.
>
> Can you please provide few more details.
> What are ContentType and Accept values ?
>
> Thanks, Sergey
>
> -Original Message-
> From: adam.galloway [mailto:adam.gallo...@scala.com]
> Sent: 24 February 2009 19:04
> T
I have a JAX-RS service with create and update methods that return data
objects rather than a JAX-RS Response object.
I am using the 2.2-SNAPSHOT and as of recently I get an error from my POST
and PUT methods
@Path("my-service")
public class MyService {
@WebMethod
@POST
@Path("/detail/")
@Consu
I have a JAX-RS service that Consumes json which maps to a POJO with JAXB.
I'm having a hard time finding out how to tell wether a particular field has
been sent in with a null value or whether the value of the field was left
out of the incoming json.
The basic idea is that I have a pojo defined