function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Defining a Class from a WSDL Document



  i am getting the following error while generating a class from wsdl,


Apex Generation Failed

Unsupported schema type: {}anyType  .



Can any one please suggest what is the problem and how to correct it.





Best Answer chosen by Admin (Salesforce Developers) 
Jia HuJia Hu
revise your WSDL, and change anyType to string