aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Sending HTTP PUT Body Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Sending HTTP PUT Body" Watch "Sending HTTP PUT Body" New topic
Author

Sending HTTP PUT Body

Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

I am using the following code to send the HTTP PUT request to my WebService created using CXF and running on Tomcat:



Can somebody tell me how can send the following xml document as the body of this PUT request:




Java Experience
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Sending HTTP PUT Body
 
Similar Threads
Problem getting output using CXF & Spring
writing to a http server using java
POST/PUT using CXF REST web service
How to submit POST request without an input variable
REST service accepting XML data