Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam B2C-Commerce-Developer All Questions
Exam B2C-Commerce-Developer All Questions

View all questions & answers for the B2C-Commerce-Developer exam

Salesforce Developers B2C-Commerce-Developer Question # 19 Topic 3 Discussion

B2C-Commerce-Developer Exam Topic 3 Question 19 Discussion:
Question #: 19
Topic #: 3

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 implement the mockfull callback and a sitepreference to enable or disable themock response.


B.

Create a service and implement the mockFill callback and set the service mode tomock.


C.

Create a service and a Sitepreference that induce the service to respond witch a mock responseusing a conditional.


D.

Create two services, one mock and the real one, and a Sitepreference that enable the mock or the real one


Get Premium B2C-Commerce-Developer Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.