You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "S.E.Parkin" <S....@newcastle.ac.uk> on 2003/07/31 19:34:15 UTC
determining request return parameters
Hi
I was wondering if there is any particular way to determine what the return
parameters are for a client process's call to an Axis service after the call
has left the client process, as I would like to be able to determine whether
the client request is synchronous or asynchronous (i.e. not expecting a
response). I've got a client-side handler which re-directs the client call to
a provider Web service, and I've tried to use the getOperation() operation
with the MessageContext that is passed to the client-side handler, and the
same with the MessageContext that the provider service gets on the
server-side, and both return a 'null' object. I've also tried calling the
getReturnType() method within the Call object on the client-side, and have had
no luck there either. Are there any particular methods I should use to obtain
the return parameters or otherwise determine if the client is expecting a
response? Failing that, is there any particular way to process the request
SOAP Envelope, MessageContext, or even the HTTP message containing the client
call, in order to determine the 'synchronicity' of the original request?
Thanks,
Simon Parkin