on 06-22-2006 1:47 PM
Hi Experts,
I am getting "SocketTimeoutException: Read timed out" Exception while calling XI Webservice from Webdynpro. The XI server is taking some time at Backend to process the request and send reply to webdynpro in the mean time on the browser i am getting exception "Service call exception; nested exception is: java.net.SocketTimeoutException: Read timed out".
I don't see any Error in processing request at XI side.
I have to make Webdynpro application to wait for reply from XI Server.If the response is taking more then 60 seconds then Connection timeout error is displaying.
How to make my webdynpro application to wait for 120 or 180 seconds to get reply from XI server.
Thanks a Lot
- Madhan
Hi,
This error message are you getting while in debug mode?.
To make webdynpro application wait for 120 or 180 seconds to get reply from XI server:
Include below code after calling XI Webservice
//wait for 25ms.This waits for 25 milliseconds.
Thread.sleep(25);
-lena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check this thread:
Use this code:
Request_NumberToWords requestMO = new Request_NumberToWords(model);
requestMO.wdSetInvocationModifier(
new IWDWSInvocationModifier() {
public void doModifyInvocation(Object port) {
HTTPControlInterface httpItf = HTTPControlFactory.getInterface(port);
//timeout for this WS invocation is 120 sec; don't use global config. setting of WS-Runtime
httpItf.setSocketTimeout(120000);
}
public void doModifyAfterInvocation() {}
}
);
Best regards.
In the application properties, add a property ExpirationTime and set it to a value you want in seconds. -1 means for ever.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.