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
Madhusudan Singh 15Madhusudan Singh 15 

Not able to generate WSDL2Apex

Hi Folks,

I am trying to generate wsdl2apex for Five9 API but it ig giving error as 'Error: Failed to parse wsdl: Found schema import from location External schema import not supported'
I also tried to copying anf pasting the schema of With that I was able to parse wsdl but Apex class was not creating.

Need forum's help.

Thanks In Advance

Madhusudan Singh
RakeshRakesh (Salesforce Developers) 
HI Madhusudan,

To generate an Apex class from a WSDL, salesforce provided a documentation. Please refer the below link documentation and follow the instructions to parse the WSDL file to generate the Apex class. If you are getting the same error, here is another link, who encountered the similar error, please go to the below link, it may help you to solve.
Please make it as solved if this helps you.

Rakesh Thota
Madhusudan Singh 15Madhusudan Singh 15
Hi Rakesh,

I tried that also but it didn't worked so finally gave up and used rest webservice(actually it was giving different at every step at last it generated apex class but with many errors).
This time I am coming up with different wsdl, But but with the same problem. Below is my wsdl

Can you help me in this. and this time i dont have any REST api also.

Madhusudan Singh