Support Article

Issue with Connect-SOAP InvokeAxis2 rule not getting executed



User upgraded the application from PRPC 6.1 SP2 to Pega 7.2.1.

While running the application all connect-soap rules are failing because of the activity InvokeAxis2 not getting executed.

Error Messages

Issue1: Couldn't create OMElement from string value
at com.pegarules.generated.activity.ra_action_pzaddcustomheaderstosoapenvelope_f0941b4c146d3cacdd346f27c4791ea9.step1_circum0(
at com.pegarules.generated.activity.ra_action_pzaddcustomheaderstosoapenvelope_f0941b4c146d3cacdd346f27c4791ea9.perform(
Caused by: All the SOAP Header blocks should be namespace qualified
at com.pega.apache.axiom.soap.impl.llom.SOAPHeaderImpl.addHeaderBlock(

Issue2: SOAP service failed
at com.pegarules.generated.activity.ra_action_invokeaxis2_4054e98ba19df03aff55083d242bbf9d.step15_circum0(
at com.pegarules.generated.activity.ra_action_invokeaxis2_4054e98ba19df03aff55083d242bbf9d.perform(
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(
Caused by:
com.pega.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized
at com.pega.apache.axis2.transport.http.HTTPSender.handleResponse(
at com.pega.apache.axis2.transport.http.HTTPSender.sendViaPost(
at com.pega.apache.axis2.transport.http.HTTPSender.send(

Steps to Reproduce

1. Upgrade application from PRPC 6.1 SP2 to Pega 7.2.1.
2. Execute any Connect-SOAP rule.

Root Cause

Issue1: The soap header without namespace used to work earlier as there is a bug in praxiom library.

It is fixed now in the new axis stack and hence the exception. As per soap specification, every header should be namespace qualified.

Issue2: This issue was determined to be a product enhancement request as the current behavior is expected.


Refer the following PDN links to resolve the issue.

Issue1 is resolved using:
Issue2 is resolved using:

Published May 5, 2017 - Updated May 16, 2017

Have a question? Get answers now.

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