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

Service-SOAP fails to run with byte limit error

SA-17339

Summary



When a user runs a SOAP service, it fails with the compilation error on screen.


Error Messages



Failed to compile generated Java com.pegarules.generated.xml.ra_stream_pyanyns_pyanyname_7cb81bf81dae7e823d472bde0bec0b72: ----------
1. ERROR in /com/pegarules/generated/xml/ra_stream_pyanyns_pyanyname_7cb81bf81dae7e823d472bde0bec0b72.java (at line 72)
public void execute() {
^^^^^^^^^
The code of method execute() is exceeding the 65535 bytes limit


Steps to Reproduce



1) Run a SOAP service.


Root Cause



A defect or configuration issue in the operating environment.
One of the XML stream rule was taking more size which is a limitation at java end. Whenever method size exceeds 65535 bytes limit we see this kind of exception/error.


Resolution



Make the following change to the operating environment:

Split the large XML stream rules into two or more XML stream rules depends on requirement and then call using Apply-Rule mapping mode.

Suggest Edit

Published January 31, 2016 - 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