You need to sign in to do that
Don't have an account?

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 http://ws-i.org/profiles/basic/1.1/swaref.xsd. External schema import not supported'
https://www.dropbox.com/s/k577f06xc6yqjao/AdminWebService.xml?dl=0
I also tried to copying anf pasting the schema of http://ws-i.org/profiles/basic/1.1/swaref.xsd. With that I was able to parse wsdl but Apex class was not creating.
Need forum's help.
Thanks In Advance
Regards
Madhusudan Singh
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 http://ws-i.org/profiles/basic/1.1/swaref.xsd. External schema import not supported'
https://www.dropbox.com/s/k577f06xc6yqjao/AdminWebService.xml?dl=0
I also tried to copying anf pasting the schema of http://ws-i.org/profiles/basic/1.1/swaref.xsd. With that I was able to parse wsdl but Apex class was not creating.
Need forum's help.
Thanks In Advance
Regards
Madhusudan Singh
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.
- https://help.salesforce.com/articleView?id=code_wsdl_to_package.htm&type=5
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.
Thanks,
Rakesh Thota
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
https://www.dropbox.com/s/jh32r0yn9olqw03/soap.xml?dl=0
Can you help me in this. and this time i dont have any REST api also.
Regards
Madhusudan Singh