at-least-one-service-port
Overview
This rule belongs to the wsdl-validation
ruleset and states that:
The <service> element must contain at least one <port> child element. In a WSDL document the <port> element, when used within a <service>, allows you to define specific endpoints or bindings associated with the service. It contains details such as the endpoint address and the binding used for that endpoint without which it will be harder to know how to call the service.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | Service contains no <port> definitions. |
Code | WSDL_V651 |
Type | Validation |
Rule System | Semantic |
Broad Category | Services |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | wsdl semantic validation port service |
Suggested Fixes
- Ensure that a <port> child element exists in the <service> element.