on 01-24-2008 12:03 PM
Hi Experts,
I'm Developing a View.In that i Called a Web Service and Response of that Web Service is coming nearly after 2 Minutes.But our WebDynpro (Java) Application is waiting 1 Minute for Web Service Response and after that it is giving
Error Message of " Read Timed Out ".
So Can any one Help me how to Sleep a Web Service after Web Service Call Until the Response of the Web Service Coming.
With Regards,
RooP KumaR.
Hi Roop,
Check this SAP help [Here|http://help.sap.com/saphelp_nw04/helpdata/en/04/d2c60e78814516afe7811829f02725/content.htm]
Regards, Suresh KB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh,
Thanks for Your Reply. I watched the Link that You have sent. It guided that " settings can be configured in the Logical Port editor in the SAP NetWeaver Developer Studio ".
But i'm unable to found where Logical Port editor located in
NWDS 2004.Can you explain briefly where it is ?
Thanks In Advance.
With Regards,
RooP KumaR.
Hi Roopkumar,
Use this code for ur problem
Request_SendEmail requestMO = new Request_SendEmail(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);
}
});
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
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.