Not sure I understand the question - but if I do it's just:
invoke(MessageContext messageContext) { EndpointReference ref = null; if (messageContext.getFLOW() == MessageContext.IN_FLOW) { ref = messageContext.getTo(); } else if (messageContext.getFLOW() == MessageContext.OUT_FLOW) { ref = messageContext.getFrom(); } } HTH, Robert http://www.braziloutsource.com/ On 6/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello, I need to register a suite of Axis2 web services each time they are deployed (i.e., each time the Axis2 web app starts up) with an external registration service. It appears that the Module interface engageNotify() provides the ability to take this action at the appropriate time, but I haven't found the hook yet that will allow me to determine the URL of the current service at runtime. I've looked a bit at the definition argument of the engageNotify() function, but that appears to provide the stale service endpoint data from the services.xml. Assistance greatly appreciated. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]