1.WebService invocation principle Implementing a complete Web service consists of the following steps :
The Web service provider designs the implementation Web service and publishes the correct Web service through the Web Service Broker and registers with the UDDI registry; (publish)
A Web service requester requests a specific service from a Web Service Broker, who queries the UDDI registry on request, and finds the service that satisfies the request for the requestor;
The Web service mediator returns to the Web service requester the Web Service description information that satisfies the condition, which is written in WSDL and can be read by various machines that support Web services;
Generate the corresponding SOAP message from the description information returned by the Web service mediator and send it to the Web service provider for the invocation of the Web Service; (binding)
The Web service provider executes the corresponding Web service by SOAP message and returns the result of the service to the Web service requester. Binding
Three, call mode: 1. . The simple and flexible method of dynamically calling WebService using Get/post/soap mode (C #)
There are 3 ways to call WebService
1). HttpGet
2). HttpPost
3). HttpSoap
The advantage of soap is that it can pass structured data, while the first two do not.
BTW, soap ultimately also uses HTTP to send XML
Websrevice (2)