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

Parse XML referred in Service SOAP works incorrectly

SA-12398

Summary



In one application based on Pega 7.1.7, a Service SOAP is used to create work items. For this, XSD is imported to generate the Parse and Stream XML Rules and then the Service is generated. In the SOAP Service, a Parse XML Rule is referred in the Application work pool layer, which refers to (MapTo) another Parse Rule in the Int- layer where the actual mapping is defined.

However, when the Service is run, it does not pick up the Int- layer Parse Rule referenced from the Work layer Parse Rule.


Error Messages



ABC-FW-DemoBoxFW-Work-ReferralError Found: ABC-elt.1: Cannot find the declaration of element
'PersDemoPolicyInfoInqReq'

pxObjClass ABC-Int-DEMO-PersDemoPolicyInfoInqReq_Type


Steps to Reproduce



Setup Application and SOAP Service in Pega 7.1.7 as described and run the service.

Root Cause



Parsing XML Rule with an “Apply Rule” configuration in any of its nodes does not parse the XML.

Resolution



Create a Dynamic System Setting (DSS) named “switchtooldassembler” belonging to the Pega-IntegrationEngine ruleset and set its value to true.

Published July 28, 2015 - Updated October 8, 2020

Was this useful?

100% 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