What type of request and payload format can be received by a static - ProProfs Discuss
Topics
Products
Follow Us:

What type of request and payload format can be received by a static method in a global Apex class that uses the webService keyword?



A. REST/JSON
B. SOAP/XML and SOAP/JSON
C. SOAP/XML and REST/JSON
D. SOAP/XML

This question is part of developing software PD2-2
Asked by Pal, Last updated: Mar 27, 2020

+ Answer
Request

4 Answers

C. Bernthal

Its kind of my job to give answers

C. Bernthal, Teacher, MA, P.hD, Seattle

Answered Nov 11, 2018

Apex is a computer language that is like some of the more well-known languages including Java and C#. It is different because it has dots and curly brackets in their language. This allows the computer user to develop software programming which must be made with a computer language. Static methods are used in Java when there is no objective stated or listed.

In Salesforce, the class would be considered to be global due to using the web service called SOAP. If you are wanting to request and use a payload format in Salesforce so that it can be received by a static method in a global Apex class and that it uses the web service keyword, it would have to be SOAP/XMIL.

 

devilzP

DevilzP

Answered Apr 05, 2018

D. SOAP/XML is correct :)

 

rahul chandra

Rahul chandra

Answered Feb 21, 2018

And SOAP/JSON as well. They have mentioned it clearly in their docs.

 

Pal

Pal

Answered Feb 02, 2018

Soap/xml
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.