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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Port type contains no <operation> definitions. |
| Code | WSDL_V202 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Port Types |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | wsdl semantic validation operation port type |
Suggested Fixes
- Ensure that at least one <operation> child element exists in the <portType> element.