WSDL 基本服务描述 服务接口定义 operations 抽象定义了Web服务的操作。 操作定义了输入和输出数据流中可以出现的XML消息 类似于java的方法定义 portType 指定Web服务端点所支持的活动的子集。为一系列 operations的集合 为一组能在单个端点上执行的活动提供了一个唯一的 标志符
WSDL ◼ 基本服务描述 ◼ 服务接口定义 ◼ operations ◼ 抽象定义了 Web 服务的操作。 ◼ 操作定义了输入和输出数据流中可以出现的 XML 消息。 ◼ 类似于java的方法定义 ◼ portType : ◼ 指定Web服务端点所支持的活动的子集。为一系列 operations的集合 ◼ 为一组能在单个端点上执行的活动提供了一个唯一的 标志符
WSDL 基本服务描述 服务接口定义 porttype实例 portType name="TEncodeDecode> <operation names'Encodevalue"> <input message"Encode valuerequest"/> <output message"Encode valueresponse"/> <operation> <operation names"Decode value"> <input message" Decodevaluerequest"p> <output message'Decode valueresponse> </operation> </portType>
WSDL ◼ 基本服务描述 ◼ 服务接口定义 ◼ portType实例