• 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>
  • 相关阅读:
    Http异常状态码解决方案。
    integer 面试题。
    int转换为String,常用的四种方法。
    Implicit super constructor Array() is undefined for default constructor. Must define an explicit constructor
    Eclipse的常用设置。
    构造方法详解。
    this关键字。
    面向对象--构造方法知识点。
    生成1-100之间的随机数。
    redis回顾
  • 原文地址:https://www.cnblogs.com/wobuchifanqie/p/10752836.html
Copyright © 2020-2023  润新知