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 Connect-SOAP WSDL, Cannot find declaration of element



Running Pega 7.1.7, the user tried to re-import WSDL 2.0, but the Parse XML rule was not created properly because its properties that are referenced were not created by the Import wizard. (Apparently, the user's application used WSDL 1.0 originally.) The user's WSDL 2.0 has only one (1) new element added to the SOAP call, which directly modified the old Parse XML definition by adding the new element of WSDL 2.0 and other reference rules were modified. As a result, when the application parses the data using the XML in the Connect-SOAP call, the SOAP call is made and the response is also coming from the from server. However, when the user tries to open the SOAP response page, the errors are thrown.

Error Messages

Clipboard Viewer error
Thread Lock Message
InvalidParameter cannot be null aValue

Properties on Page TraceEvent [pyTempDataPage]
Error Found: Cannot find the declaration of element <element_name>.

Steps to Reproduce

1. Modify the existing Connect-SOAP rule using the new WSDL 2.0 provided by Service provider.
2. Create a new Parse XML rule by adding the new field as specified in WSDL.
3. After the SOAP call is processed using an activity, see the errors..

Root Cause

An issue in the custom application code or rules

Earlier Pega versions use a default value for Parse XML Perform Validation as Never.
Starting with Pega 7, the default value for Parse XML Perform Validation is set to Always.


Perform the following local-change:
In the Parse XML rule, the XML tab, the Validation section, set Perform Validation to Never.

Published July 10, 2017 - 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