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
Saniya Khan 2Saniya Khan 2 

How to Parse wsdl and generate apex classes from that?

Hi All,
I want to integrate workday with salesforce and using Revenue_Managment service.So  I downloaded its wsdl file which is Revenue_Managment.wsdl but while parsing it showing an error.
Failed to parse wsdl: Unsupported Schema element found At: 119:74

Could anyone please help me with this.

Many Thanks,
SandhyaSandhya (Salesforce Developers) 

Locate for xs attribute in your WSDL file and then comment them if these attributes are not necessary alternatively you can declare the attribute implicitly within the elements that require them. Then remove the xs:attribute "name" from the schema level.

Refer below link.
   Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
Best Regards

Saniya Khan 2Saniya Khan 2
Hi Sandhya,
I saw the link which you shared but it says convert <xs:attribute> to <xsd:attribue>but its alread there and I can't comment iut all attribute as we are using it in revenue_Managment function.

Many Thanks,