Skip to main content

at-least-one-port-type-operation

Overview

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

A port type, as an interface definition, must specify a set of operations supported by the web service and their associated input and output messages. This means that in a WSDL document a <portType> element must consist of at least one child <operation> element definition nested inside it.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessagePort type contains no <operation> definitions.
CodeWSDL_V202
TypeValidation
Rule SystemSemantic
Broad CategoryPort Types
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagswsdl semantic validation operation port type

Suggested Fixes

  • Ensure that at least one <operation> child element exists in the <portType> element.

For More Information