Question
3
Replies
7176
Views
Techmahindra
Posted: September 19, 2018
Last activity: September 20, 2018
What is the main difference between Connect SOAP and Connect REST in Pega
Can any one explain what is the main difference between Connect SOAP and Connect REST in Pega.
In both we are using end point URL what is the main reason to use connect rest.
any one help me with clear explaniation
Thnaks in advance
Regards,
Keerthika
***Edited by Moderator: Pallavi to update platform capability tags***
Hi Keerthika,
SOAP (Simple Object Access Protocol) and REST (Representational State Transfer) are both web service communication protocols. SOAP was long the standard approach to web service interfaces, although it’s been dominated by REST in recent years, with REST now representing more than 70% of public APIs.
REST operates through a solitary, consistent interface to access named resources. It’s most commonly used when you’re exposing a public API over the Internet. SOAP, on the other hand, exposes components of application logic as services rather than data. Additionally, it operates through different interfaces. To put it simply, REST accesses data while SOAP performs operations through a more standardized set of messaging patterns. Still, in most cases, either REST or SOAP could be used to achieve the same outcome (and both are infinitely scalable)
In Pega, option is available to support both the Connect REST & Connect SOAP, while Connect SOAP is basically for legacy systems whereas REST is the modern day approach. In real time scenario Pega could be asked to connect to some previously defined Web Service through SOAP or REST where service implementation does not change, hence both the options are provided to users.
Hope that answers your question.
Thanks !!!.