users@jax-rpc.java.net

RE: removing the host header

From: Kevin Jones <kevinj_at_develop.com>
Date: Fri, 29 Jul 2005 08:41:44 +0100

If you are using HTTP 1.1 then the Host header is mandatory, so removing it
is not an option.

You may be able to configure your intermediate server to change the header,
ISTR that some web servers will let you do this (Apache?),

Kevin Jones
http://kevinj.develop.com/weblog

> -----Original Message-----
> From: Matt Swensson [mailto:matman2k1_at_yahoo.com]
> Sent: 29 July 2005 08:33
> To: users_at_jax-rpc.dev.java.net
> Subject: removing the host header
>
> Is there a way to remove the Host header in the outgoing SOAP message
> (MIME Header).
>
> The reason is, I have placed my endpoint as a loadbalancer on the
> internal network that then forwards it to the correct place (secure
> connection). So my endpoint is a set IP address that is internal.
>
> Well, it appears jax-rpc is using the ip address I put in the endpoint
> for the host header as well...so I get something like this:
>
> Host: 10.1.1.1
>
> in the outgoing message. The server that recieves the message still
> seems to process it, but the third party involved (where the server
> resides) prefers the header contain their IP address (or hostname).
>
> any thoughts on how to accomplish this?
>
> so removal or changing the host header would be ideal.
>
> Thanks!
> Matt
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net