Simple Object Access Protocol (SOAP)
SOAP Summary Simple Object Access Protocol (SOAP) improves the interactivity of the Internet by planning a website based on XML, and platform-independent methods. The Introduction INTERNET is fundamentally changed, thereby fundamentally changing the way business implementation. Transition to e-commerce results in a huge wavy reaction in all computer systems. As the company integrates their customer management, order implementation systems, and their online sales systems, the role of websites will be getting smaller and smaller. The next step will extend between business partners, such as suppliers and publishers. In addition to integrated various business systems through the Internet, there are other phenomena that drive network development, service. For example, users need more, deeper, more personalized, and more active services, serving their work or personal life, which is for their interests, while saving their time, money and difficulties. As a result, the network is developing from a website that provides simple service from some web pages to dynamic web services, which can interact some complex steps to serve users. These tasks may require a Web service to call additional web services, adjust the step execution command like a traditional software program. The problem facing today is the integration of other services and the connection with other equipment is still difficult, because it is still lacking some tools and general agreements that mutual contact. The network needs a general method that combines all services. Multiple services can work seamlessly, and you must be able to easily coordinate the various service steps on the Internet, which is easy to create new and customized services. Developers must be able to integrate, not just providing services. They need to form a solution from any software components, applications, business processes, devices, or other intellectual property rights. This requires a common goal that allows developers in the Internet to work together - this is a new application model that connects the distributed and reliable way to distributed service and components for distributed components to provide core programming services. Previously, create such complex applications for the application's communication is the use of an object model, such as Microsoft's DCOM or Object Management Group's Internet Inter-ORB Protocol (IIOP) or Common Object Request Broker Architecture (CORBA). But these technologies have some shortcomings when creating a web service. Specifically, DCOM and IIOP / CORBA are complex environments, meaning that applications that use them are usually complex and uniform. In other words, use them to create a distributed application, usually requires the same distribution object model on both ends of the connection. But the Internet does not guarantee the other end of your connection to run specific customer and service software, such as HTTP. And to make everyone running IIOP or COM is unrealistic, it is not possible to technology. A solution to solve this problem is to use existing Internet standards: http and xml. More than any other application protocol, the hypertext transfer protocol is connected to the entire world. Millions of websites and browsers have proven this. If you don't have an e-mail client software, you can use E-mail through a website; if you want to connect to the Internet with other than HTTP, you will find that most other application protocols are most It can be tolerated, and it is usually blocked outside by the firewall. The problem with HTTP alone is that it is mainly a mechanism to transfer files to the client. To create a better web service, you need to extend HTTP. SOAP is better to meet this request: it joins a set of HTTP titles and a rich XML that enables communication with complex applications and applications on the Internet. What does SOAP do and not do what SOAP communication protocol uses HTTP to send information about XML format. The regular target of the SOAP specification includes two levels: provide a standard object call protocol for an Internet standard, transmitted through HTTP, and the data is encoded into XML format.
Create an extensible protocol and payload format to upgrade over time. The author of this specification clearly creates a more spicy hand portion of the object model and is excluded from the created part. They pointed out that they don't want to "define all aspects of a distributed object system." This means that there is no distributed garbage accumulation, type safety or version, no two-way HTTP communication, no messaging or pipe process, no reference object, and no activation object. SOAP means simple - can be done on any operating system in any operating system by a developer in a few days. These although not the goals of the SOAP itself, they can be implemented in SOAP environment - not just SOAP. They need you create yourself by any available tools. SOAP Definition SOAP defines a mechanism for transferring commands and parameters in an HTTP client and server. SOAP does not care what operating system, programming language or object model used in server-side or client: In addition to using HTTP transmission, it is independent of other. SOAP is simple. The client sends a request to the server, call the corresponding object, and then the server returns the result. These messages are XML formats and packaged into messages that meet HTTP protocols. SOAP works through the existing internet. You don't need to do anything, it meets any routers, firewalls, or proxy servers. The SOAP customer request is packaged in an HTTP POST (or M-POST) package. The following example taken from the Internet-draft specification: POST / StockQuote HTTP / 1.1 Host: www.stockquoteserver.com Content-Type: text / xml Content-Length: nnnn SOAPMethodName: Some-Namespace-URI # GetLastTradePrice
The above is an example of a request; the response to this request is listed below: http / 1.1 200 ok content-type: text / xml content-length: nnnn