SocketTimeout Exception while calling a Web Service from EJB
I am consuming a Web Service defined from the WSDL received from a PI system
in a Stateless EJB.
The input of the Service can be a range of records 100 - 10,000, with a furture plan to exceed the range as 100 - 15,000.
The Web Service Call goes perfect with 100 - 3500 number of records.
As the number of records exceed 3500, we started getting the following exception:
Service call exception; nested exception is: java.net.SocketTimeoutException: Read timed out
Along with a call happenning to the PI system after some seconds.
Referring to various help.sap.com pages, I came across the following code snippet:
This thing works great!!!, and now we have set the the socketTimeout proggramatically to a satisfactory level which supports the current requirement.
I would like to know, if we can tune some Visual Administrator Parameter for this, instead of maintaining the "Socket TimeOut" in the code.
Any help will be appreciated.