This rule belongs to the
wsdl-validation ruleset and states that:
A WSDL document must consist of at least one <portType> definition nested as a child element directly under the root <definitions> element. A port type serves as an interface definition, specifying the available service operations and their associated input and output messages. Without the <portType>, therefore, there would be no way to define the operations that the service exposes.
|WSDL document contains no <portType> definitions.
|API Transformer, Code Generation, Developer Experience Portal
- Ensure that a <portType> child element exists in the root <definitions> element.