Support Article
SOAP Connections do not work post Pega 8.2.1 upgrade
SA-86330
Summary
After Pega 8.2.1 upgrade, all the SOAP Connections do not work.
Error Messages
Couldn't create OMElement from string value
...
Caused by: java.lang.ClassCastException: com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with com.ctc.wstx.stax.WstxInputFactory
Steps to Reproduce
- Create a SOAP Integration in Pega 7.2.2.
- Upgrade Pega 7.2.2 to Pega 8.2.1.
- Exeucte the SOAP Integration.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change:
Comment out the below three lines in Step 13 of InvokeAxis2 activity: // com.ctc.wstx.stax.WstxInputFactory wInputFactory = (com.ctc.wstx.stax.WstxInputFactory)inputFactory;
// wInputFactory.getConfig().setConfigFlag(1);
//javax.xml.stream.XMLStreamReader streamReader = wInputFactory.createXMLStreamReader(stringReader);
Add the below line:
javax.xml.stream.XMLStreamReader streamReader = inputFactory.createXMLStreamReader(stringReader);
Alternativiely, update to Pega Platform 8.2.2.
Published August 15, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.