Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Incorrect NameSpace generates during runtime

SA-94265

Summary

Incorrect NameSpace generates during runtime. However, NameSpace in the XML Stream generates correctly. Service is unable to recognize the XML correctly which causes the validation error. Service has a parameter which is an XML Payload. The XML Payload generates and is correct as per the XML stream. It drops a couple of NameSpaces while invoking the SOAP Service with the XML Payload.


Error Messages

Not Applicable


Steps to Reproduce



Unknown

Root Cause



A defect in Pegasystems’ code or rules. The issue occurs as Factory uses incorrect parser com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl. This occurs due to the Third party library.

Resolution



Perform the following local-change:
Add the below JVM arguments:
  1. Djavax.xml.stream.XMLInputFactory=com.sun.xml.internal.stream.XMLInputFactoryImpl 
  2. Djavax.xml.stream.XMLOutputFactory=com.sun.xml.internal.stream.XMLOutputFactoryImpl

 

Published November 25, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us