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.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | <binding> element has a missing type. |
Code | WSDL_V402 |
Type | Validation |
Rule System | Semantic |
Broad Category | Bindings |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | wsdl 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 thename
of a a pre-defined <portType> element defined directly under the root <definitions> element.