<?xml version="1.0" encoding="UTF-8"?> <definitions name="HelloWordSvc" targetNamespace="http://eip.zte.com/sc/HelloWordSvc" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://eip.zte.com/sc/HelloWordSvc" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://eip.zte.com/sc/HelloWordSvc" > <types> <schema xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://www.test.sample.com/sc/HelloWordSvc" schemaLocation="HelloWordSvc.xsd"/> </schema> </types> <!-- message元素包括输入和输出参数的定义 --> <message name="HelloWordSvcRequestMessage"> <part name="payload" element="tns:HelloWordSvcRequest"/> </message> <message name="HelloWordSvcResponseMessage"> <part name="payload" element="tns:HelloWordSvcResponse"/> </message> <!-- 引用消息message部分中消息定义来描述函数签名(操作名、输入参数、输出参数) --> <portType name="HelloWordSvc"> <operation name="process"> <input message="tns:HelloWordSvcRequestMessage"/> <output message="tns:HelloWordSvcResponseMessage"/> </operation> </portType> <!-- PortTypes部分中的每一个操作都在此绑定实现 --> <binding name="HelloWordSvcBinding" type="tns:HelloWordSvc"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="process"> <soap:operation style="document" soapAction="process"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> <!-- 确定每一绑定的端口地址 --> <service name="HelloWordSvc"> <port name="HelloWordSvcPort" binding="tns:HelloWordSvcBinding"> <soap:address location="http://localtest1:7777/orabpel/default/HelloWordSvc/1.0"/> </port> </service> <plnk:partnerLinkType name="HelloWordSvc"> <plnk:role name="HelloWordSvcProvider"> <plnk:portType name="tns:HelloWordSvc"/> </plnk:role> </plnk:partnerLinkType> </definitions>
Web Service 的描述语言WSDL说明
猜你喜欢
转载自tivan.iteye.com/blog/1060810
今日推荐
周排行