

Network Segments are encrypted end-to-end in the transport layer (TLS) It doesn’t do the encryption itself (really?) it agrees on the shared secret and encryption that is going to be used. SSL and TLS is the handshake that takes place between a client and a server.
#SOAP VS REST SALESFORCE HOW TO#
How to encrypt data and authenticate between systems Look wow, this would have been mindbreaking revolutionary stuff back in 2003 but now it’s just something you do regularly. VF page requests data from VF Controller.Ĭontroller does the callout to get the data. The http Response is produced by the server and returns JSON dataĬan receive response in XML with an ACCEPT headerĬallouts via Apex with a Visualforce Controller
#SOAP VS REST SALESFORCE PASSWORD#
OAuth Token or Session ID retrieved from authorising via username password and token authentication Standard Salesforce endpoints on every object (Standard and Custom)Įxpose your own APEX classes as REST Endpoints REST has in-built discovery of the available methods / endpoints “lower level on the networking stack” (dunno if it’s important, but it was repeated many times in a 2011 video) Static - only changes based on API version? Typically you will need to append the security token to the password unless your IP address has be added to the Org.Īll subsequent calls pass the session ID that is returned from the successful authenticationįor a specific org - has all of the customisations in that orgĬhanges if the org changes (eg custom fields added)Ĭan be used against any org (eg used by partners) Individual records be rolled back if exceptions.Įg 198 records may be successful, 2 may have errors.įirst call passes the username and password Return the success or failure response message to the client Gee this is all stuff I learned in my university days in the early 90s The domains you want to allow communication to. Your client application submits a service request to the Web Service via the API SOA (Service Oriented Architecture) Callout (eg bring data into external systems)Īnything referring to Web Service relates to SOAP.

The structure of the web services that clients can callĪ contract between the server and the clientĪlso defines the operations that Salesforce supportsĪnd a definition of the data that will be passed back to the client WSDL (Web Service Description Language) (a package to define all the methods) needs to be downloaded and saved to the server. Synchronous request response architecture
