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;
ClipboardPage cp = tools.findPage("OperatorID");
String timeZone = cp.getString("pyDefaultTimeZone");
Enhancement request (FDBK-5102) has been submitted.
0% found this useful