• Solicit/Response: The reverse of Request/Response. The Web service sends a message to the client, and then the client sends a response message to the Web service.
• Notification: The reverse of One Way. The Web service sends a message to the client, but receives no response message in return.
The WSDL document does not contain special attributes for describing how an operation is called. Instead, you must infer this information by the arrange- ment and inclusion (or exclusion) of input and output messages. Although I have used the concept of request and response messages to describe the interaction between Web service and client, this model does not really apply in a WSDL doc- ument. Instead, I refer to input and output messages. The difference may be semantic, but in a WSDL document, Web services never make requests, or send input messages to a client. Any message that originates from a Web service is referred to as an output message, even in Solicit/Response or Notification mode. Accordingly, here is how you define each of the four modes in WSDL:
• Request/Response: The client sends a request message to the Web service, and the Web service returns a response message.
đang được dịch, vui lòng đợi..
