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
veeru417veeru417 

Defining a Class from a WSDL Document

 


Hi,

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

 

Apex Generation Failed

Unsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType  .

 

 

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

 

Regards,

veer

 

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