Web service is a programming architecture where a server responds to web requests with XML documents. The two major protocols of web services are:
- REST. The request parameters of REST is embedded within a URL.
- SOAP. The request parameters of SOAP is sent to the server as an XML document.
To publish the functionalities of web services of web services to programmers, an enterprise typical chooses between one or both of the following
style:
- Publish a WSDL definition. This is a programmatic way of iterating through the syntax of all web service request and response types using XML
- Publish a human readable document