+ Start a Discussion

Apex Generation Failed Unable to find soap 1.1 address


Previously I was receiving an error " Failed to parse wsdl: Unsupported Schema element found http://www.w3.org/2001/XMLSchema:include. At: 17:125". 
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="x1.URL" xmlns:ibmSchExtn="x2.URL">
<!-- <xsd:include schemaLocation="some link"/> -->

So I have commented out some part of the WSDL code i.e., the tags which are not supported by WSDL2Apex Conversion. 

Later on I'm receiving the new error:
Apex Generation Failed
Unable to find soap 1.1 address

I'm unable to proceed further, any help would be appreciated if anyone knows how to fix the above error.

Martijn SchwarzerMartijn Schwarzer
Hi Anuusha,

WSDL2APEX does not support includes. You will have to create (or let someone generate) a single WSDL file which you can then import.

If you need help to accomplish this, please let me know! I'd be happy to help!

Best regards,
Martijn Schwärzer

Ps. If my answer helps you to solve your problem please mark it as best answer. It will help other to find best answer.
Murthy AlluriMurthy Alluri
Hi Anusha, I am also getting this issue, did you find solution?