dev@jax-ws.java.net

In OUT Bound of a Jaxws provider, how can we stop the provider invoking its endpoint and send a response back?

From: inalasuresh <inalasuresh_at_care2.com>
Date: Fri, 22 Jan 2010 06:26:50 -0800 (PST)

Hi One & All

While we are working on Delegate(provider) for JAXWS client handler in
Weblogic10 , we have some technical issues and need some assistance.

Problem Description

In OUTBound of a provider, how can we stop the provider invoking its
endpoint and send a response back?

Example:
I have a provider with some handlers configured for both IN and OUT flows.
When the Jaxws provider is making a request, the OUTBound Handler gets
invoked and in this Handler I would like to stop invoking actual endpoint
and send back my own response. That means I should be able to tell the
Handler chain to stop further processing of this flow, set a response
message into message exchange and invoke the IN flow. How do I do that?

This kind of mediation/interception is possible in standard specifications
like JAX-WS, Servlets etc… wondering if Weblogic10 JAXWS provides any sort
of this kind.

Also we would like to know who is invoking a provider endpoint in JAXWS
stack in weblogic10? Is it an OUTBound handler at the end of handler chain
or some other transport component after the handler chain?

Thanks in Advance
    Suresh
-- 
View this message in context: http://old.nabble.com/In-OUT-Bound-of-a-Jaxws-provider%2C-how-can-we-stop-the-provider-invoking-its-endpoint-and-send-a-response-back--tp27273954p27273954.html
Sent from the JAX-WS Development mailing list archive at Nabble.com.