A developer has generated Apex code from a WSDL for an external web service. The web service requires Basic authentication. What code should the developer use to authenticate? A. Http.setHeader ('Authorization' , 'Basic QthZGprjpchVulHNchFtZQ') B. stub.inputHttpHeaders_x.put('Authorization' , 'Basic QthZGprjpchVulHNchFtZQ') C. Http.setAuthentication('Basic QthZGprjpchVulHNchFtZQ') D. stub.authentication.put ('Authorization','Basic QthZGprjpchVulHNchFtZQ') Suggested Answer: B Community Answer: B This question is in Certified Platform Developer II Exam For getting Salesforce Certified Platform Developer II Disclaimers: The website is not related to, affiliated with, endorsed or authorized by Salesforce. Trademarks, certification & product names are used for reference only and belong to Salesforce. The website does not contain actual questions and answers from Salesforce's Certification Exams.
Please login or Register to submit your answer