Activity Forums Salesforce® Discussions What are the two different flavors of Apex callouts Salesforce?

  • Manish

    Member
    February 24, 2020 at 2:38 pm

    Hi Mahit,

    Here you can find Answer:

    1. Web service callouts to SOAP web services use XML, and typically require a WSDL document for code generation.
    2. HTTP callouts to services typically use REST with JSON.
  • Shweta

    Member
    February 25, 2020 at 12:41 pm

    Apex Callout: It enables you to tightly integrate your apex code with an external service and the callout makes a call to an external web service or sends an HTTP request from Apex code, and then receives the response.
    It comes in two flavors :

    • Web service callouts to SOAP web services:  It uses XML, and requires a WSDL document for code generation.
    • HTTP callouts to services: It uses REST with JSON.
  • Anjali

    Member
    February 25, 2020 at 1:35 pm

    SOAP and REST are the two different callouts.

  • Ratnesh

    Member
    February 25, 2020 at 2:29 pm

    The two different callouts are:-

    • SOAP
    • REST

Log In to reply.

Popular Salesforce Blogs