Support Article
Error on saving out-of-the-box InvokeAxis2 and Invoke activities
SA-58823
Summary
Error occurs while saving the out-of-the-box InvokeAxis2 and Invoke activities which are called when Connect-SOAP is used.
Error Messages
1. ERROR in Rule_Obj_Activity_Rule_Connect_SOAP_InvokeAxis2_Action_20180514T093231_923_GMT.java (at line 723)
com.pega.apache.axis2.context.ConfigurationContext stsConfigContext = (com.pega.apache.axis2.context.ConfigurationContext)requestorPage.getObject("STSConfigContext");
com.pega.apache.axis2.context cannot be resolved to a type
2. ERROR in Rule_Obj_Activity_Rule_Connect_SOAP_InvokeAxis2_Action_20180514T093231_923_GMT.java (at line 723)
com.pega.apache.axis2.context.ConfigurationContext stsConfigContext = (com.pega.apache.axis2.context.ConfigurationContext)requestorPage.getObject("STSConfigContext");
com.pega.apache.axis2.context.ConfigurationContext cannot be resolved to a type
3. ERROR in Rule_Obj_Activity_Rule_Connect_SOAP_InvokeAxis2_Action_20180514T093231_923_GMT.java (at line 726)
com.pega.apache.rahas.TokenStorage store = com.pega.apache.rahas.TrustUtil.getTokenStore(stsConfigContext);
com.pega.apache.rahas cannot be resolved to a type
4. ERROR in Rule_Obj_Activity_Rule_Connect_SOAP_InvokeAxis2_Action_20180514T093231_923_GMT.java (at line 726)
com.pega.apache.rahas.TokenStorage store = com.pega.apache.rahas.TrustUtil.getTokenStore(stsConfigContext);
com.pega.apache.rahas.TrustUtil cannot be resolved to a type
5. ERROR in Rule_Obj_Activity_Rule_Connect_SOAP_InvokeAxis2_Action_20180514T093231_923_GMT.java (at line 729)
com.pega.apache.rahas.Token token = store.getToken(tokenIdVar);
com.pega.apache.rahas cannot be resolved to a type
Steps to Reproduce
- Launch the application
- Save InvokeAxis2 of type Rule-Connect-SOAP
- Run the flow. Connect-SOAP fails
Root Cause
The classes in the error message are not loaded to the server when verified from SMA > Advanced > ETier Runtime Environment. Hence, when invoked these classes results in a compilation error.
Resolution
Perform the following local-change:Load the praxis-.1.5 and prrampart1.5.1 to the server through Pega Import Wizard.
Published August 1, 2018 - 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.