cancel
Showing results for 
Search instead for 
Did you mean: 

REST adapter PI

Former Member
0 Kudos

A couple of questions around the REST adapter for PI using JSON.

https://www.advantco.com/product/REST

  • Are there any efficiency benefits within PI itself in using REST instead of SOAP?  I presume not as the REST messages will be converted to XML for PI?
  • It says that REST is ideal for use by light weight devices e.g. smart phones, and web based applications e.g. facebook.  So therefore is it appropriate for a synchronous web service (Legacy system > PI (via REST or SOAP) > CRM) that is requesting a list of customer details where the response would be returned with multiple records containing multiple fields?  or would the more structured SOAP be more applicable?

Accepted Solutions (0)

Answers (4)

Answers (4)

anupam_ghosh2
Active Contributor
0 Kudos

Hi Tony,

your questions

  • Are there any efficiency benefits within PI itself in using REST instead of SOAP?  I presume not as the REST messages will be converted to XML for PI?

ans)   REST webservice uses much simpler style of communication than SOAP-WSDL based web service. Thus slowly more  of the web services will be using REST architecture. REST webservice transers data using   XML, JavaScript Object Notation (JSON), or both. REST follows simple client-server architecture thus reading and writing to REST webservice is simple reading and writing to network socket.

  • It says that REST is ideal for use by light weight devices e.g. smart phones, and web based applications e.g. facebook.  So therefore is it appropriate for a synchronous web service (Legacy system > PI (via REST or SOAP) > CRM) that is requesting a list of customer details where the response would be returned with multiple records containing multiple fields?  or would the more structured SOAP be more applicable?

ans)  due to reasons mentioned above, REST webservice is being offered by Salesforce.com (CRM).

We have advantco's adapter for this purpose as shown in this wonderful blog by

Not Active Contributor

Regards

Anupam

peter_ha3
Participant
0 Kudos

Hi Tony,

please drop me an email if you want to trial the REST adapter.

kind regards,

Peter Ha

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

It says that REST is ideal for use by light weight devices e.g. smart phones, and web based applications e.g. facebook.  So therefore is it appropriate for a synchronous web service (Legacy system > PI (via REST or SOAP) > CRM) that is requesting a list of customer details where the response would be returned with multiple records containing multiple fields?  or would the more structured SOAP be more applicable?

For this question, you might want to refer to this article and then you decide:

http://igoesolutions.com/blog/2010/07/07/json-and-soap-xml-in-web-application-services/

Hope this helps,

Mark

smavachee
Active Contributor
0 Kudos

Hi Tony,

Have a look at below link, it may give you few inputs on REST v/s SOAP.

https://www.advantco.com/product/REST

Regards,

Sunil