Hi, I'm experimenting with asynchronous calls between an axis client and an axis server. The server is just the example1/MyService.java, slightly modified to add a delay of a minute before replying. The client is based on the EchoNonBlockingDualClient.java. I'm getting a Read timed out AxisFault after 30 seconds, which leads me to believe the client is leaving the channel open.
Here's some of the client code, with the options: Options options = new Options(); options.setTo(targetEPR); options.setAction("urn:echo"); options.setTransportInProtocol(Constants.TRANSPORT_HTTP); options.setUseSeparateListener(true); //Callback to handle the response BetterAxisCallback callback = new BetterAxisCallback(); //Non-Blocking Invocation sender = new ServiceClient(); sender.engageModule(Constants.MODULE_ADDRESSING); sender.setOptions(options); sender.sendReceiveNonBlocking(payload, callback); //Wait till the callback receives the response. while(!callback.isComplete()) { Thread.sleep(1000); } Shouldn't this wait indefinitely for a response on the separate listener? Thanks, Todd