Skip to main content

required-binding-type

Overview

This rule belongs to the wsdl-validation ruleset and states that:

A <binding> element must specify the name of the <portType> it needs to concretely define, using the type attribute. This helps establish the connection between the abstract interface defined by the <portType> and the actual implementation details, such as the communication protocol and message format, in the binding.

PropertyValue
EnabledYes
Maximum SeverityError
Message<binding> element has a missing type.
CodeWSDL_V402
TypeValidation
Rule SystemSemantic
Broad CategoryBindings
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagswsdl semantic validation type attribute port type binding

Suggested Fixes

  • Ensure that the <binding> element contains the type attribute.
  • Ensure that the value of the type attribute is not empty.
  • Ensure that the value of the type attribute matches exactly with the name of a a pre-defined <portType> element defined directly under the root <definitions> element.

For More Information