Question

5
Replies
2377
Views
AlagarPandi Pandi (AlagarPandiP)
Scope International

Scope International
MY
AlagarPandiP Member since 2015 3 posts
Scope International
Posted: April 11, 2017
Last activity: April 28, 2017
Posted: 11 Apr 2017 7:25 EDT
Last activity: 28 Apr 2017 15:05 EDT
Closed

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.

Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.