+ Start a Discussion
Suresh kumar 312Suresh kumar 312 

Unable to parse WSDL: error Unable to find complexType

Hi,
Intially i got few errors and modfied the wsdl, now i am able to see the prase sucessfull message.
Parse successful: Warnings 0, Errors 0
but when i am clicking on Generate Apex code getting the below error. 
Apex Generation Failed
Unable to find complexType for  (URL) NameIDC_element.




 
Raj VakatiRaj Vakati
Can you share your WSDL file? you might delete the complex Type from WSDL file mistakenly 
Shai FisherShai Fisher
Just had the same problem.
I found that there were two <schema> nodes inside <wsdl:types>.
I combined them together, and the problem solved.