Below is a comparison for which web service is good to opt for when integrating People soft with third party.
RESTful applications is simple, lightweight, and fast compared to SOAP.
REST’s decoupled architecture,
and lighter weight communications between producer and consumer, make REST a
popular building style for cloud-based APIs.
REST uses a smaller message
format than SOAP. Where as SOAP uses XML for all messages, which makes the
message size much larger, and thus less efficient.
REST provides better performance,
as well as lowers costs over time. Moreover, there is no intensive processing
required, thus it’s much faster than traditional SOAP.
The use of REST is often
preferred over the more heavyweight SOAP (Simple Object Access Protocol) style
because REST does not leverage as much bandwidth, which makes it a better fit
for use over the Internet.
Sample RESTful URI:
http://machine/PSIGW/RestListeningConnector/Employee.v1/123-45-6789/DCenido/FullTimeEmployee
Sample SOAP message:
<SOAP-ENV:Envelope
xmlns:SOAP
ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body>
<Employee>
<id>123-45-6789</id>
<name>DCenido</name>
<type>FullTimeEmployee</type>
</Employee>
</SOAP-ENV:Body></SOAP-ENV:Envelope>
No comments:
Post a Comment