Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

SOAP

  • XML

  • Standards based

  • WSDL (a package to define all the methods) needs to be downloaded and saved to the server

  • System to system

  • State maintained

  • Built in security

Enterprise WSDL

Partner WSDL

REST

  • XML or JSON

  • REST has in-built discovery

  • Lightweight

  • Security usually via OAuth

  • Web service implementations

  • GET POST DELETE PATCH PUSH

  • Bulk API uses REST

Synchronous vs Asynchronous

  • Sync

    • Eg a transaction

    • Wait for a reply

    • Within the Salesforce limits

  • Async

    • Check back later if it’s done

  • No labels