4

am trying to generate classes from WSDL and I get this error:

Error: Compile Error: Method does not exist or incorrect signature: WebServiceCallout.invoke(cornerstoneClientdataservice.ClientDataServiceSoap, cornerstoneClientdataservice.SetOuLocal_element, Map, List) at line 137 column 13

The strange thing about this is that it worked in Sandbox and when I tried the same in my dev instance I get this error. Anyone faced the same issue ?

2
2

Do you have a class or variable named WebServiceCallout? If so, that would shadow the System provided implementation and likely cause this compilation error since the WSDL2Apex generator doesn't use the fully qualified class name.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.