Thanks Paul. I will put my question in another way. I want to set a value to an HTTP Header in the Request made by the WSDL2JAVA generated client. Also if anyone knows how to set a new HTTPHeader. Does anyone know how to do this?
-----Original Message----- From: Paul Callahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 12:28 PM To: [EMAIL PROTECTED] Subject: Re: changing HTTP header values from Axis Take a look at the generated service factory... There should be a getService method that takes a string--which will give you the ability to send to a different endpoint. -pc On Wed, 8 Sep 2004 09:25:35 -0700, Samir Shaikh <[EMAIL PROTECTED]> wrote: > Hi, > > I have a (axis generated WSDL2JAVA) java client that is calling a webservice. The > default string that the client is populating the Host field with is the remote > server's name, I want to change that to something else. > > Please help. > > Thanks, > Samir > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 07, 2004 9:44 PM > To: [EMAIL PROTECTED] > Subject: Re: changing HTTP header values from Axis > > If you are using a servlet you can do this by setting HTTP headers. > > Ravi > > > Hi, > > > > I am wanting to change the value of the HTTP Header Host. Does anyone > > know how to do this? > > > > Thanks in advance for any help! > > > > Best regards, > > Samir > > > >