axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Craig <m.s.cr...@rl.ac.uk>
Subject Getting service endpoint
Date Tue, 23 Nov 2004 16:25:02 GMT
Hi,

Is there a good way to get the endpoint URL of a service?

Currently we are using:

String url =
(String)MessageContext.getCurrentContext().getProperty("transport.url");
but this fails when the request has come through TCPmon. I have also
tried other possibilities, e.g.

MessageContext.getCurrentContext().getService().getServiceDesc().getEndpointURL();

But this (and similar methods) always return null.

Can anyone help?

Thanks,

Martin.



Mime
View raw message