For versions 5 and 5.1, the timeout should be set during
development using WebSphere® Studio Application Developer, Rational®
Application Developer, or post-development using ASTK. The following URLs
contain instructions on how to modify the SyncTimeout property (Step 10 in
the instructions) using this approach:
V5.0
http://publib.boulder.ibm.com/infocenter/wasinfo/v5r0/topic/
com.ibm.websphere.base.doc/info/aes/ae/twbs_configibmclientdd.html
V5.1
http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1/topic/
com.ibm.websphere.base.doc/info/aes/ae/twbs_configibmclientdd.html
V6.0
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/
com.ibm.websphere.base.doc/info/aes/ae/twbs_configibmclientdd.html
In V6, you have the option of modifying the SyncTimeout property
through the Administrative Console or through wsadmin after the
application has been deployed. You can still set the timeout in the
tooling, but this gives the Administrator the flexibility of changing the
value without having to edit the EAR file:
Administrative Console V6.0
1) Select Applications -> Enterprise Applications ->
<APP_NAME> -> Web Modules -> <WS_WEB_MODULE> -> Web
Services Client Bindings
2) Click "Edit..." under Port Information
3) From this page, you can set the Request Timeout (SyncTimeout) to any
value in seconds
4) Click OK and Save changes
Note: Saving the changes restarts the application
Wsadmin v6.0
1) Start Wsadmin and issue the following commands:
wsadmin>$AdminApp edit <APP_NAME> {-WebServicesClientBindPortInfo
{{<MODULE_NAME> <EJB_MODULE_NAME> <SERVICE_NAME>
<PORT_NAME> <TIMEOUT_VALUE>}}}
wsadmin>$AdminConfig save
Note: If you are using a web client, you can omit the
<EJB_MODULE_NAME> parameter by passing {} in its place.
For more information on using Wsadmin, see the link below:
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/
com.ibm.websphere.nd.doc/info/ae/ae/rxml_commandline.html
|