Hi Todd,

Did you engage the addressing module in the server side ?. if not please
engage it and see the results.

if you have engaged addressing module and you still see the issue then
it is definitely an Axis2 bug. Someone should have broken something, so
please create a JIRA, (need to fix this ASAP)

Thanks.
Deepal
> 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
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to