rpclit.wsdl

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

WSDL
622
字号
<?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.
  -->
<wsdl:definitions targetNamespace="http://org/apache/axis2/jaxws/proxy/rpclit" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://org/apache/axis2/jaxws/proxy/rpclit" xmlns:intf="http://org/apache/axis2/jaxws/proxy/rpclit" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <wsdl:types>
  <schema targetNamespace="http://org/apache/axis2/jaxws/proxy/rpclit" xmlns="http://www.w3.org/2001/XMLSchema">
  
  <!-- Example of a QName list.  This should map to javax.xml.namespace.QName[] -->
   <xsd:simpleType name="QNameList">
      <xsd:list itemType="xsd:QName"/>
   </xsd:simpleType>
   <element name="QNameList" nillable="true" type="impl:QNameList"/>

  <!-- Example of a Calendar list.  This should map to java.util.Calendar[] -->
   <xsd:simpleType name="CalendarList">   
      <xsd:list itemType="xsd:dateTime"/> 
   </xsd:simpleType>                 
   <element name="CalendarList" nillable="true" type="impl:CalendarList"/>
  
  <!-- Example of a String list.  This should map to java.lang.String[] -->
   <xsd:simpleType name="StringList">   
      <xsd:list itemType="xsd:string"/> 
   </xsd:simpleType>
   <element name="StringList" nillable="true" type="impl:StringList"/>
  
  <!-- Example of a xsd:negativeInteger list.  This should map to java.math.BigInteger[] -->
   <xsd:simpleType name="BigIntegerList">
      <xsd:restriction>     
          <xsd:simpleType> 
             <xsd:list itemType="xsd:negativeInteger"/>
          </xsd:simpleType>
      </xsd:restriction>
   </xsd:simpleType>
   <element name="BigIntegerList" nillable="true" type="impl:BigIntegerList"/>
  
  <!-- Example of a xsd:unsignedInt list.  This should map to long[] -->
   <xsd:simpleType name="LongList">
      <xsd:list>
          <xsd:simpleType>
             <xsd:restriction base="xsd:unsignedInt"/>
          </xsd:simpleType>
      </xsd:list>
   </xsd:simpleType>
   <element name="LongList" nillable="true" type="impl:LongList"/>
   
  <!-- Example of an Enumeration type.  This should map to Enum.java -->  
   <xsd:simpleType name="Enum">
      <xsd:restriction base="xsd:string">
          <xsd:enumeration value="one"/>                      
          <xsd:enumeration value="two"/>                    
          <xsd:enumeration value="three"/>                    
      </xsd:restriction>
   </xsd:simpleType>
   <element name="Enum" nillable="true" type="impl:Enum"/>
 
  <!-- Example of a xsd:enumeration list.  This should map to Enum[] -->  
   <xsd:simpleType name="EnumList">
      <xsd:list itemType="impl:Enum"/> 
   </xsd:simpleType>
   <element name="EnumList" nillable="true" type="impl:EnumList"/>
  
  <!-- Example of a xsd:enumeration embedded list.  This should map to EnumList2[] --> 
   <xsd:simpleType name="EnumList2">
      <xsd:list>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:enumeration value="Apple" />
              <xsd:enumeration value="Orange" />
              <xsd:enumeration value="Grape" />
            </xsd:restriction>
          </xsd:simpleType>
      </xsd:list>
   </xsd:simpleType>
   <element name="EnumList2" nillable="true" type="impl:EnumList2"/> 

   <xsd:complexType name="complexAll">
      <xsd:all>
          <xsd:element name="myInt" type="xsd:int"/>
          <xsd:element name="myString" type="xsd:string"/>
          <xsd:element name="Enum" type="impl:Enum"/>
          <xsd:element name="myQNameList" type="impl:QNameList"/>
          <xsd:element name="myCalendarList" type="impl:CalendarList"/>
          <xsd:element name="myStringList" type="impl:StringList"/>
          <xsd:element name="myBigIntegerList" type="impl:BigIntegerList"/>
          <xsd:element name="myLongList" type="impl:LongList"/>
          <xsd:element name="myEnumList" type="impl:EnumList"/>
          <xsd:element name="myEnumList2" type="impl:EnumList2"/>
      </xsd:all>
   </xsd:complexType>
   
   <xsd:element name="headerParam" type="xsd:string" />
   <xsd:element name="headerReturn" type="xsd:string" />
   
    <xsd:element name="myFault" type="xsd:int" />
  </schema>
 </wsdl:types>

   <wsdl:message name="testListsResponse">

      <wsdl:part name="testListsReturn" type="impl:QNameList"/>

   </wsdl:message>

   <wsdl:message name="testListsRequest">

      <wsdl:part name="arg_0_0" type="impl:QNameList"/>

      <wsdl:part name="arg_1_0" type="impl:CalendarList"/>

      <wsdl:part name="arg_2_0" type="impl:StringList"/>
      
      <wsdl:part name="arg_3_0" type="impl:BigIntegerList"/>
      
      <wsdl:part name="arg_4_0" type="impl:LongList"/>
      
      <wsdl:part name="arg_5_0" type="impl:EnumList"/>
      
      <wsdl:part name="arg_7_0" type="impl:EnumList2"/>
      
      <wsdl:part name="arg_6_0" type="impl:complexAll"/>

   </wsdl:message>
   
   
   <wsdl:message name="testCalendarList1Response">

      <wsdl:part name="testCalendarList1Return" type="impl:CalendarList"/>

   </wsdl:message>

   <wsdl:message name="testCalendarList1Request">

      <wsdl:part name="arg_1_0" type="impl:CalendarList"/>

   </wsdl:message>
   
   <wsdl:message name="testStringList2Response">

      <wsdl:part name="testStringList2Return" type="impl:StringList"/>

   </wsdl:message>

   <wsdl:message name="testStringList2Request">

      <wsdl:part name="arg_2_0" type="impl:StringList"/>

   </wsdl:message>
   
   <wsdl:message name="testBigIntegerList3Response">

      <wsdl:part name="testBigIntegerList3Return" type="impl:BigIntegerList"/>

   </wsdl:message>

   <wsdl:message name="testBigIntegerList3Request">

      <wsdl:part name="arg_3_0" type="impl:BigIntegerList"/>

   </wsdl:message>
   
   <wsdl:message name="testLongList4Response">

      <wsdl:part name="testLongList4Return" type="impl:LongList"/>

   </wsdl:message>

   <wsdl:message name="testLongList4Request">

      <wsdl:part name="arg_4_0" type="impl:LongList"/>

   </wsdl:message>
   
   <wsdl:message name="testEnumList5Response">

      <wsdl:part name="testEnumList5Return" type="impl:EnumList"/>

   </wsdl:message>

   <wsdl:message name="testEnumList5Request">

      <wsdl:part name="arg_5_0" type="impl:EnumList"/>

   </wsdl:message>
   
   <wsdl:message name="testEnumList7Response">

      <wsdl:part name="testEnumList7Return" type="impl:EnumList2"/>

   </wsdl:message>

   <wsdl:message name="testEnumList7Request">

      <wsdl:part name="arg_7_0" type="impl:EnumList2"/>

   </wsdl:message>

   <wsdl:message name="testComplexAll6Response">

      <wsdl:part name="testComplexAll6Return" type="impl:complexAll"/>

   </wsdl:message>

   <wsdl:message name="testComplexAll6Request">

      <wsdl:part name="arg_6_0" type="impl:complexAll"/>

   </wsdl:message>

   <wsdl:message name="testSimpleRequest">

      <wsdl:part name="simpleIn" type="xsd:string"/>

   </wsdl:message>

   <wsdl:message name="testSimpleResponse">

      <wsdl:part name="simpleOut" type="xsd:string"/>

   </wsdl:message>
   
   <wsdl:message name="testSimpleInOutRequest">

      <wsdl:part name="simpleInOut" type="xsd:string"/>

   </wsdl:message>

   <wsdl:message name="testSimpleInOutResponse">

      <wsdl:part name="simpleOut" type="xsd:string"/>
      <wsdl:part name="simpleInOut" type="xsd:string"/>

   </wsdl:message>
   
   <wsdl:message name="testSimple2Request">

      <wsdl:part name="simple2In1" type="xsd:string"/>
      <wsdl:part name="simple2In1" type="xsd:string"/>

   </wsdl:message>

   <wsdl:message name="testSimple2Response">

      <wsdl:part name="simple2Out" type="xsd:string"/>

   </wsdl:message>
   
   <wsdl:message name="testHeaderRequest">

      <wsdl:part name="bodyParam" type="xsd:string"/>
      <wsdl:part name="headerParam" element="impl:headerParam"/>

   </wsdl:message>

   <wsdl:message name="testHeaderResponse">

      <wsdl:part name="headerReturn" type="impl:headerReturn" />

   </wsdl:message>
   
   <wsdl:message name="testFaultRequest" />
   <wsdl:message name="testFaultResponse" />
   
   <wsdl:message name="rpcFault">
     <wsdl:part name="rpcFault" element="impl:myFault" />
   </wsdl:message>

   <wsdl:portType name="RPCLit">
     
      <wsdl:operation name="testSimple" parameterOrder="simpleIn">

         <wsdl:input message="impl:testSimpleRequest" name="testSimpleRequest"/>

         <wsdl:output message="impl:testSimpleResponse" name="testSimpleResponse"/>

      </wsdl:operation>
      
       <wsdl:operation name="testSimpleInOut" parameterOrder="simpleInOut">

         <wsdl:input message="impl:testSimpleInOutRequest" name="testSimpleInOutRequest"/>

         <wsdl:output message="impl:testSimpleInOutResponse" name="testSimpleInOutResponse"/>

      </wsdl:operation>
      
      <wsdl:operation name="testSimple2" parameterOrder="simple2In1 simple2In2">

         <wsdl:input message="impl:testSimple2Request" name="testSimple2Request"/>

         <wsdl:output message="impl:testSimple2Response" name="testSimple2Response"/>

      </wsdl:operation>
      
      <wsdl:operation name="testHeader" parameterOrder="bodyParam headerParam">

         <wsdl:input message="impl:testHeaderRequest" name="testHeaderRequest"/>

⌨️ 快捷键说明

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