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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.