Skip to main content

required-port-type-name

Overview

This rule belongs to the wsdl-validation ruleset and states that:

When a port type is defined using the <portType> element, it must also specify a non-empty name for itself using the name attribute which uniquely identifies it in a WSDL document.

PropertyValue
EnabledYes
Maximum SeverityError
Message<portType> element has a missing name.
CodeWSDL_V201
TypeValidation
Rule SystemSemantic
Broad CategoryPort Types
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagswsdl semantic validation name attribute port type

Suggested Fixes

  • Ensure that the <portType> element contains the name attribute.
  • Ensure that the value of the name attribute is not empty.

For More Information