nerdexam
SOA

S90-02A · Question #19

Which of the following statements is true? Select the correct answer.

The correct answer is A. WSDL definitions can use XML schemas to define the types used by WSDL input and output. A is correct because WSDL (Web Services Description Language) uses a <types> element specifically designed to host XML Schema definitions, allowing services to define the complex data types used in their input and output messages. This is a core feature of WSDL 1.1 and 2.0. B…

Web Services and Contract-First Design

Question

Which of the following statements is true? Select the correct answer.

Options

  • AWSDL definitions can use XML schemas to define the types used by WSDL input and output
  • BWSDL definitions can use XML schemas to define the types used by WSDL input and output
  • CWSDL definitions can use XML schemas to define the types used to establish the location used
  • DWSDL definitions cannot be used in conjunction with XML schemas.

How the community answered

(24 responses)
  • A
    92% (22)
  • B
    4% (1)
  • C
    4% (1)

Explanation

A is correct because WSDL (Web Services Description Language) uses a <types> element specifically designed to host XML Schema definitions, allowing services to define the complex data types used in their input and output messages. This is a core feature of WSDL 1.1 and 2.0.

B is a duplicate of A - this appears to be a poorly constructed question where A and B are identical; in a real exam, only one would be the intended correct option.

C is wrong because XML schemas in WSDL define data types for messages, not location - the service endpoint location is defined separately in the <service>/<port> binding, not via XML Schema.

D is wrong because the opposite is true: WSDL was explicitly designed to work alongside XML Schema, and using XSD within the <types> block is standard practice.

Memory tip: Think of WSDL's <types> block as an embedded XSD container - WSDL describes how to call a service (structure, bindings, location), while XML Schema describes what data looks like. They work together, never apart.

Topics

#WSDL#XML schema#input output messages#type definitions

Community Discussion

No community discussion yet for this question.

Full S90-02A Practice