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 Dumps Valid Version with 280 Q&As

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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments