Question

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

Correct Answer
April 22, 2019 - 8:55am

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,

Comments

Keep up to date on this post and subscribe to comments

March 25, 2019 - 6:53am

Hi Amit,

Request you to check below :

https://stackoverflow.com/questions/21462240/how-to-check-if-a-web-service-is-rest-or-soap

This should help you to identify whether its SOAP or REST.

Pega
April 17, 2019 - 11:32am

Hi Amit,

The very basic difference to find out a SOAP and Rest webservice is SOAP have a wsdl file whereas REST does not have.If you get wsdl it means that is a SOAP service.There are many other parameters as well.Please let me know If you want a detailed description of that.

Thanks,

Abhinav

Pega
April 22, 2019 - 8:55am

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,

April 22, 2019 - 1:40pm

Thank you very much everyone for your time and helpful response