cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service Timeout

Former Member
0 Kudos

Hello experts,

I have created a web service based on a SAP function module. It's working fine, but for specific data the function requires to run for some minutes. When called within SAP GUI that's no problem, but when called via Web Service we get a timeout after about 1 minute.

How can I increase this maximum timeout value for Web Service calls?

Thanks in advance for your help!

Kind regards, Matthias

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Check parameters *icm/server_port_<xx> *

In my CRM system, I have setup :

icm/server_port_0 = PROT=HTTP,PORT=80,TIMEOUT=90,PROCTIMEOUT=600

The PROCTIMEOUT is the one interesting for you.

I have set up it to 600 seconds to get the same timeout as with the sapgui.

Check also rdisp/plugin_auto_logout but it is more useful for the webui than for web services.

Regards,

Olivier

Former Member
0 Kudos

Hi Oliver,

thanks for your quick reply. We have already tried your suggestion.

But unfortunately that did not helped with this issue

Kind regards, Matthias

Former Member
0 Kudos

Hallo Matthias,

Did you resolve the issue ? Am also facing the same .Please help us how did you resolve the issue.

Thanks

Jayapal

Former Member
0 Kudos

Hi Jayapal,

yes I did solve this issue. Actually I had to set the timeout parameter as described above. But additionally our we had to set the timeout also on the client side. That did the trick for us.

Kind regards, Matthias

Former Member
0 Kudos

>

> Hi Jayapal,

>

> yes I did solve this issue. Actually I had to set the timeout parameter as described above. But additionally our we had to set the timeout also on the client side. That did the trick for us.

>

> Kind regards, Matthias

... and sometimes on certain proxies inbetween.