interoptest.wsdl

来自「开源的axis2框架的源码。用于开发WEBSERVER」· WSDL 代码 · 共 737 行 · 第 1/3 页

WSDL
737
字号
<?xml version="1.0"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements. See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership. The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License. You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied. See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->

<!-- This WSDL file is a combination of the InteropTest.wsdl -->
<!-- and InteropTest2.wsdl files from White Mesa -->
<definitions name="InteropTest" targetNamespace="http://soapinterop.org/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://soapinterop.org/" xmlns:s="http://soapinterop.org/xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xml-soap="http://xml.apache.org/xml-soap">

    <!-- These are the types defined for Round 2 A and B -->
    <!-- These types were copied from white mesa InteropTest.wsdl/InteropTestB.wsdl -->
    <types>
        <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/xsd">
            <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
            <complexType name="ArrayOfstring">
                <complexContent>
                    <restriction base="SOAP-ENC:Array">
                        <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="string[]"/>
                    </restriction>
                </complexContent>
            </complexType>
            <complexType name="ArrayOfint">
                <complexContent>
                    <restriction base="SOAP-ENC:Array">
                        <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="int[]"/>
                    </restriction>
                </complexContent>
            </complexType>
            <complexType name="ArrayOffloat">
                <complexContent>
                    <restriction base="SOAP-ENC:Array">
                        <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="float[]"/>
                    </restriction>
                </complexContent>
            </complexType>
            <complexType name="ArrayOfSOAPStruct">
                <complexContent>
                    <restriction base="SOAP-ENC:Array">
                        <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="s:SOAPStruct[]"/>
                    </restriction>
                </complexContent>
            </complexType>
            <complexType name="SOAPStruct">
                <all>
                    <element name="varString" type="string"/>
                    <element name="varInt" type="int"/>
                    <element name="varFloat" type="float"/>
                </all>
            </complexType>
            <complexType name="SOAPStructStruct">
                <all>
                    <element name="varString" type="string"/>
                    <element name="varInt" type="int"/>
                    <element name="varFloat" type="float"/>
                    <element name="varStruct" type="s:SOAPStruct"/>
                </all>
            </complexType>
            <complexType name="SOAPArrayStruct">
                <all>
                    <element name="varString" type="string"/>
                    <element name="varInt" type="int"/>
                    <element name="varFloat" type="float"/>
                    <element name="varArray" type="s:ArrayOfstring"/>
                </all>
            </complexType>
            <complexType name="ArrayOfString2D">
                <complexContent>
                    <restriction base="SOAP-ENC:Array">
                        <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[,]"/>
                    </restriction>
                </complexContent>
            </complexType>

            <complexType name="ArrayOfMap">
                <complexContent>
                    <restriction base="SOAP-ENC:Array">
                        <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xml-soap:Map[]"/>
                    </restriction>
                </complexContent>
            </complexType>
        </schema>
    </types>

    <!-- message, portType and binding for Round 2 tests -->
    <!-- Copied from white mesa InteropTest.wsdl -->
    <message name="echoStringRequest">
        <part name="inputString" type="xsd:string"/>
    </message>
    <message name="echoStringResponse">
        <part name="return" type="xsd:string"/>
    </message>
    <message name="echoStringArrayRequest">
        <part name="inputStringArray" type="s:ArrayOfstring"/>
    </message>
    <message name="echoStringArrayResponse">
        <part name="return" type="s:ArrayOfstring"/>
    </message>
    <message name="echoIntegerRequest">
        <part name="inputInteger" type="xsd:int"/>
    </message>
    <message name="echoIntegerResponse">
        <part name="return" type="xsd:int"/>
    </message>
    <message name="echoIntegerArrayRequest">
        <part name="inputIntegerArray" type="s:ArrayOfint"/>
    </message>
    <message name="echoIntegerArrayResponse">
        <part name="return" type="s:ArrayOfint"/>
    </message>
    <message name="echoFloatRequest">
        <part name="inputFloat" type="xsd:float"/>
    </message>
    <message name="echoFloatResponse">
        <part name="return" type="xsd:float"/>
    </message>
    <message name="echoFloatArrayRequest">
        <part name="inputFloatArray" type="s:ArrayOffloat"/>
    </message>
    <message name="echoFloatArrayResponse">
        <part name="return" type="s:ArrayOffloat"/>
    </message>
    <message name="echoStructRequest">
        <part name="inputStruct" type="s:SOAPStruct"/>
    </message>
    <message name="echoStructResponse">
        <part name="return" type="s:SOAPStruct"/>
    </message>
    <message name="echoStructArrayRequest">
        <part name="inputStructArray" type="s:ArrayOfSOAPStruct"/>
    </message>
    <message name="echoStructArrayResponse">
        <part name="return" type="s:ArrayOfSOAPStruct"/>
    </message>
    <message name="echoVoidRequest"/>
    <message name="echoVoidResponse"/>
    <message name="echoBase64Request">
        <part name="inputBase64" type="xsd:base64Binary"/>
    </message>
    <message name="echoBase64Response">
        <part name="return" type="xsd:base64Binary"/>
    </message>
    <message name="echoDateRequest">
        <part name="inputDate" type="xsd:dateTime"/>
    </message>
    <message name="echoDateResponse">
        <part name="return" type="xsd:dateTime"/>
    </message>
    <message name="echoHexBinaryRequest">
        <part name="inputHexBinary" type="xsd:hexBinary"/>
    </message>
    <message name="echoHexBinaryResponse">
        <part name="return" type="xsd:hexBinary"/>
    </message>
    <message name="echoDecimalRequest">
        <part name="inputDecimal" type="xsd:decimal"/>
    </message>
    <message name="echoDecimalResponse">
        <part name="return" type="xsd:decimal"/>
    </message>
    <message name="echoBooleanRequest">
        <part name="inputBoolean" type="xsd:boolean"/>
    </message>
    <message name="echoBooleanResponse">
        <part name="return" type="xsd:boolean"/>
    </message>

    <!-- messages for Round 2B tests -->
    <!-- Copied from white mesa InteropTestB.wsdl -->
    <message name="echoStructAsSimpleTypesRequest">
        <part name="inputStruct" type="s:SOAPStruct"/>
    </message>
    <message name="echoStructAsSimpleTypesResponse">
        <part name="outputString" type="xsd:string"/>
        <part name="outputInteger" type="xsd:int"/>
        <part name="outputFloat" type="xsd:float"/>
    </message>
    <message name="echoSimpleTypesAsStructRequest">
        <part name="inputString" type="xsd:string"/>
        <part name="inputInteger" type="xsd:int"/>
        <part name="inputFloat" type="xsd:float"/>
    </message>
    <message name="echoSimpleTypesAsStructResponse">
        <part name="return" type="s:SOAPStruct"/>
    </message>
    <message name="echo2DStringArrayRequest">
        <part name="input2DStringArray" type="s:ArrayOfString2D"/>
    </message>
    <message name="echo2DStringArrayResponse">
        <part name="return" type="s:ArrayOfString2D"/>
    </message>
    <message name="echoNestedStructRequest">
        <part name="inputStruct" type="s:SOAPStructStruct"/>
    </message>
    <message name="echoNestedStructResponse">
        <part name="return" type="s:SOAPStructStruct"/>
    </message>
    <message name="echoNestedArrayRequest">
        <part name="inputStruct" type="s:SOAPArrayStruct"/>
    </message>
    <message name="echoNestedArrayResponse">
        <part name="return" type="s:SOAPArrayStruct"/>
    </message>

    <message name="echoMapRequest">
        <part name="input" type="xml-soap:Map"/>
    </message>
    <message name="echoMapResponse">
        <part name="return" type="xml-soap:Map"/>
    </message>

    <message name="echoMapArrayRequest">
        <part name="input" type="s:ArrayOfMap"/>
    </message>
    <message name="echoMapArrayResponse">
        <part name="return" type="s:ArrayOfMap"/>
    </message>

    <message name="echoTokenRequest">
        <part name="inputToken" type="xsd:token"/>
    </message>
    <message name="echoTokenResponse">
        <part name="return" type="xsd:token"/>
    </message>

    <message name="echoNormalizedStringRequest">
        <part name="inputNormalizedString" type="xsd:normalizedString"/>
    </message>
    <message name="echoNormalizedStringResponse">
        <part name="return" type="xsd:normalizedString"/>
    </message>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?