Oracle Fusion Sales Could (Rel7)
currently has a WebServices/SOAP interface however many clients & partners
are interested in accessing Oracle Fusion Sales Cloud using REST & JSON.
The main difference between a SOAP service and a REST service is the “way” you
get access to the data and methods you use. Whilst SOAP is very powerful, very
complete and also can be quite complex perhaps over-complex. REST in comparison is rather simple and
uses the http verbs (GET,POST,PUT etc) to define the operation and can be as
powerful as you desire.
There are many documents on the
web which discuss REST vs SOAP but in summary :
Originally defined as Simple Object Access Protocol.
A protocol specification for exchanging
An envelope, which defines what is in the
Relies on eXtensible Markup Language (XML)
This XML based protocol consists of three
RESTful web service (also called a RESTful
There are many reasons why one
would/could want to use REST instead of SOAP, one reasons is that SOAP is
considered too heavy-weight for mobile applications, where payload size is
critical, and also instead of XML, JSON is the preferred message format.
The JSON message format is
as browsers or node.js) and hence adds weight to the desire to use REST instead
of SOAP for accessing Oracle Fusion Sales Cloud.
So enough of why REST , how does one do it for Oracle Sales Cloud (aka CRM). Thankfully this is rather straightforward, at Oracle OpenWorld 2013 you would have seen Thomas Kurian demonstrate our new Oracle SOA Suite and how it can transform a SOAP service into a REST service whilst this is excellent and incredibly productive some clients dont want to install SOA Suite soley for this purpose. Thankfully its possible to do the same using pure Java and deploy it to a cloud infrastructure, like the newly release Oracle Java Cloud Service. It is however worth noting that using SOA Suite is preferable because it accelerates the deployment tremendously and would ultimately be more "agile".
This document and source code is sample code and assumes no support from Oracle Corporation or myself.