Dynamic URL in Service Locator

2005-10-12 Thread Pujari, Ashish \(CONT\)
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


RE: Dynamic URL in Service Locator

2005-10-12 Thread Grossberger, Guenter
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
 


RE: Dynamic URL in Service Locator

2005-10-12 Thread Pujari, Ashish \(CONT\)

https://bpcatalog.dev.java.net/nonav/soa/client-url-binding/

I do not know if Axis inherently allows externalization of WS client
binding. But the above link provides some solutions.

cheers,
Ashish