Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

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



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.


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

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us