Skip to main content

at-least-one-binding

Overview

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

A WSDL document must consist of at least one <binding> definition nested as a child element directly under the root <definitions> element. The <binding> element describes the concrete protocol and data format specifications for accessing the operations defined in the <portType>. It establishes the connection between the abstract interface defined by the <portType> and the actual implementation details, such as the communication protocol and message format. Without the <binding>, there would be no way to determine how to interact with the service.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageWSDL document contains no <binding> definitions.
CodeWSDL_V400
TypeValidation
Rule SystemSemantic
Broad CategoryBindings
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagswsdl semantic validation binding

Suggested Fixes

  • Ensure that a <binding> child element exists in the root <definitions> element.

For More Information