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

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: Nov 19, 2019

+ AnswerRequest Answer
...

4 Answers

C. Bernthal

Its kind of my job to give answers

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

Answered on 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.

 Reply

devilzP

DevilzP

Answered on Apr 05, 2018

D. SOAP/XML is correct :)

 Reply

rahul chandra

Rahul chandra

Answered on Feb 21, 2018

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

 Reply

Pal

Pal

Answered on Feb 02, 2018

Soap/xml
 Reply

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.