You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Doug Davis <du...@us.ibm.com> on 2001/10/07 13:34:41 UTC

invoke one-way

In order to support invoke one-way we need have something
change  8-)  At first I thought that it would need to be
something in the Axis engine - just call invoke and don't
wait for a reply - but of course that won't work.  In
order for that to work we would  need multiple
threads (which won't work for all environments).  So we need
to have the transport sender handle the "one-way"ness itself.
I came to the conclusion that since we really have no
control over the transport senders the best we can do is
set a flag in the MessageContext and hope that the transport
sender handler will look for it and, if set, will send the
request but not wait for a response.  I'm not thrilled with
putting the responsibility on someone else, but I can't think
of anything else right now.  Any other ideas?
-Dug