Hi, I´m doing an asynchronous client for a web services
with the Code Generator Tool and my stub class it´s like that: _operationClient.getOptions().setUseSeparateListener(true); _operationClient.getOptions().setTransportInProtocol(org.apache.axis2.Constants.TRANSPORT_HTTP); org.apache.axis2.util.CallbackReceiver
_callbackReceiver = null; if (_operations[0].getMessageReceiver() == null &&
_operationClient.getOptions().isUseSeparateListener()) { _callbackReceiver = new
org.apache.axis2.util.CallbackReceiver(); _operations[0].setMessageReceiver(_callbackReceiver); } _operationClient.execute(false); When I debug this I see that the object callbackReceiver
has the result in a hashMap callbackStore. But I don´t know how to retrieve the
result. I have to implement a Listener o something like that? Could you tell me
where can I find an example? Thank you very much. Marta García. |
- [Axis2] Non-blocking dual client Marta García Rueda
- Re: [Axis2] Non-blocking dual client robert lazarski
- RE: [Axis2] Non-blocking dual client Marta García Rueda
- Re: [Axis2] Non-blocking dual client Eran Chinthaka
- RE: [Axis2] Non-blocking dual client Marta García Rueda
- Re: [Axis2] Non-blocking dual cl... robert lazarski