You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/04/08 10:12:54 UTC

cvs commit: ws-axis/c/deploy/wsdls doclitfault.wsdl ref.wsdl rpcfault.wsdl

samisa      2005/04/08 01:12:54

  Added:       c/deploy/wsdls doclitfault.wsdl ref.wsdl rpcfault.wsdl
  Log:
  Added the correct wsdls for samples
  
  Revision  Changes    Path
  1.1                  ws-axis/c/deploy/wsdls/doclitfault.wsdl
  
  Index: doclitfault.wsdl
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!-- Copyright 2003-2004 The Apache Software Foundation.                      -->
  <!-- (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved                   -->
  <!--                                                                          -->
  <!-- Licensed 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://soapinterop.org" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://soapinterop.org" xmlns:intf="http://soapinterop.org" 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 elementFormDefault="qualified" targetNamespace="http://soapinterop.org" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://soapinterop.org" xmlns:intf="http://soapinterop.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
     <element name="div">
      <complexType>
       <sequence>
        <element name="arg_0_0" type="xsd:int"/>
        <element name="arg_1_0" type="xsd:int"/>
       </sequence>
      </complexType>
     </element>
     <element name="divResponse">
      <complexType>
       <sequence>
        <element name="divReturn" type="xsd:int"/>
       </sequence>
      </complexType>
     </element>
     <complexType name="DivByZeroStruct">
      <sequence>
       <element name="varString" nillable="true" type="xsd:string"/>
       <element name="varInt" type="xsd:int"/>
       <element name="varFloat" type="xsd:float"/>
      </sequence>
     </complexType>
     <element name="DivByZeroStruct" nillable="true" type="impl:DivByZeroStruct"/>
    </schema>
   </wsdl:types>
  
     <wsdl:message name="divRequest">
  
        <wsdl:part element="impl:div" name="parameters"/>
  
     </wsdl:message>
  
     <wsdl:message name="divResponse">
  
        <wsdl:part element="impl:divResponse" name="parameters"/>
  
     </wsdl:message>
  
     <wsdl:message name="DivByZeroStruct">
  
        <wsdl:part element="impl:DivByZeroStruct" name="fault"/>
  
     </wsdl:message>
  
     <wsdl:portType name="MathOps">
  
        <wsdl:operation name="div">
  
           <wsdl:input message="impl:divRequest" name="divRequest"/>
  
           <wsdl:output message="impl:divResponse" name="divResponse"/>
  
           <wsdl:fault message="impl:DivByZeroStruct" name="DivByZeroStruct"/>
  
        </wsdl:operation>
  
     </wsdl:portType>
  
     <wsdl:binding name="MathOpsSoapBinding" type="impl:MathOps">
  
        <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  
        <wsdl:operation name="div">
  
           <wsdlsoap:operation soapAction=""/>
  
           <wsdl:input name="divRequest">
  
              <wsdlsoap:body use="literal"/>
  
           </wsdl:input>
  
           <wsdl:output name="divResponse">
  
              <wsdlsoap:body use="literal"/>
  
           </wsdl:output>
  
           <wsdl:fault name="DivByZeroStruct">
  
              <wsdlsoap:fault name="DivByZeroStruct" use="literal"/>
  
           </wsdl:fault>
  
        </wsdl:operation>
  
     </wsdl:binding>
  
     <wsdl:service name="MathOpsService">
  
        <wsdl:port binding="impl:MathOpsSoapBinding" name="MathOps">
  
           <wsdlsoap:address location="http://localhost/axis/MathOps"/>
  
        </wsdl:port>
  
     </wsdl:service>
  
  </wsdl:definitions>
  
  
  
  1.1                  ws-axis/c/deploy/wsdls/ref.wsdl
  
  Index: ref.wsdl
  ===================================================================
  <?xml version="1.0"?>
  <!-- Copyright 2003-2004 The Apache Software Foundation.                      -->
  <!--                                                                          -->
  <!-- Licensed 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 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/">
  
  
  
  	<types>
  
  		<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/xsd">
  
  	                <import namespace = "http://schemas.xmlsoap.org/soap/encoding/"/>
  
  			
  
  			<element name="intItem" type="int" />
  
  			<complexType name="intType">
  
  			<sequence>
  
  			<element ref="s:intItem" />
  
  			</sequence>
  
  			</complexType>
  
  
  
  
  
  		</schema>
  
  	</types>
  
  	<message name="echoIntRequest">
  
  	      <part name ="inputIntType" type="s:intType"/>
  
  	</message> 
  
  	<message name="echoIntResponse">
  
  	       <part name ="return" type="s:intType"/>
  
          </message> 
  
  	
  
  	<portType name="RefTestPortType">
  
  	        <operation name="echoInt" parameterOrder="inputIntType">
  
  		        <input message="tns:echoIntRequest"/>
  
  		        <output message="tns:echoIntResponse"/>
  
  		</operation>			
  
  		</portType>
  
  
  
  	<binding name="RefTestSoapBinding" type="tns:RefTestPortType">
  
  		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  
                 <operation name="echoInt">
  
                    <soap:operation soapAction="ref#echoInt"/>
  
                    <input>
  
                        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  
                    </input>
  
                    <output>
  
                        <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  
                    </output>
  
                 </operation>						
  
  	       
  
  	</binding>
  
   	<service name="ref">
  
      		<port binding="tns:RefTestSoapBinding" name="RefTest">
  
        		<soap:address location="http://localhost/axis/ref"/>
  
      		</port>
  
    	</service>
  
  </definitions>
  
  
  
  
  1.1                  ws-axis/c/deploy/wsdls/rpcfault.wsdl
  
  Index: rpcfault.wsdl
  ===================================================================
  <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://soapinterop.org/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://soapinterop.org/types" targetNamespace="http://soapinterop.org/wsdl">
  <!-- Copyright 2003-2004 The Apache Software Foundation.                      -->
  <!--                                                                          -->
  <!-- Licensed 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.                                           -->
  
  	<types>
  		<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://soapinterop.org/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://soapinterop.org/types">
  			<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  			<complexType name="DivByZeroStruct">
  				<sequence>
  					<element name="varString" type="xsd:string"/>
  					<element name="varInt" type="xsd:int"/>
  					<element name="varFloat" type="xsd:float"/>
  				</sequence>
  			</complexType>
  		</schema>
  	</types>
  	<message name="DivByZeroFault">
  		<part name="faultstruct1" type="ns2:DivByZeroStruct"/>
  	</message>
  	<message name="divRequest">
  		<part name="int0" type="xsd:int"/>
  		<part name="int1" type="xsd:int"/>
  	</message>
  	<message name="divResponse">
  		<part name="addReturn" type="xsd:int"/>
  	</message>
  	<portType name="MathOps">
  		<operation name="div" parameterOrder ="int0 int1">
  			<input message="tns:divRequest"/>
  			<output message="tns:divResponse"/>
  			<fault name="DivByZero" message="tns:DivByZeroFault"/>
  		 </operation>
  	</portType>
  	<binding name="MathOpsBinding" type="tns:MathOps">
  		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  		<operation name="div">
  			  <soap:operation soapAction="MathOps#div"/>
                  <input name="divRequest">
                      <soap:body 
                          encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
                          namespace="http://localhost/axis/MathOps" 
                          use="encoded"/>
                  </input>
                  <output name="divResponse">
                      <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
                          namespace="http://localhost/axis/MathOps" 
                          use="encoded"/>
                  </output>
  			<fault name="DivByZero">
  				<soap:fault name="DivByZero" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://soapinterop.org/wsdl"/>
  			</fault>
  			</operation>
  		</binding>
  	<service name="MathOps">
  		<port name="MathOps" binding="tns:MathOpsBinding">
  			<soap:address location="http://localhost/axis/MathOps"/>
  		</port>
  	</service>
  	<!-- Fault messages -->
  </definitions>