MCD-LEVEL-1 practice question 12 of 30

Which file is used to define the interface contract to invoke a web service implemented as a SOAP service

Full set: 235 questions
Answer options
A: RAML
B: WSDL Correct answer
C: JSON
D: OAS
Correct Answer:
B. WSDL
Explanation

A WSDL (Web Services Description Language) file is an XML-based document used to define the interface contract of a SOAP (Simple Object Access Protocol) web service. It explicitly describes the available operations, input/output message structures, and network endpoints required to invoke the service. In MuleSoft, components like the Web Service Consumer connector require a WSDL file to understand the SOAP service's contract and automatically generate the necessary DataWeave metadata for request and response mapping.

Why Incorrect

A. RAML (RESTful API Modeling Language) is used to define contracts for RESTful APIs, not SOAP services.
C. JSON (JavaScript Object Notation) is a lightweight data-interchange format, not an interface contract definition language.
D. OAS (OpenAPI Specification) is used to define contracts for RESTful APIs, not SOAP services.

References

- MuleSoft Official Documentation, "Web Service Consumer Connector", Section: WSDL Configuration.

- W3C Recommendation, "Web Services Description Language (WSDL) 1.1", Section: Introduction.

Scroll to Top