axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Huitang Li <>
Subject AxisCallback vs. the deprecated Callback
Date Fri, 05 Oct 2007 05:19:15 GMT

I created a web service client following Async/One Channel model using 
axis2-generated stub. In the stub code, AxisCallback interface is used.
For almost all tests, no soap message response is received before the 
client is finished. This is verified with the help of the excellent tool 

In AxisCallback, I did not see something like isComplete() to test 
whether a whole message is retrieved or not. So I had to replace the 
AxisCallback with the depreciated Callback, and then put the following 
code in the stub.

while (!callback.isComplete()) {

Does anyone have a better solution without having to use the deprecated API?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message