Is there any way to interrupt a request/response call in the middle of the
invocation using MessageContext or other context specific objects?

In other words, I have an operation that will normally return a response to
the invoker, but in special cases, the operation on the server side will
shut down the container that the client invoking service exists in, thus
severing the connection (think of the server side as a "bootstrapper" of
sorts).  I'd like to have more control over this severance of the connection
by programmatically doing it myself.  Is it at all possible to close that
thread of communication between the invoker and service prematurely?

I have already tried doing the following

OutputStream os = (OutputStream)
MessageContext.getCurrentMessageContext().getProperty(MessageContext.TRANSPORT_OUT);
os.close ();

It closes the stream just fine, but the invoker still hangs on to the http
connection.  I also tried closing both the trasport out and the transport
in.  This just ended the invocation altogether, with the server side not
proceeding at all.

Thanks in advance.

-R. Lanman
-- 
View this message in context: 
http://www.nabble.com/Closing-response-stream-tp17217921p17217921.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to