Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageService contains no <port> definitions.
CodeWSDL_V651
TypeValidation
Rule SystemSemantic
Broad CategoryServices
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagswsdl semantic validation port service

Suggested Fixes

  • Ensure that a <port> child element exists in the <service> element.

For More Information