Question
Scope International
MY
Last activity: 28 Apr 2017 15:05 EDT
Failed to compile generated Java com.pegarules.generated.xml.ra_stream_pyanyns_pyanyname XML Stream Rule
While running a SOAP activity I'm receiving the following error which occurs during compilation of the XML Stream Rule:
Failed to compile generated Java com.pegarules.generated.xml.ra_stream_pyanyns_pyanyname_900794c86d705c917fb816ae876e6c42: ---------- 1. ERROR in /com/pegarules/generated/xml/ra_stream_pyanyns_pyanyname_900794c86d705c917fb816ae876e6c42.java (at line 71) public void execute() { ^^^^^^^^^ The code of method execute() is exceeding the 65535 bytes limit ---------- 1 problem (1 error) Compile failed. |
I understand that this happens because my Stream XML rule was taking more size. So I tried splitting the XML rule into 4 different rules. But still my Stream XML is only having 35 elements now.
So I wanted to know the following:-
1. What is the maximum number of elements that a XML rule may have so that it can compile successfully on Java side?
2. Is there any other workaround for this problem?
Thanks in advance.