users@jax-rpc.java.net

removing the host header

From: Matt Swensson <matman2k1_at_yahoo.com>
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 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