WSDL2.0

来源:互联网 发布:娱乐圈乱 知乎匿名 编辑:程序博客网 时间:2024/05/16 11:43

WSDL2.0包含三个部分:

      第一部分是核心语言部分规格说明,用于描述Web Services所提供的服务的抽象模型的,并且也定义对WSDL进行处理的处理工具应该遵守的标准。

      第二部分是消息交换模式规格说明,定义服务操作发送和接受的抽象消息的顺序和标准。

     第三部分是服务绑定规格说明定义一种用于描述针对SOAP1.2,HTTP,MIME具体详细西街的语言

 

The WSDL Version 2.0 Part 2: Message Exchange Patterns specification [WSDL 2.0 Predefined Extensions] defines the sequence and cardinality of abstract messages sent or received by an operation. The WSDL Version 2.0 Part 3: Bindings specification [WSDL 2.0 Bindings] defines a language for describing such concrete details for SOAP 1.2 [SOAP 1.2 Part 1: Messaging Framework], HTTP [IETF RFC 2616] and MIME [IETF RFC 2045].

1.1 Web Service

WSDL describes a Web service in two fundamental stages: one abstract and one concrete. Within each stage, the description uses a number of constructs to promote reusability of the description and separate independent design concerns.

At an abstract level, WSDL describes a Web service in terms of the messages it sends and receives; messages are described independent of a specific wire format using a type system, typically XML Schema.

An operation associates a message exchange pattern with one or more messages. A message exchange pattern identifies the sequence and cardinality of messages sent and/or received as well as who they are logically sent to and/or received from. An interface groups together operations without any commitment to transport or wire format.

At a concrete level, a binding specifies transport and wire format details for one or more interfaces. An endpoint associates a network address with a binding. And finally, a service groups together endpoints that implement a common interface.

WSDL描述Web Services的两个阶段:抽象的和具体的。在每一个阶段,都是使用许多根据设计拆分的独立的描述文档来构成一个新的描述文档以提高描述文档的可重用性。

在一个抽象级别,WSDL是根据Web Service发送和接受的消息来描述Web Service的;消息是使用类型系统,典型的是XML Schema,来描述成独立的特定的报文格式。

操作所关心的是消息之间的交换模式。一个消息交换模式

原创粉丝点击