users@jersey.java.net

[Jersey] Re: Documentation / Tutorial on using jersey-multipart

From: vmaroli <vinu.rm_at_gmail.com>
Date: Thu, 2 Dec 2010 14:05:28 -0800 (PST)

I am trying something similar, trying to send a JAXB object and and binary
content.

Note note = multiPart.getBodyParts().get(0).getEntityAs(Note.class);

The getEntityAs method is throwing error saying "MessageBobyReader" not
found. Where as ClientResponse.getEntiry is successfully parsing the
response into a Java Object. For multiPart...getEntityAs to work, is there
something special that need to be done ? I having problem on server and
client side. Please help


-- 
View this message in context: http://jersey.576304.n2.nabble.com/Documentation-Tutorial-on-using-jersey-multipart-tp1654871p5797833.html
Sent from the Jersey mailing list archive at Nabble.com.