This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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