[Axis2] Setting hostname in axis2.xml ????

2009-04-07 Thread Raghu Upadhyayula
Hi, I'm using Axis2 1.4 version. I have to set the hostname in axis2.xml so that the soap:address location in the WSDL (when user types ?wsdl) uses that hostname instead of showing a IP address. The problem I have is that my webservices war file is deployed on multiple servers and I can't

Re: [Axis2] Setting hostname in axis2.xml ????

2009-04-07 Thread Sagara Gunathunga
Hi Raghu , You can use same "hostname" parameter programatically either in service level or module level . one possible approach is given below . 1. Implement the "ServiceLifeCycle" interface within your service class or as a separate class . 2. set the value to "hostname" parameter within th

RE: [Axis2] Setting hostname in axis2.xml ????

2009-04-07 Thread Raghu Upadhyayula
, 2009 2:36 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Setting hostname in axis2.xml Hi Raghu , You can use same "hostname" parameter programatically either in service level or module level . one possible approach is given below . 1. Implement the "ServiceLifeCycl

RE: [Axis2] Setting hostname in axis2.xml ???? - NOT WORKING

2009-04-09 Thread Raghu Upadhyayula
, 2009 2:36 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Setting hostname in axis2.xml Hi Raghu , You can use same "hostname" parameter programatically either in service level or module level . one possible approach is given below . 1. Implement the "ServiceLifeCycl

Re: [Axis2] Setting hostname in axis2.xml ???? - NOT WORKING

2009-04-09 Thread Sagara Gunathunga
od & the control never > stopped at the debug point. > > Thanks > Raghu > > -Original Message- > From: Sagara Gunathunga [mailto:sagara.gunathu...@gmail.com] > Sent: Tuesday, April 07, 2009 2:36 PM > To: axis-user@ws.apache.org > Subject: Re: [Axis2] Setting h

RE: [Axis2] Setting hostname in axis2.xml ???? - NOT WORKING

2009-04-09 Thread Raghu Upadhyayula
Hi Sagara, Attached is my skeleton class & service.xml files. Thanks Raghu -Original Message- From: Sagara Gunathunga [mailto:sagara.gunathu...@gmail.com] Sent: Thursday, April 09, 2009 1:37 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Setting hostname in axis2

Re: [Axis2] Setting hostname in axis2.xml ???? - NOT WORKING

2009-04-09 Thread Sagara Gunathunga
s my skeleton class & service.xml files. > > Thanks > Raghu > > -Original Message- > From: Sagara Gunathunga [mailto:sagara.gunathu...@gmail.com] > Sent: Thursday, April 09, 2009 1:37 PM > To: axis-user@ws.apache.org > Subject: Re: [Axis2] Setting hostname in axis2.x

RE: [Axis2] Setting hostname in axis2.xml ???? - NOT WORKING

2009-04-10 Thread Raghu Upadhyayula
56 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Setting hostname in axis2.xml - NOT WORKING Hi Raghu, You have missed 3rd step that i mentioned, you should add "class" parameter to your service.xml file as follows. Hope this will resolve your problem. Thanks , On Fri, Apr 10

RE: [Axis2] Setting hostname in axis2.xml ????` - WORKS NOW --- THANKS

2009-04-11 Thread Raghu Upadhyayula
       Attached is my skeleton class & service.xml files. > > Thanks > Raghu > > -Original Message- > From: Sagara Gunathunga [mailto:sagara.gunathu...@gmail.com] > Sent: Thursday, April 09, 2009 1:37 PM > To: axis-user@ws.apache.org > Subject: Re: [Axis2