RE: Accessing jaxws:client address in application.

2009-08-19 Thread Bruno Melloni
jaxws:client address in application. If an application declares a client in the context like: jaxws:client address=http://myHost:8080/MyWebSvcApp/MySvc; serviceClass=myPackage.MyInterface / In the application Java code I get an object of type MyInterface with the methods I want to call. Easy. Love

Re: Accessing jaxws:client address in application.

2009-08-19 Thread Daniel Kulp
Most likely, you would need to do: Client client = ClientProxy.getClient(proxy); client.getEndpoint().getEndpointInfo().getAddress(); That should retrieve the address that is being used. Dan On Tue August 18 2009 10:05:05 am Bruno Melloni wrote: If an application declares a client in

Accessing jaxws:client address in application.

2009-08-18 Thread Bruno Melloni
If an application declares a client in the context like: jaxws:client address=http://myHost:8080/MyWebSvcApp/MySvc; serviceClass=myPackage.MyInterface / In the application Java code I get an object of type MyInterface with the methods I want to call. Easy. Love it. I have an application