at-least-one-message
Overview
This rule belongs to the wsdl-validation ruleset and states that:
The WSDL document must consist of at least one <message> definition nested as a child element directly under the root <definitions> element. Service operations are expected to exchange data and in a WSDL document, the structure of the input and output messages of these operations are defined using the <message> elements.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | WSDL document contains no <message> definitions. |
| Code | WSDL_V100 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Messages |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | wsdl semantic validation message |
Suggested Fixes
- Ensure that a <message> child element exists in the <definitions> element.