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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | WSDL document contains no <binding> definitions. |
| Code | WSDL_V400 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Bindings |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | wsdl semantic validation binding |
Suggested Fixes
- Ensure that a <binding> child element exists in the root <definitions> element.