A Web service is a program accessible by other programs on the Web (HTTP). For example, suppose you have a function that prints text in HTML format. The target of the application is the web browser that makes the output and a human can easily read the text on the page.
On the other hand, the target audience for a Web service is other programs or other Web services that consume the data provided by the Web service. The output is normally in a standard language that can be understood by other programs. Take the example above, if the Web service produces the text in XML format, then other Web services that can read or understand XML can use output.
The main benefit of a Web service is that applications can be written in any language, but they can communicate and exchange data between themselves via a Web service. Software applications written in different programming languages and executed on different platforms can use Web services to exchange data over the Internet (HTTP). This interoperability (for example, between Java and Python, or Windows and Linux applications) is due to the use of open standards (XML, SOAP, HTTP).
SOAP (Simple Object Access Protocol)
UDDI (Universal Description, Discovery, and Integration)
WSDL (Web Services Description Language)
How many different types of Web services are there?
Mainly, there are two types of Web Services, Simple Object Access Protocol (SOAP) and Representative Status Transfer (REST).
A SOAP Web service accepts a request in XML format and generates output in XML format.
A REST Web service is more versatile and can accept XML as well as JSON as request and generate output in XML as well as JSON, or even HTML.
On the other hand, the target audience for a Web service is other programs or other Web services that consume the data provided by the Web service. The output is normally in a standard language that can be understood by other programs. Take the example above, if the Web service produces the text in XML format, then other Web services that can read or understand XML can use output.
The main benefit of a Web service is that applications can be written in any language, but they can communicate and exchange data between themselves via a Web service. Software applications written in different programming languages and executed on different platforms can use Web services to exchange data over the Internet (HTTP). This interoperability (for example, between Java and Python, or Windows and Linux applications) is due to the use of open standards (XML, SOAP, HTTP).
SOAP (Simple Object Access Protocol)
UDDI (Universal Description, Discovery, and Integration)
WSDL (Web Services Description Language)
How many different types of Web services are there?
Mainly, there are two types of Web Services, Simple Object Access Protocol (SOAP) and Representative Status Transfer (REST).
A SOAP Web service accepts a request in XML format and generates output in XML format.
A REST Web service is more versatile and can accept XML as well as JSON as request and generate output in XML as well as JSON, or even HTML.
About us:
suenetzel want to become one of the leading designingCompanies in India and create web and testing which are innovative and trend
setting. We aim to create content for web and print that are modern,
attractive and are admired.
Comments
Post a Comment