On Mon, Sep 8, 2008 at 8:00 PM, Aseem Sharma <[EMAIL PROTECTED]>wrote:
> > I am developing asynchronous web services using Axis2 with XMLBeans > binding. > > 1)We are using this command to generate the client stubs > WSDL2Java -uri ABC.wsdl -d xmlbeans -a > > 2)When calling stub's startxyz() method through our Client Program for > asynchronous calling of our web service, the request is not going to server > side and it is not showing any client side exception. > > 3)But when we change _operationClient.execute(true); line in startxyz() > method of the client stub which was earlier > _operationClient.execute(false); > the request went to server side. > > Axis 1.4 version is used > > There is one solution to it. Putting "Thread.sleep(20000) after the > .startxx > method call" works fine. But i have to send hundreds of records > asynchronysly. If I write Thread.sleep(20000), It will take 20 seconds for > processing each request. I have to reduce this time as much as we can. Is > there any other way to overcome this problem? This is something to manage with you application logic. There is no need to keep a sleep for every request. but you have to keep the client alive until it sends all the messages. thanks, Amila. > > > > Thanks, > Aseem > > -- > View this message in context: > http://www.nabble.com/Asynchronous-web-services-using-Axis2-with-XMLBeans-binding-tp19373251p19373251.html > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Amila Suriarachchi, WSO2 Inc.
