You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Dilip Jain <di...@interinfosystems.com> on 2006/08/03 01:02:48 UTC

NonBlocking Client doesnot return in Callback.onComplete

Hi
I have a service which takes more than 60+ minutes to process.
I am usng NonBlocking client.
When i execute the client, i see the service being called which is on tomcat.
My client keeps on rotating in 
while (!callback.isComplete()) {
                Thread.sleep(1000);
            }



onComplete is never called

Callback callback = new Callback() {
                public void onComplete(AsyncResult result) {
    System.out.println(result.getResponseEnvelope().getBody());
}

What must be wrong for this
Please help

Thanks
Dilip Jain