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.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | <portType> element has a missing name. |
Code | WSDL_V201 |
Type | Validation |
Rule System | Semantic |
Broad Category | Port Types |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | wsdl 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.