did you try using a callback?
http://ws.apache.org/axis2/0_95/userguide3.htmland then with 
sendReceiveNonBlocking send the payload as 1st param and callback object as 2nd 
param e.g.
client.sendReceiveNonBlocking(payload, 
callback);Martin______________________________________________Disclaimer and 
confidentiality noteEverything in this e-mail and any attachments relates to 
the official business of Sender. This transmission is of a confidential nature 
and Sender does not endorse distribution to any party other than intended 
recipient. Sender does not necessarily endorse content contained within this 
transmission.


Date: Sun, 25 Nov 2007 22:21:19 +0100From: [EMAIL PROTECTED]: [EMAIL 
PROTECTED]: non/blocking dual in AXIS2 almost works, but hangs, why?Hi,I have 
been trying for several days to get the Axis2 blocking/nonblocking dual samples 
working with some success, except that when the client terminates (returns in 
main() ), theclient does not terminate, meaning that a thread is still active, 
blocking the termination of the java process. The request, response and the 
client listener executed OK (onComplete called).I have searched and tried 
various nonblocking samples, but either the samples are too old to compileor 
executes OK, but hangs. Does the non/blocking dual correctly execute?I am using 
tomcat 5.5, windows, and java 5.0Rick
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007

Reply via email to