Notifications
Clear all

Which solution allows the developer to satisfy the requirements?

1 Posts
1 Users
0 Likes
91 Views
(@pacapacmorgan)
Posts: 738
Noble Member
Topic starter
 

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 the mock response.
    B. Create a service and implement the mockFill callback and set the service mode to mock.
    C. Create a service and a Sitepreference that induce the service to respond witch a mock response using a conditional.
    D. Create two services, one mock and the real one, and a Sitepreference that enable the mock or the real one

Show Answer Hide Answer

Suggested Answer: B
 
Posted : 25/01/2023 4:37 pm

Latest Salesforce Certified B2C Commerce Developer Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: