It's not a secret anymore!*
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JAXB serialized via apache PostMethod to @Consumes("application/x-java-serialized-object")
 
Similar Threads
Streaming bytes to and from a servlet
Servlet Communication using java.net
Setting timeout in URLConnection
Communication between Servlet and Applet
very urgent...plz help