Professional Documents
Culture Documents
Introduction to Web Services
Introduction to Web Services
• A web service is any piece of software that makes itself available over the
internet and uses a standardized XML messaging system.
• A web service is a collection of open protocols and standards used for exchanging
data between applications or systems.
• Software component stored on one computer that can be accessed via method
calls by an application on another computer
Next, we will study the bottom up approach and descuss the top-down
approach later.
• Service provider: The entity that implements the service 2. find 1. publish
and offers to carry it out on behalf of the requester
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope/"
soap:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
<soap:Body xmlns:m="http://www.example.org/stock">
<m:GetStockPrice>
<m:StockName>IBM</m:StockName>
</m:GetStockPrice>
</soap:Body>
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope/"
soap:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
<soap:Body xmlns:m="http://www.example.org/stock">
<m:GetStockPriceResponse>
<m:Price>34.5</m:Price>
</m:GetStockPriceResponse>
</soap:Body>
</soap:Envelope>
<!DOCTYPE HTML>
...