Support Article

How to change 'Response Timeout of Connect-SOAP rule at runtime?

SA-6164

Summary



User would like to know if there is a way to change the response timeout for Connect-SOAP rule at runtime. They have many Connect-SOAP rules and they can use Data page to configure 'Service Endpoint URL'. For example, they can use =D_IntegrationSettings.EndpointURLs(WSDL_URL_EQ_WSCustomerSearchClientGBA12) as a value. However user was not finding the ways to use some DSS or Data page in 'Response Timeout' parameter, because they have a requirement to change this value dynamically.

Resolution



Changing the 'Response Timeout of Connect-SOAP rule at runtime is currently not supported by PRPC, however this can be achieved with the approach mentioned below;
 
Set the value dynamically in Step7 of Activity InvokeAxis2.The pySOAPTimeout property value is set in the below piece of code.

                 int timeout = myStepPage.getProperty("pySOAPTimeout").toInteger();

User can dynamically read the value and set it after saving this activity into their custom rule set.

User can achieve this by getting the value from the Clipboard and populate the pySoapTimeOut property in the Activity as mentioned above. To get the value from clipboard, user can use the below piece of code;
               Sample >>

               ClipboardPage cp = tools.findPage("OperatorID");
               String timeZone = cp.getString("pyDefaultTimeZone");
 
Enhancement request (FDBK-5102) has been submitted.

Published January 31, 2016 - Updated October 8, 2020

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.