While trying to Generate MetadataService classes using the standard Metadata API WSDL from Salesforce, classes I got below error. I think it is related to the length of the Apex class as the lines of code in MetadataService
class are more than 13K.
I downloaded the WSDL file from Setup -> API -> Generate Metadata WSDL
Error: Script too large: public class MetadataService { public class ReportTypeColumnTranslation { public Strin... at 3:14