File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes JAXB serialized via apache PostMethod to @Consumes( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "JAXB serialized via apache PostMethod to @Consumes("application/x-java-serialized-object")" Watch "JAXB serialized via apache PostMethod to @Consumes("application/x-java-serialized-object")" New topic
Author

JAXB serialized via apache PostMethod to @Consumes("application/x-java-serialized-object")

Jez Day
Greenhorn

Joined: Jan 09, 2009
Posts: 2
Hi,

I have a serializable JAXB object. I have a client that calls a web server. When I try a POST or PUT using XML in the body it's fine. But when I try and send the serialized JAXB object I see nothing:

Client:



Server:



Anyone know what I'm doing wrong?

Cheers,

Jez
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB serialized via apache PostMethod to @Consumes("application/x-java-serialized-object")