ASSOCIATE-REACTIVE-DEVELOPER practice question 33 of 35
When consuming a REST API, we can consume a single REST method ...
Full set: 262 questionsWhen consuming a single REST API method in Outsystems, the developer provides the specific method's URL and HTTP verb (e.g., GET, POST). To automatically generate the response data structure, Outsystems provides a testing feature. The developer enters sample values for any required parameters and executes the test. The resulting JSON response from the API endpoint is then used to infer and create the corresponding structure in Service Studio, streamlining the integration process. This matches the procedure described in the correct option.
B. This option describes the process for consuming a SOAP Web Service. SOAP relies on a WSDL (Web Services Description Language) file and bindings to define the service contract, which is distinct from the architecture of REST APIs.
1. Outsystems Official Documentation - "Consume REST APIs": Under the section "Consume one or several REST API methods", the steps for adding a single method are detailed. Step 4 is "In the Add new method to... screen, specify the HTTP Method and the Method URL." Steps 7 and 8 describe testing the method and using the JSON response: "Click Test. If the test is successful, copy the JSON from the Response Body field and paste it in the Response Body field of the Body tab. Or, click Copy to Response Body." This directly validates the process described in option A.
2. Outsystems Official Documentation - "Consume SOAP Web Services": This document outlines the procedure for SOAP consumption, stating in Step 3 of the "Consume a SOAP Web Service" section: "In the Consume SOAP Web Service screen, specify the location of the WSDL...". This confirms that WSDL is specific to SOAP integration, making option B incorrect for a REST API context.
3. Outsystems Training Material - "Integrating with a REST API": In the guided path "Becoming a Reactive Web Developer," the exercise on consuming REST APIs demonstrates this exact process. It instructs the user to add a single method, provide the URL, go to the "Test" tab, execute the request, and then use the "Copy to response body" button to automatically create the output structure from the returned JSON. This reinforces the steps in option A as the standard Outsystems practice.
Keep practicing
Take the free ASSOCIATE-REACTIVE-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ASSOCIATE-REACTIVE-DEVELOPER practice questions
- Question 1When the event is mandatory, a Block event such as the Client Action must be specified to…
- Question 2Considering the Function property in Client Actions, which of the following options is co…
- Question 3Which event is needed if we do some logic over the result such as checking if it is empty?
- Question 4The SQL Query only allows executing SELECT statements
- Question 5The order of the Entities in the join does not matter.
- Question 6The list of values displayed on the Combo Box widget can be a combination of Entity and S…
