Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 12155 invoked from network); 8 Sep 2004 19:28:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Sep 2004 19:28:05 -0000 Received: (qmail 71746 invoked by uid 500); 8 Sep 2004 19:27:52 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 71724 invoked by uid 500); 8 Sep 2004 19:27:52 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 71699 invoked by uid 99); 8 Sep 2004 19:27:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of callapm@gmail.com designates 64.233.170.200 as permitted sender) Received: from [64.233.170.200] (HELO mproxy.gmail.com) (64.233.170.200) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Sep 2004 12:27:48 -0700 Received: by mproxy.gmail.com with SMTP id 79so417351rnk for ; Wed, 08 Sep 2004 12:27:46 -0700 (PDT) Received: by 10.38.82.8 with SMTP id f8mr2965511rnb; Wed, 08 Sep 2004 12:27:46 -0700 (PDT) Received: by 10.38.209.9 with HTTP; Wed, 8 Sep 2004 12:27:46 -0700 (PDT) Message-ID: Date: Wed, 8 Sep 2004 15:27:46 -0400 From: Paul Callahan Reply-To: Paul Callahan To: axis-user@ws.apache.org Subject: Re: changing HTTP header values from Axis In-Reply-To: <83F1FB020F197B409FDCC3788593D0E4C4CE42@corpex01.wrcorp.worldres.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <83F1FB020F197B409FDCC3788593D0E4C4CE42@corpex01.wrcorp.worldres.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 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: ravi@opensource.lk [mailto:ravi@opensource.lk] > Sent: Tuesday, September 07, 2004 9:44 PM > To: axis-user@ws.apache.org > 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 > > > >