Hi Santoso,

I thinks you are making a mistake: asynchronous does not mean that the
return type is void!, it means that the client does not block while the
request is processed.
The return type should then be OMElement, and the callback object will
collect the result when this will be available.

Regards,
Michele

Santoso Nugroho wrote:
> Hi all,
> 
> I have an asynch service, which as I understand the operation method
> signature returns void.
> e.g. public void requestData(OMElement element) { ... }
> 
> On the client side, I call the service using
> ServiceClient.sendReceiveNonBlocking(payload, callback)
> and I also engage the Addressing module.
> 
> My question is, when requestData is processed, what is the code to
> return the result to the client's callback?
> Is it the same code as a client calling a service?
> fyi, I already have the ReplyTo address and the MessageID (from
> MessageContext).
> 
> 
> Thanks a lot,
> 
> Santoso
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to