How should the developer enable this functionality?
A developer is working on code that requires a call to an external web service from a batch .
How should the developer enable this functionality?
A . Implement a custom System.CalloutException class
B . Include Database.AllowCallout() in the class definition
C . Implement an @future method for the callout, and invoke it from the batch
D . Specify "callout=true" in the batch implementation
Answer: B
Latest PDII Practice Questions with 280 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments