removing the host header

From: Matt Swensson <>
Date: Fri, 29 Jul 2005 00:33:01 -0700 (PDT)

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 I get something like this:


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.


Start your day with Yahoo! - make it your home page