Reprinted-----------------------------------------------
Recently looking at XML Schema,xpah, and XSLT, the sense WSDL is a SOAP schema, a soap is a WSDL instance, in fact, the WSDL is the entire WebService schema.
From this point of view, to learn soap well, it is better to start from the XML Schema, and then go to the WSDL learning, so webservice there is no other theoretical things to learn. There is a problem with how the functions within the class library are left.
The Soap/web service/wsdl relationship is described as follows:
- Web Service realizes business demand: Web Service is the one that really "works".
- WSDL provides "a description of what can be done": I want to help you, but I want to tell you what I can do, and what kind of parameters I need to do these things.
- SOAP provides specification for "request": you want to let people do things, you have to tell people what you want to do, soap is defined in the "request" format, in accordance with the SOAP definition of "request" format "write" request to ensure that the Web The service can correctly interpret what you want it to do and what parameters you provide for it. The main issues you need to describe in this request are: which Web service to send the request to, the parameter type of the request, the parameter value, the return value type. These are all "filled in" and a SOAP message conforming to the SOAP specification is completed.
WSDL is a service interface, from the outside it is the service provider, no WSDL is equivalent to no service provider, soap is a two-way communication channel between the service provider and the consumer, the service provider to the consumer WSDL, this is the consensus reached between the two. Soap was developed on the basis of parsing and adhering to the WSDL document format. Without a WSDL document, you cannot develop a SOAP.SOAP is a transport protocol attached to an HTTP protocol that is used to establish a connection between a service party and a consumer, and the transmitted data format is defined by WSDL.
Of the three components in the WebService Wsdl,soap,uddi, only UDDI is optional and the other two are required.
Soap/web service/wsdl Relationship