S90-02A · Question #71
Which of the following statements is true? Select the correct answer.
The correct answer is B. Individual service contracts do not need to be published for REST services. Instead, they use a. Option B is correct because REST services rely on a uniform contract - the standard HTTP methods (GET, POST, PUT, DELETE) - rather than individually published service contracts. This uniformity means clients can interact with any REST service using the same protocol…
Question
Which of the following statements is true? Select the correct answer.
Options
- AIndividual service contracts do not need to be published for SOAP-based Web services.
- BIndividual service contracts do not need to be published for REST services. Instead, they use a
- CComponents provide published contracts, but when building services as components,
- DNone of these statements are true.
How the community answered
(57 responses)- A2% (1)
- B93% (53)
- C2% (1)
- D4% (2)
Explanation
Option B is correct because REST services rely on a uniform contract - the standard HTTP methods (GET, POST, PUT, DELETE) - rather than individually published service contracts. This uniformity means clients can interact with any REST service using the same protocol conventions, eliminating the need for service-specific contract documents.
Why the distractors fail:
- A is the opposite of the truth: SOAP-based services do require published contracts in the form of WSDL (Web Services Description Language) documents, which explicitly define operations, message formats, and endpoints.
- C is a misleading half-statement; components built as services still follow the same service contract rules - the component/service distinction doesn't exempt anything from contract requirements.
- D fails because B is demonstrably correct.
Memory tip: Think "SOAP = contract on paper (WSDL), REST = contract by convention (HTTP verbs)." SOAP spells out every detail explicitly; REST trusts you already know the uniform language of the web.
Topics
Community Discussion
No community discussion yet for this question.