What would you use a Web Service for? Well, that is a fair enough question. Web Services are used to program the Web. Web Services represents a way to abstract a Universal Resource Identifier (URI) and access it across the Web on another server. If this doesn’t seem clear, keep reading and you will understand it as I explain and talk about Web Services.
The Simple Object Application Protocol (SOAP) is what Web Services use to communicate across the Internet.
SOAP is used to send messages across the wire. One computer can use SOAP to send a block of data—say, for instance, a billing record—to another computer. When using SOAP, both computers understand the protocol, and can send and receive the data.