IBM
C2180-408 · Question #33
A mobile application developer needs to interface with a backend web service. The web service accepts and returns XML data using the SOAP protocol. The developer has decided to use an HTTP adapter…
The correct answer is B. Create an XML request on the server side and parse a JSON response on the client side. See the full explanation below for the reasoning.
Question
A mobile application developer needs to interface with a backend web service. The web service accepts and returns XML data using the SOAP protocol. The developer has decided to use an HTTP adapter to handle the integration. What data formats should the developer use to create the request on the server side and parse the response on the client side?
Options
- ACreate an XML request on the server side and parse an XML response on the client side.
- BCreate an XML request on the server side and parse a JSON response on the client side.
- CCreate a JSON request on the server side and parse a JSON response on the client side.
- DCreate a JSON request on the server side and parse an XML response on the client side.
How the community answered
(30 responses)- A17% (5)
- B73% (22)
- C7% (2)
- D3% (1)
Community Discussion
No community discussion yet for this question.