On Mon, Jan 23, 2012 at 3:58 AM, Oleg Kalnichevski <[email protected]> wrote:

> On Mon, 2012-01-23 at 11:09 +0100, Joan Balaguero wrote:
> > Hi Oleg,
> >
> >
> >
> > Is it possible with HttpClient to send “raw” http requests?
> >
>
> no, it is not.
>
> Oleg
>
> >
> >
> > We have a new requeriment where an user can enter the following http
> request
> > in a text area:
> >
> >
> >
> > POST http://www.server.com/webservice HTTP/1.1
> > <http://www.server.com/webservice%20HTTP/1.1>
> >
> > Content-Length: 243
> >
> >
> >
> > <?xml  version ……………………>
> >
> >
> >
> >
> >
> > It’s not necessary to parse this request, just send it directly.
> >
> >
> >
> > Can I do this with HttpClient?
>

Hi Joan -
  How about sending the raw format over tcp to the destination port /
service (with the right encoding , Content-Encoding: header field ) ?

--
  Karthik.

Reply via email to