Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 11 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 11
Topic #: 1
[All Certified Platform Developer II Questions]

A company processes Orders within their Salesforce instance. When an Order's status changes to 'Paid' it must notify the company's order management system
(OMS). The OMS exposes SOAP web service endpoints to listen for when to retrieve the data from Salesforce.
What is the optimal method to implement this?

  • A. Generate the Enterprise WSDL and use it to make a callout to the OMS.
  • B. Generate the Partner WSDL and use it to make a callout to the OMS.
  • C. Create an Outbound Message that contains the session ID and send it to the OMS.
  • D. Create an Apex trigger and make a callout to the OMS from the trigger.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Hello_Sfdc
Highly Voted 3 years, 9 months ago
Is it C by using WF outbound?
upvoted 6 times
...
FriedConsole2000
Most Recent 9 months, 1 week ago
Selected Answer: C
Must be outbound message as Salesforce wants people to use those.
upvoted 1 times
...
Prabu_Kumarasaamy
1 year, 4 months ago
Selected Answer: D
Option C (using an Outbound Message) is a viable alternative, but it has some limitations. Outbound Messages are SOAP-based and can be configured to automatically trigger a callout when a record meets specific criteria. However, they are less flexible and require additional configuration steps compared to the direct callout approach with Apex triggers. Therefore, option D is the recommended approach for implementing the integration with the OMS when an Order's status changes to 'Paid'.
upvoted 1 times
...
Ike300
1 year, 7 months ago
Selected Answer: B
C is correct
upvoted 1 times
...
Rob177
2 years, 10 months ago
Selected Answer: C
C is the answer
upvoted 4 times
...
drwebber
2 years, 11 months ago
The easiest option is C, "Send Session ID" is an option is WF
upvoted 1 times
...
amerbearat
3 years, 3 months ago
Not D you cannot make a callout directly from a trigger. Answer C
upvoted 4 times
ncore
3 years ago
You can, using @future (callout=true) annotation
upvoted 2 times
...
...
Hello_Sfdc
3 years, 9 months ago
Why Salesforce need to generate WSDL?WSDL must be imported to call external system. Hence answer is D
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...