List of questions
Related questions
Question 81 - Certified B2C Commerce Developer discussion
Given the requirements:
To integrate with an external web service using HTTP requests.
To create a service for this purpose with the Service framework using the LocalServiceRegistry class. To test the service before the external service provider makes the API available.
Which solution allows the developer to satisfy the requirements?
A.
Create a service and a Sitepreference that induce the service to respond with a mock response using a conditional.
B.
Create a service and implement the mockFull callback and set the service mode to mock.
C.
Create a service and implement the mockFull callback and a sitepreference to enable or disable the mock response.
D.
Create two services, one mock and the real one, and a Sitepreference that enable the mock or the real one.
Your answer:
0 comments
Sorted by
Leave a comment first