This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Consider Paul's rocket mass heater.
 
subject: Sending HTTP PUT Body
 
Similar Threads
writing to a http server using java
How to submit POST request without an input variable
REST service accepting XML data
Problem getting output using CXF & Spring
POST/PUT using CXF REST web service