Support Article

INVOKEAXIS2 - Couldn't create OMElement from string value.



After upgradeing  from PRPC 6.1  to pega 7.2, the user is running Connect-SOAP facing problem.

Error Messages

Couldn't create OMElement from string value"

Steps to Reproduce

  1. A Connect-SOAP Rule with Request Headers.
  2. Upgraded application from PRPC 6.1 on CPMHC 7.4 to  pega 7.2 on CSHC 7.14.
  3. Post Upgrade Connect-SOAP is throwing "Couldn't create OMElement from string value" .
  4. InvokeAxis2 of Pega-IntegrationEngine:07-10-23 is failing at activity pzAddCustomHeadersToSoapEnvelope with error as - "Couldn't create OMElement from string value".

Root Cause

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.


In 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

50% found this useful

Have a question? Get answers now.

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