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.


Reply via email to