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:[EMAIL PROTECTED] 
> 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
> 

Reply via email to