gorilla_dlw.wsdl

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

WSDL
826
字号
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ 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.
  -->
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
    xmlns:s="http://www.w3.org/2001/XMLSchema" 
    targetNamespace="http://org/apache/axis2/jaxws/proxy/gorilla_dlw" 
    xmlns:tns="http://org/apache/axis2/jaxws/proxy/gorilla_dlw" 
    xmlns:data="http://org/apache/axis2/jaxws/proxy/gorilla_dlw/data"
    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"  jaxb:version="2.0"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
  <types>
    <!-- Use elementFormDefault=qualified.  Many users use this setting for interop compatibility -->
    <s:schema elementFormDefault="qualified" 
        xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"  jaxb:version="2.0"
        targetNamespace="http://org/apache/axis2/jaxws/proxy/gorilla_dlw/data" >

      <s:import namespace="http://org/apache/axis2/jaxws/proxy/gorilla_dlw/data2"  />

      <s:element name="assertFault">
        <s:complexType>
           <s:sequence>
             <s:element name="faultData" type="s:string" />
           </s:sequence>
        </s:complexType>
      </s:element>

      <s:simpleType name="stringList">   
        <s:list itemType="s:string"/> 
      </s:simpleType>

      <s:simpleType name="fruit">
         <s:restriction base="s:string">
            <s:enumeration value="apple"/>                      
            <s:enumeration value="orange"/>                    
            <s:enumeration value="pear"/>                    
         </s:restriction>
      </s:simpleType>

      <s:complexType name="Object0">
         <s:sequence>
           <s:element name="data0" type="s:string" />
         </s:sequence>
      </s:complexType>

      <!-- Echo a String.  This also supports the situation where there is no string -->
      <s:element name="echoString">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="data" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoStringResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="result" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Echo combined String-->
      <s:element name="echoString2">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="data" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="inout" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoString2Response">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="inout" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Echo int -->
      <s:element name="echoInt">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="data" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoIntResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="result" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Echo enum -->
      <s:element name="echoEnum">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="data" type="data:fruit" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoEnumResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="result" type="data:fruit" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Echo anyType.  Test polymorphism -->
      <s:element name="echoAnyType">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="data" type="s:anyType" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoAnyTypeResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="result" type="s:anyType" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Echo stringList.  Tests xsd:list-->
      <!-- Both the SEI and the bean use List String to represent the data.  -->
      <!-- But there are some semantic differences between this and echoStringArray -->
      <!-- due to xml differences between xsd:list and maxOccurs unbounded -->
      <s:element name="echoStringList">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="data" type="data:stringList" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="echoStringListResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="result" type="data:stringList" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Just like stringList, except the SEI parameter is manually changed to String[] -->
      <!-- This will test List <-> java Array processing -->
      <s:element name="echoStringListAlt">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="data" type="data:stringList" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="echoStringListAltResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="result" type="data:stringList" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Just like stringList, except the SEI parameter is manually changed to LinkedList String -->
      <!-- This will test List <-> java Array processing -->
      <s:element name="echoStringListAsLinkedList">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="data" type="data:stringList" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="echoStringListAltAsLinkedListResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="result" type="data:stringList" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- The SEI and bean property map to List List String -->
      <s:element name="echoStringListArray">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="data" type="data:stringList" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="echoStringListArrayResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="result" type="data:stringList" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Echo a String aray. -->
      <!-- Probably the most common case.  Both the SEI and bean are mapped to List String -->
      <!-- The xml maxOccurs semantics are used to marshal and unmarshal the values... -->
      <!-- Which makes this a little different than the echoStringList case -->
      <s:element name="echoStringArray">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="data" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoStringArrayResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="result" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Same as echoStringArray, except the SEI is manually changed to String[] -->
      <s:element name="echoStringArrayAlt">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="data" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoStringArrayAltResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="result" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Same as echoStringArray, except the SEI is manually changed to LinkedList String -->
      <s:element name="echoStringArrayAsLinkedList">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="data" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoStringArrayAsLinkedListResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="result" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Echo Indexed String Array -->
      <!-- In this case the parameter is a List String, but the bean property uses the indexed -->
      <!-- setter/getter style methods -->
      <s:element name="echoIndexedStringArray">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="data" type="s:string" >
              <s:annotation>
                <s:appinfo>
                  <jaxb:property collectionType="indexed" />
                </s:appinfo>
              </s:annotation>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoIndexedStringArrayResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="result" type="s:string" >
              <s:annotation>
                <s:appinfo>
                  <jaxb:property collectionType="indexed" />
                </s:appinfo>
              </s:annotation>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Echo combined String-->
      <s:element name="echoString2Array">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="data" type="s:string" />
            <s:element minOccurs="0" maxOccurs="unbounded" name="inout" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoString2ArrayResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="inout" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Echo int -->
      <s:element name="echoIntArray">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="data" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoIntArrayResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="result" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Echo enum -->
      <s:element name="echoEnumArray">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="data" type="data:fruit" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoEnumArrayResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="result" type="data:fruit" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <!-- Echo anyType.  Test polymorphism -->
      <s:element name="echoAnyTypeArray">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="data" type="s:anyType" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="echoAnyTypeArrayResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="result" type="s:anyType" />
          </s:sequence>
        </s:complexType>
      </s:element>

    </s:schema>

    <s:schema elementFormDefault="qualified" 
        targetNamespace="http://org/apache/axis2/jaxws/proxy/gorilla_dlw/data2" >
        
        <!-- For anyType processing,  Object1 is in an imported schema, thus it should be allowed in the anyType -->
        <s:complexType name="Object1">
           <s:sequence>
             <s:element name="data1" type="s:string" />
           </s:sequence>
        </s:complexType>
    </s:schema>

   <s:schema elementFormDefault="qualified" 
        targetNamespace="http://org/apache/axis2/jaxws/proxy/gorilla_dlw/dataUnref" >
        
        <!-- For anyType processing,  Object2 is in an unreferenced schema, thus may fail when used with anyType -->
        <s:complexType name="Object2">
           <s:sequence>
             <s:element name="data2" type="s:string" />
           </s:sequence>
        </s:complexType>
    </s:schema>
 


  </types>

  <!-- messages -->
  <message name="assertFault">
    <part name="x" element="data:assertFault" />
  </message>

  <message name="echoString">
    <part name="x" element="data:echoString" />
  </message>
  <message name="echoStringResponse">
    <part name="x" element="data:echoStringResponse" />
  </message>

  <message name="echoString2">
    <part name="x" element="data:echoString2" />
  </message>
  <message name="echoString2Response">
    <part name="x" element="data:echoString2Response" />
  </message>

  <message name="echoInt">
    <part name="x" element="data:echoInt" />
  </message>
  <message name="echoIntResponse">
    <part name="x" element="data:echoIntResponse" />

⌨️ 快捷键说明

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