INVOKEAXIS2 - Couldn't create OMElement from string value.
SummaryAfter upgradeing from PRPC 6.1 to pega 7.2, the user is running Connect-SOAP facing problem.
Error MessagesCouldn't create OMElement from string value"
Steps to Reproduce
- A Connect-SOAP Rule with Request Headers.
- Upgraded application from PRPC 6.1 on CPMHC 7.4 to pega 7.2 on CSHC 7.14.
- Post Upgrade Connect-SOAP is throwing "Couldn't create OMElement from string value" .
- InvokeAxis2 of Pega-IntegrationEngine:07-10-23 is failing at activity pzAddCustomHeadersToSoapEnvelope with error as - "Couldn't create OMElement from string value".
Root CauseThe 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.
ResolutionIn order to resolve the reported issue, request a valid namespace from the SOAP Service provider and use that in the custom header.
Published October 26, 2016 - Updated November 20, 2016