+ Start a Discussion
aksmaksm 

Error: Script too large: //Generated by wsdl2apex

Hi,
 
I am trying to create an Apex class from WSDL. It parses the WSDL fine.
I got the following error message when I tried to generate the apex class,
 
Apex generation failed,
Error: ShipServiceWS
 
Error: Script too large: //Generated by wsdl2apex
 
Does that mean the WSDL file (193 KB) is too large in size?
How do I generate the class?
 
thanks
Sk
 
 
 
 
WilmerWilmer
Hi,

well, why don't you try splitting the code in smaller pieces (I suggest global classes and public methods) and then, call them from a main class.

Regards,

Wilmer
BDouglasBDouglas

Was there a solution that worked?  Can someone explain the steps taken for the solution?

 

Thanks