Specifying a Web Service Connector Socket Timeout
While designing a web service connector, you can specify the timeout interval using the socket timeout property in an individual web service connector. The default value for socket timeout is null (no value). This value is
not overwritten by the
wsclient-timeout environment variable. For more information, see
Configuring wsclient-socketTimeout
at Run Time.
Specify a value in milliseconds to define the socket timeout. For example, 1 minute is 60000 milliseconds. If you specify an empty value, the system administrator cannot update the timeout value at runtime.
To specify the socket timeout for an individual web service connector
1. In the UI Development perspective, open a web or portlet application project, expand the WebContent folder, and open the view that uses the web services client in the editor.
2. In the Bindings view, click Show Expert Properties in the toolbar, expand the Managed Beans node, and expand the web service.
3. Click Socket Timeout.
4. In the Properties view, click the Data Binding tab.
5. In the Value field, either type a numerical timeout value using milliseconds, or define a binding expression that results in a timeout value.