首页 技术 正文
技术 2022年11月20日
0 收藏 953 点赞 3,973 浏览 2434 个字

webservice学习01:wsdl文档结构

wsdl文档结构

webservice学习01:wsdl文档结构

WSDL文档示例

<wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://impl.ws.newyork.zjport.gov.cn/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns2="http://schemas.xmlsoap.org/soap/http" xmlns:ns1="http://ws.newyork.zjport.gov.cn/" name="ReceiveEncryptDeclareServiceImplService" targetNamespace="http://impl.ws.newyork.zjport.gov.cn/">    <wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://ws.newyork.zjport.gov.cn/" elementFormDefault="unqualified" targetNamespace="http://ws.newyork.zjport.gov.cn/" version="1.0">
<xs:element name="receive" type="tns:receive"/>
<xs:element name="receiveResponse" type="tns:receiveResponse"/>
<xs:complexType name="receive">
<xs:sequence>
<xs:element minOccurs="0" name="content" type="xs:string"/>
<xs:element minOccurs="0" name="msgType" type="xs:string"/>
<xs:element minOccurs="0" name="dataDigest" type="xs:string"/>
<xs:element minOccurs="0" name="sendCode" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="receiveResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types> <wsdl:message name="receiveResponse">
<wsdl:part element="ns1:receiveResponse" name="parameters"> </wsdl:part>
</wsdl:message> <wsdl:message name="receive">
<wsdl:part element="ns1:receive" name="parameters"> </wsdl:part>
</wsdl:message> <wsdl:portType name="ReceiveEncryptDeclareService">
<wsdl:operation name="receive">
<wsdl:input message="ns1:receive" name="receive"> </wsdl:input>
<wsdl:output message="ns1:receiveResponse" name="receiveResponse"> </wsdl:output>
</wsdl:operation>
</wsdl:portType> <wsdl:binding name="ReceiveEncryptDeclareServiceImplServiceSoapBinding" type="ns1:ReceiveEncryptDeclareService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="receive">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="receive">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="receiveResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding> <wsdl:service name="ReceiveEncryptDeclareServiceImplService">
<wsdl:port binding="tns:ReceiveEncryptDeclareServiceImplServiceSoapBinding" name="ReceiveEncryptDeclareServiceImplPort">
<soap:address location="http://122.224.230.4:18003/newyorkWS/ws/ReceiveEncryptDeclare"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,028
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,518
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,367
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,146
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,781
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,859