How to fInd out whether a webservice is REST or SOAP
Hi All,
I am still learning Pega. However during one of my tasks i was adviced to provide end points url of web service E.g. service1, service2.
My questions are:
1.How do i find out whether the service is SOAP or REST based on its name
2.What is the location where i can find the url
3.How from Pega perspective, it distinguishes whether a given web service is SOAP or REST. I see different menus like Integration connectors, Integration Mapping, Resources, Service Pack etc.
Which one of these i should refer to figure out the details requested.
Thank you for your time to review and reply on the question
Hi,
1.How do i find out whether the service is SOAP or REST based on its name
ANS : SOAP web service contains WSDL file and only supports XML format whereas REST doesn't contain WSDL file and supports XML, JSON , HTML...
https://smartbear.com/blog/test-and-monitor/understanding-soap-and-rest-basics/
https://www.guru99.com/comparison-between-web-services.html
2.What is the location where i can find the url
Ans : Once you are done with creating SOAP/REST webservice using service wizard in pega, in the review page URL will be displayed.If the URL contains "?wsdl" then it is SOAP endpoint URL otherwise it is REST endpoint URL.
3.How from Pega perspective, it distinguishes whether a given web service is SOAP or REST. I see different menus like Integration connectors, Integration Mapping, Resources, Service Pack etc.
Ans : From Pega perspective,If you are the consumer then use Integration-Connectors and if you are the service provider then use integration-services.
Thank You,