axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grossberger, Guenter" <Guenter.Grossber...@softwareag.com>
Subject RE: Dynamic URL in Service Locator
Date Wed, 12 Oct 2005 17:48:25 GMT
The service locator has a fixed URL but you can specify a URL in the get
method of the service:

MyService service = new MyServiceLocator();
MyPortType proxy = service.getGPLAArchiv(targetURL);


Best regards,
Guenter
 

> -----Original Message-----
> From: Pujari, Ashish (CONT) [mailto:Ashish.Pujari@capitalone.com] 
> Sent: Wednesday, October 12, 2005 5:33 PM
> To: axis-user@ws.apache.org
> Subject: Dynamic URL in Service Locator
> 
> A Web Services client in a production environment will 
> require to point
> to different WSDL URL locations based on a application configuration
> file. However, the WSDL2Java generated ServiceLocator has a hardcoded
> URL and is stored in a jar. 
> 
> Is there any Axis feature that allows a client side URL configuration
> file ?
> 
> Thanks,
> Ashish
> 

Mime
View raw message