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

Partner WSDL issue:Not able to generate Apex class using the SFDC Partner WSDL

Hi All,
I am trying to generate apex class using the SFDC Partner WSDL , however i am getting the following issue while parsing the WSDL:
Apex Generation Failed
Unsupported schema type: {}anyType

Can someone please point me what i am doing wrong in here.

Thanks in Advance !!
Best Answer chosen by STar14
Salesforce DeveloperSalesforce Developer
Remove all the reference of "anyType" to "string" as example:

<element name="value" type="xsd:anyType" minOccurs="1" maxOccurs="unbounded"/>  
<element name="value" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/>