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
SATZSATZ 

Error Parsing WSDL file

Hi all.,

I'm trying to create a apex class form WSDL file ,but I shows error

        Error: Failed to parse WSDL: Found schema import from location http://schemas.xmlsoap.org/soap/encoding/. External schema import not supported

 

I created WSDL file from following URL   http://thylaksoft.gostorego.com/api/v2_soap/?wsdl

 
I need to convert the WSDL file to apex methods.

plz help

thanks

sathish

Alex.AcostaAlex.Acosta

You'll have to modify the XML itself to resolve this issue. I've had to do this before. In this case, you'll have to remove 

 

schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"

 

on line 5. Though you'll start having other errors such as attributes parameter name cannot be null, etc. You'll just have to massage this WSDL