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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | <port> element has a missing binding. |
| Code | WSDL_V600 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Ports |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | wsdl semantic validation binding attribute port |
Suggested Fixes
- Ensure that the <port> element contains the
bindingattribute. - Ensure that the value of the
bindingattribute is not empty. - Ensure that the value of the
bindingattribute matches exactly with thenameof a a pre-defined <binding> element defined directly under the root <definitions> element.