zoukankan      html  css  js  c++  java
  • webservice学习01:wsdl文档结构

    webservice学习01:wsdl文档结构

    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>
  • 相关阅读:
    Linux 内核剖解(转)
    计算机系统的分层结构
    Linux学习之路三:重要概念之Linux系统层次结构
    库函数与系统调用的联系与区别
    库函数与系统调用
    库函数调用和系统调用的区别
    标准库函数和系统调用的区别
    关于Linux操作系统层次结构分析
    linux标准输入输出
    C语言的标准输入输出
  • 原文地址:https://www.cnblogs.com/wobuchifanqie/p/10752836.html
Copyright © 2011-2022 走看看