S90-02A · Question #26
Identify what is wrong with this statement: "Component A invoked SOAP-based Web Service B, which invoked REST Service C." Select the correct answer.
The correct answer is D. There is nothing wrong with this statement. Option D is correct because there is nothing architecturally invalid about a component invoking a SOAP service, which in turn calls a REST service - these are common integration patterns in real-world systems, and services can freely consume other services regardless of their…
Question
Identify what is wrong with this statement: "Component A invoked SOAP-based Web Service B, which invoked REST Service C." Select the correct answer.
Options
- AComponents cannot invoke SOAP-based Web services.
- BSOAP-based Web services cannot invoke REST services.
- CBecause they require different transport protocols, the same data cannot be sent from a
- DThere is nothing wrong with this statement.
How the community answered
(54 responses)- A11% (6)
- B6% (3)
- C4% (2)
- D80% (43)
Explanation
Option D is correct because there is nothing architecturally invalid about a component invoking a SOAP service, which in turn calls a REST service - these are common integration patterns in real-world systems, and services can freely consume other services regardless of their protocol.
Option A is wrong because components absolutely can invoke SOAP-based web services; that is precisely what SOAP was designed for. Option B is wrong because a SOAP service can act as a client and call any external service, including REST - being SOAP-based describes how it exposes its interface, not what it can consume. Option C is wrong (and incomplete as written) because while SOAP and REST do differ in protocol conventions, data can still be transformed and passed between them - the two styles are not mutually exclusive in a service chain.
Memory tip: Think of service type (SOAP vs REST) as describing the front door of a service, not its legs. Any service can walk out its back door and call whatever it needs - the protocol it uses to receive requests doesn't restrict the protocols it uses to make requests.
Topics
Community Discussion
No community discussion yet for this question.