This rule belongs to the
wsdl-validation ruleset and states that:
When <import> is used for including an external document in a WSDL file, the external document referenced this way must either be a valid WSDL file or an XML schema document. Other formats are not supported.
|The format of the document referenced in the <import> element is not supported.
|API Transformer, Code Generation, Developer Experience Portal
- Ensure that the referenced document is a valid WSDL file or an XML schema file.
- Ensure that the location provided for the document is valid.
- If the location provided for the document is a URL, ensure that it is publicly accessible and not hidden behind an authentication layer.
- Ensure that the location provided for the document indeed points directly to a raw WSDL/XML schema file and not to some kind of HTML documentation.