Thursday, February 11, 2010

Axis2 - set timeout

There are two methods in eclipse :

1. For Class Stub
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);

2. For Class RPCServiceClient
Options options = serviceClient.getOptions();
options.setTimeOutInMilliSeconds(30000000);

No comments:

Post a Comment