Hi
I am looking for option to set the timeout value of a consumed SOAP service method at runtime.
I am aware of the 'Timeout in Seconds' property on the method, but this doesn't accept a site property or other variable which can be set dynamically.
I found the extension 'EnhancedWebReferences', i think this can be used to set timeout value but not sure how. If someone can help me here highly appreciate it. Thanks in advance.
Hi Ashwathram N,
Use the Api httprequesthandler_api
https://success.outsystems.com/documentation/11/reference/outsystems_apis/httprequesthandler_api/
Set Request Timeout method
Check also this post
https://www.outsystems.com/forums/discussion/65302/setrequesttimeout/
Regards
Hi @Alexandre Yip
I am trying to test this feature, but i was told that using this action will work only for our exposed web services.
I am consuming the web service in my case, will the same work ?
Yes it will work
I tried the same but using HttpRequestHandler is not working, we still seeing 100s getting applied even if setRequestTimeout is set to 30, before the connection is timeout.
If I set the TimeoutInSeconds field under webservice method for the consumed SOAP wsdl, its working fine. However in this approach i can have a dynamic value allowing to configure timeout based on other criteria, hence looking for alternatives like HttpRequestHandler.