Support Article
Issue with parsing in document/literal content for SOAP service
SA-21618
Summary
User has created a SOAP service in Pega to handle document or literal content and manually created a ParseXML rule (without using XSD) that includes nested sequences and complex types. The SOAP service functions at a basic level, but does not handle multiple document instances in the supplied content.
Error Messages
Cannot find declaration of element "SendDocumentCallBackRequest"
Steps to Reproduce
- Create a Service Package.
- Create Service Soap, select Document/Literal.
- Manually create Parse rule to use in request tab and set the XML validation to always.
- Consider Pagelist property in the Parse rule.
Root Cause
The user had manually created a Parse XML rule without using auto/XSD of complex nesting types. The XSD validation was set to always and the schema as XSD and thus XSD validation was failing.
Resolution
Apply the following local change to resolves the issue:
Open the Parse XML rule, navigate to XML validation and update the Perform validation to 'never'.
Published May 14, 2016 - 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.