Skip to main content

required-port-binding

Overview

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

A port defines an individual endpoint by specifying a single address for a binding. In a WSDL document, the <port> element helps define this port and the binding information must be linked to it by specifying the name of a pre-defined <binding> element using the binding attribute.

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

Suggested Fixes

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

For More Information