Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageBinding has an <operation> element with a missing name.
CodeWSDL_V404
TypeValidation
Rule SystemSemantic
Broad CategoryBindings
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagswsdl 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.

For More Information