supported-import-document-format
Overview
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.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | The format of the document referenced in the <import> element is not supported. |
Code | WSDL_V002 |
Type | Validation |
Rule System | Semantic |
Broad Category | Imports |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | wsdl semantic validation format document import |
Suggested Fixes
- 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.