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
abhi_sfdcabhi_sfdc 

WSDL parse error

While parsing a webserivce i am getting below erroe,

 

Error: Failed to parse wsdl: Unsupported Schema element found http://www.w3.org/2001/XMLSchema:attribute.
 
Can someone suggest the reason for it?
 
Thanks,
SFDC Guy
Sonam_SFDCSonam_SFDC

Looking at the error message it seems like the WSDL you are trying to parse has some attribute that is not supported by WSDL2Apex..

http://wiki.developerforce.com/page/Apex_Web_Services_and_Callouts

 

Is the error message you have provided complete? parser does support Attribute schema type so wondering if you missed something after that..

 

 

abhi_sfdcabhi_sfdc

Thanks Sonam for your reply.

I remove some attribute from WSDL and it's work fine for me.

 

Regards,

SFDC Guy