Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe format of the document referenced in the <import> element is not supported.
CodeWSDL_V002
TypeValidation
Rule SystemSemantic
Broad CategoryImports
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagswsdl 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.

For More Information