You're trying to do dual channel non-blocking, right? Several things
here don't make sense to me here. Perhaps with some more info maybe we
can help:
1) You say you are using codegen with a hashMap - but there is no wsdl
type for java.util.HashMap .
2) CodeGen generates its own *CallbackHandler.java , right? The code
you are showing looks like its from the code gen stub. What you really
need to do, IMHO, is implement your
*CallbackHandler.java methods and invoke your Stub.start* (at least
using xmlbeans, probably the samething for ADB) methods that receive
the argument of *CallbackHandler .
HTH,
Robert
http://www.braziloutsource.com/
On 7/19/06, Marta García Rueda <[EMAIL PROTECTED]> wrote:
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]