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 Aseem Sharma <as...@yahoo.co.in> on 2008/09/08 16:17:15 UTC

Re: wsdl2java ... _operationClient.execute



Amila Suriarachchi wrote:
> 
> On Tue, Aug 5, 2008 at 4:05 PM, axis-user <ke...@gmail.com> wrote:
> 
>>
>> 2)We are using this command to generate the client stubs
>> WSDL2Java -uri DDP.wsdl  -d xmlbeans
>>
>> 3)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.
>>
>> 4)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
>>
>> Not able to figure out where we went wrong?
> 
> 
> this is because your client dies before axis2 able to send the request.
> Try
> putting a Thread.sleep(20000) after the .startxx method call.
> 
> thanks,
> Amila.
> 
>>
>> --
>> View this message in context:
>> http://www.nabble.com/wsdl2java-...-_operationClient.execute-tp18828514p18828514.html
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
> 
> 
> -- 
> Amila Suriarachchi,
> WSO2 Inc.
> 
> 

-----------------------------------------------------------------------
I am also facing the same problem. 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? 


Thanks,
Aseem

-- 
View this message in context: http://www.nabble.com/wsdl2java-...-_operationClient.execute-tp18828514p19373003.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org