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 auto initializes non-used value from Parse XML rule

SA-75288

Summary



Some tags in the Parse XML rule is auto initialized as blank. As a result, blank values are propagated as request to the SOAP service.


Error Messages



NullPointerException from the SOAP service.


Steps to Reproduce

  1. Configure a Connect SOAP method with a request that has three page lists
  2. Initialize the values for the second and third page lists
  3. Run the flow. The request other pages list is initialized with empty tags


Root Cause



Configuration issue in the XMLStream rules. 


Resolution

Perform the following local-change:

Enable the optional keyword in the XMLStream rule form.


 

 

Suggest Edit

Published August 15, 2019 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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