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

Connect-SOAP throws exception when attribute size exceeds limit

SA-54359

Summary



Exception occurs in Connect-SOAP while mapping response to an attribute when SOAP Service returns an attribute with content size greater than 512 KB. The property, Parse XML rule to which data maps is an attribute. The external SOAP service returns the content of a file as an attribute in the Response body. 


Error Messages



com.pega.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException: Maximum attribute size (524288) exceeded at [row,col {unknown-source}]: [1,897915]


Steps to Reproduce

  1. Create a Connect-SOAP
  2. Add a property as an attribute in the Parse XML rule
  3. Map the response returned by a SOAP Service to the attribute 
  4. Exception occurs while parsing the response when the size of the attribute content is greater than 512 KB


Root Cause



A defect in Pegasystems’ code or rules.

Resolution

Perform the following local-change:

  1. Back-up PR_ENGINECLASSES table
  2. Execute the below SQL query to delete the classes related to webservices-rt.jar from the PR_ENGINECLASSES table  delete from v721smrules.pr_engineclasses where pzjar like '%webservices-rt.jar%';
  3. Apply HFix-28742
  4. Restart the Pega Application Server nodes

Published November 29, 2018 - Updated October 8, 2020

Was this useful?

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