cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From priya <>
Subject Best way to send and receive a document from a resource method in rest based webservice
Date Thu, 19 Jun 2014 08:32:24 GMT

I am developing a rest based webservice where I need to be able to send and
receive documents from a resource method. My resource method looks like

	public ResultType generateDocument(DocumentParameters documentParameters);

I have attached ResultType and DocumentParameters classes (which are
generated by JAXB) for reference.

I am not sure if this is the correct way of doing it. I have a feeling that
using multipart support could be a better way of doing it. But I am not sure
how to use it. Please let me know how I can use multipart here and if it is
really needed.

Thanks a lot,

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message