+ Start a Discussion
STar14STar14 

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: {http://www.w3.org/2001/XMLSchema}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"/>  
To 
<element name="value" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/>