Carl,

  At first, invokeOneWay() is not for a asynchronous
communication in exact meaning of the word. There're
three modes in JAX-RPC 1.0 specification.
 a) Synchronous Request-response Mode
 b) One-way RPC Mode
 c) Non-blocking RPC Invocation

  The a) is a synchronous method as the invoke(), and
the b) is just an one-way method as the invokeOneWay().
I think the c) is an asynchronous method what you want
to use.  But the spec says, "A JAX-RPC runtime system is
not required to support the non-blocking RPC interaction
mode.  This interaction mode will be addressed in the
future versions of the JAX-RPC specification."  Then,
it will be added in JAX-RPC version 2.0 (JSR-224).

--
Toshi <[EMAIL PROTECTED]>

On Wed, 15 Oct 2003, EXT / ALTIOR CABOU Carl (DR&T) wrote:

> Hi all !!
>
> Does anybody ever used the method :
> org.apache.axis.client.Call.invokeOneWay(Object[] params) ??!
> It is supposed to do an asynchronous call to the remote service, but the
> javadoc says "NOTE: the return immediately part isn't implemented yet".
> So what's the point ? does it mean that the method don't create an extra
> thread for the call just like simple "invoke" ??!!
>
> Best regards.
>
> Carl.
>

Reply via email to