required-binding-operation-name
Overview
This rule belongs to the wsdl-validation
ruleset and states that:
When an <operation> element is defined inside a binding, it must also specify a non-empty name for itself using the name
attribute. This name must match with the name of an operation in the <portType> element which is referenced by the binding using the type
attribute.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Binding has an <operation> element with a missing name. |
Code | WSDL_V404 |
Type | Validation |
Rule System | Semantic |
Broad Category | Bindings |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | wsdl semantic validation name attribute operation port type binding |
Suggested Fixes
- Ensure that the <operation> element contains the
name
attribute. - Ensure that the value of the
name
attribute is not empty. - The name specified for the operation must match with the name of an operation defined in the port type referenced by the binding.
- Names are compared in a case-sensitive manner.