On Fri, 2010-10-15 at 12:11 -0400, Nation, Carey wrote: > I'm sure this is obvious and I'm sure I just didn't ask google the > proper question, but I'm stumped. > > > > I need to post a big blob of xml to a servlet. The xml needs to be in > the request body. In 3.x you said something like req.setBody( string). > I can't find anything like that in 4.x. I just need it to end up: > > > > Content-type: text/xml > > Content-length: yourLengthHere > > > > <xml /> > > > > Thanks! >
Please take a look at http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.html#d4e164 Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
