You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2006/03/20 03:26:26 UTC
svn commit: r387111 [2/14] - in /webservices/axis2/trunk/c: ./ include/
modules/wsdl/ modules/wsdl/builder/ test/resources/wsdl/ test/wsdl/
test/wsdl/builder/ test/wsdl/builder/print/ test/wsdl/builder/print/.deps/
Added: webservices/axis2/trunk/c/test/resources/wsdl/ComplexLists.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/wsdl/ComplexLists.wsdl?rev=387111&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/wsdl/ComplexLists.wsdl (added)
+++ webservices/axis2/trunk/c/test/resources/wsdl/ComplexLists.wsdl Sun Mar 19 18:26:16 2006
@@ -0,0 +1,192 @@
+<?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://complexlist.test.apache.org" xmlns:impl="http://complexlist.test.apache.org" xmlns:intf="http://complexlist.test.apache.org" xmlns:tns2="http://complexlistservice.test.apache.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://complexlistservice.test.apache.org" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://complexlistImpl.test.apache.org" xmlns:intf="http://complexlistIntf.test.apache.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <complexType name="m_list">
+ <sequence>
+ <element maxOccurs="unbounded" name="item" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <complexType name="attrlist">
+ <sequence>
+ <element maxOccurs="unbounded" name="item" nillable="true" type="tns2:namepair"/>
+ </sequence>
+ </complexType>
+ <complexType name="namepair">
+ <sequence>
+ <element name="m_list" nillable="true" type="tns2:m_list"/>
+ <element name="name" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <complexType name="attrlisterr">
+ <sequence>
+ <element name="attrlist" nillable="true" type="tns2:attrlist"/>
+ <element name="errorcode" type="xsd:int"/>
+ <element name="errortext" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </schema>
+ <schema elementFormDefault="qualified" targetNamespace="http://complexlist.test.apache.org" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://complexlistImpl2.test.apache.org" xmlns:intf="http://complexlistIntf2.test.apache.org" xmlns:tns2="http://complexlistservice.test.apache.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <import namespace="http://complexlistservice.test.apache.org"/>
+ <element name="multilist">
+ <complexType>
+ <sequence>
+ <element name="arg_0_0" nillable="true" type="tns2:m_list"/>
+ <element name="arg_1_0" nillable="true" type="tns2:attrlist"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="multilistResponse">
+ <complexType>
+ <sequence>
+ <element name="multilistReturn" nillable="true" type="tns2:attrlisterr"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="multilistnil">
+ <complexType>
+ <sequence>
+ <element name="arg_0_3" nillable="true" type="tns2:m_list"/>
+ <element name="arg_1_3" nillable="true" type="tns2:attrlist"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="multilistnilResponse">
+ <complexType>
+ <sequence>
+ <element name="multilistnilReturn" nillable="true" type="tns2:attrlisterr"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="complexlist">
+ <complexType>
+ <sequence>
+ <element name="arg_0_2" nillable="true" type="tns2:attrlist"/>
+ <element name="arg_1_2" nillable="true" type="xsd:string"/>
+ <element name="arg_2_2" nillable="true" type="tns2:attrlist"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="complexlistResponse">
+ <complexType>
+ <sequence>
+ <element name="complexlistReturn" nillable="true" type="tns2:attrlisterr"/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </wsdl:types>
+
+ <wsdl:message name="complexlistResponse">
+
+ <wsdl:part element="impl:complexlistResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="complexlistRequest">
+
+ <wsdl:part element="impl:complexlist" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="multilistRequest">
+ <wsdl:part element="impl:multilist" name="parameters"/>
+ </wsdl:message>
+
+ <wsdl:message name="multilistResponse">
+ <wsdl:part element="impl:multilistResponse" name="parameters"/>
+ </wsdl:message>
+
+ <wsdl:message name="multilistnilRequest">
+ <wsdl:part element="impl:multilistnil" name="parameters"/>
+ </wsdl:message>
+
+ <wsdl:message name="multilistnilResponse">
+ <wsdl:part element="impl:multilistnilResponse" name="parameters"/>
+ </wsdl:message>
+
+ <wsdl:portType name="ComplexLists">
+
+ <wsdl:operation name="multilist">
+ <wsdl:input message="impl:multilistRequest" name="multilistRequest"/>
+ <wsdl:output message="impl:multilistResponse" name="multilistResponse"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="multilistnil">
+ <wsdl:input message="impl:multilistnilRequest" name="multilistnilRequest"/>
+ <wsdl:output message="impl:multilistnilResponse" name="multilistnilResponse"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="complexlist">
+
+ <wsdl:input message="impl:complexlistRequest" name="complexlistRequest"/>
+
+ <wsdl:output message="impl:complexlistResponse" name="complexlistResponse"/>
+
+ </wsdl:operation>
+
+ </wsdl:portType>
+
+ <wsdl:binding name="ComplexListsSoapBinding" type="impl:ComplexLists">
+
+ <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="multilist">
+ <wsdlsoap:operation soapAction=""/>
+ <wsdl:input name="multilistRequest">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="multilistResponse">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ <wsdl:operation name="multilistnil">
+ <wsdlsoap:operation soapAction=""/>
+ <wsdl:input name="multilistnilRequest">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="multilistnilResponse">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ <wsdl:operation name="complexlist">
+ <wsdlsoap:operation soapAction=""/>
+ <wsdl:input name="complexlistRequest">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="complexlistResponse">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ </wsdl:binding>
+
+ <wsdl:service name="ComplexListsService">
+
+ <wsdl:port binding="impl:ComplexListsSoapBinding" name="ComplexLists">
+
+ <wsdlsoap:address location="http://localhost:9080/ComplexLists/services/ComplexLists"/>
+
+ </wsdl:port>
+
+ </wsdl:service>
+
+</wsdl:definitions>
+
Added: webservices/axis2/trunk/c/test/resources/wsdl/ComplexTypeAll.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/wsdl/ComplexTypeAll.wsdl?rev=387111&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/wsdl/ComplexTypeAll.wsdl (added)
+++ webservices/axis2/trunk/c/test/resources/wsdl/ComplexTypeAll.wsdl Sun Mar 19 18:26:16 2006
@@ -0,0 +1,81 @@
+<?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. -->
+
+<definitions name="Service"
+ targetNamespace="http://complextype.test.apache.org"
+ xmlns:tns="http://complextype.test.apache.org"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <types>
+ <xsd:schema elementFormDefault="qualified"
+ targetNamespace="http://complextype.test.apache.org"
+ xmlns:tns="http://complextype.test.apache.org">
+ <xsd:element name="myOperation">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="aType" type="tns:aRecord"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:complexType name="aRecord">
+ <xsd:all>
+ <xsd:element name="field1" type="xsd:string" nillable="true"/>
+ <xsd:element name="field2" type="xsd:string" fixed="field2Value"/>
+ <xsd:element name="field3" type="xsd:string" nillable="false"/>
+ </xsd:all>
+ </xsd:complexType>
+
+ <xsd:element name="myOperationResponse">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="result" type="xsd:boolean"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ </types>
+ <message name="request">
+ <part name="parameters" element="tns:myOperation"/>
+ </message>
+ <message name="response">
+ <part name="parameters" element="tns:myOperationResponse"/>
+ </message>
+ <portType name="operations">
+ <operation name="myOperation">
+ <input message="tns:request"/>
+ <output message="tns:response"/>
+ </operation>
+ </portType>
+ <binding name="operationsBinding" type="tns:operations">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+ <operation name="myOperation">
+ <soap:operation soapAction="http://complextype.test.apache.org"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="TestServices">
+ <port name="Service" binding="tns:operationsBinding">
+ <soap:address location="http://localhost:9080/ComplexTypeAll/services/Service"/>
+ </port>
+ </service>
+</definitions>
Added: webservices/axis2/trunk/c/test/resources/wsdl/DataHandlerService.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/wsdl/DataHandlerService.wsdl?rev=387111&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/wsdl/DataHandlerService.wsdl (added)
+++ webservices/axis2/trunk/c/test/resources/wsdl/DataHandlerService.wsdl Sun Mar 19 18:26:16 2006
@@ -0,0 +1,291 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions targetNamespace="http://datahandler.attachment.test.org" xmlns:impl="http://datahandler.attachment.test.org" xmlns:intf="http://datahandler.attachment.test.org" xmlns:tns2="http://xml.apache.org/xml-soap" 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://datahandler.attachment.test.org" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://datahandler.attachment.test.org" xmlns:intf="http://datahandler.attachment.test.org" xmlns:tns2="http://xml.apache.org/xml-soap" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <import namespace="http://xml.apache.org/xml-soap"/>
+ <element name="getContentType">
+ <complexType>
+ <sequence>
+ <element name="arg_0_0" nillable="true" type="tns2:DataHandler"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="getContentTypeResponse">
+ <complexType>
+ <sequence>
+ <element name="getContentTypeReturn" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="saveContent">
+ <complexType>
+ <sequence>
+ <element name="arg_0_1" nillable="true" type="tns2:DataHandler"/>
+ <element name="arg_1_1" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="saveContentResponse">
+ <complexType>
+ <sequence>
+ <element name="saveContentReturn" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="echoContent">
+ <complexType>
+ <sequence>
+ <element name="arg_0_2" nillable="true" type="tns2:DataHandler"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="echoContentResponse">
+ <complexType>
+ <sequence>
+ <element name="echoContentReturn" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="getNoOfBytes">
+ <complexType>
+ <sequence>
+ <element name="arg_0_3" nillable="true" type="tns2:DataHandler"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="getNoOfBytesResponse">
+ <complexType>
+ <sequence>
+ <element name="getNoOfBytesReturn" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="executeClass">
+ <complexType>
+ <sequence>
+ <element name="arg_0_4" nillable="true" type="tns2:DataHandler"/>
+ <element name="arg_1_4" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="executeClassResponse">
+ <complexType>
+ <sequence>
+ <element name="executeClassReturn" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </wsdl:types>
+
+ <wsdl:message name="echoContentRequest">
+
+ <wsdl:part element="impl:echoContent" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="getContentTypeRequest">
+
+ <wsdl:part element="impl:getContentType" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="getContentTypeResponse">
+
+ <wsdl:part element="impl:getContentTypeResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="executeClassResponse">
+
+ <wsdl:part element="impl:executeClassResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="getNoOfBytesResponse">
+
+ <wsdl:part element="impl:getNoOfBytesResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="executeClassRequest">
+
+ <wsdl:part element="impl:executeClass" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="saveContentResponse">
+
+ <wsdl:part element="impl:saveContentResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="saveContentRequest">
+
+ <wsdl:part element="impl:saveContent" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="getNoOfBytesRequest">
+
+ <wsdl:part element="impl:getNoOfBytes" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="echoContentResponse">
+
+ <wsdl:part element="impl:echoContentResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:portType name="DataHandlerService">
+
+ <wsdl:operation name="getContentType">
+
+ <wsdl:input message="impl:getContentTypeRequest" name="getContentTypeRequest"/>
+
+ <wsdl:output message="impl:getContentTypeResponse" name="getContentTypeResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="saveContent">
+
+ <wsdl:input message="impl:saveContentRequest" name="saveContentRequest"/>
+
+ <wsdl:output message="impl:saveContentResponse" name="saveContentResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="echoContent">
+
+ <wsdl:input message="impl:echoContentRequest" name="echoContentRequest"/>
+
+ <wsdl:output message="impl:echoContentResponse" name="echoContentResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="getNoOfBytes">
+
+ <wsdl:input message="impl:getNoOfBytesRequest" name="getNoOfBytesRequest"/>
+
+ <wsdl:output message="impl:getNoOfBytesResponse" name="getNoOfBytesResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="executeClass">
+
+ <wsdl:input message="impl:executeClassRequest" name="executeClassRequest"/>
+
+ <wsdl:output message="impl:executeClassResponse" name="executeClassResponse"/>
+
+ </wsdl:operation>
+
+ </wsdl:portType>
+
+ <wsdl:binding name="DataHandlerServiceSoapBinding" type="impl:DataHandlerService">
+
+ <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="getContentType">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="getContentTypeRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="getContentTypeResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="saveContent">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="saveContentRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="saveContentResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="echoContent">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="echoContentRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="echoContentResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="getNoOfBytes">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="getNoOfBytesRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="getNoOfBytesResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="executeClass">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="executeClassRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="executeClassResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ </wsdl:binding>
+
+ <wsdl:service name="DataHandlerServiceService">
+
+ <wsdl:port binding="impl:DataHandlerServiceSoapBinding" name="DataHandlerService">
+
+ <wsdlsoap:address location="http://localhost:9080/DataHandlerService/services/DataHandlerService"/>
+
+ </wsdl:port>
+
+ </wsdl:service>
+
+</wsdl:definitions>
Added: webservices/axis2/trunk/c/test/resources/wsdl/Enumeration.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/wsdl/Enumeration.wsdl?rev=387111&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/wsdl/Enumeration.wsdl (added)
+++ webservices/axis2/trunk/c/test/resources/wsdl/Enumeration.wsdl Sun Mar 19 18:26:16 2006
@@ -0,0 +1,108 @@
+<?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. -->
+
+<definitions targetNamespace="http://enumeration.test.apache.org" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://enumeration.test.apache.org" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
+ <types>
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://enumeration.test.apache.org" xmlns:tns="http://enumeration.test.apache.org">
+
+ <xsd:element name="getInput">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="type" maxOccurs="1" minOccurs="0" type="tns:Type1" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="getInputResponse">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="type" maxOccurs="1" minOccurs="0" type="tns:Type1" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:complexType name="Type1">
+ <xsd:sequence>
+ <xsd:element name="enum_int" maxOccurs="1" minOccurs="0" type="tns:TypeInt" />
+ <xsd:element name="enum_string" maxOccurs="1" minOccurs="0" type="tns:TypeString" />
+ </xsd:sequence>
+ <xsd:attribute name="att_enum_int" type="tns:TypeInt"/>
+ <xsd:attribute name="att_enum_string" type="tns:TypeString"/>
+ <xsd:attribute name="att_enum_kind">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="CHEQUE" />
+ <xsd:enumeration value="CREDIT_CARD" />
+ <xsd:enumeration value="TRANSFER" />
+ <xsd:enumeration value="WITHDRAWAL" />
+ <xsd:enumeration value="AUTOMATIC" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:complexType>
+
+ <xsd:simpleType name="TypeInt">
+ <xsd:restriction base="xsd:int">
+ <xsd:enumeration value="0" />
+ <xsd:enumeration value="1" />
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:simpleType name="TypeString">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="one" />
+ <xsd:enumeration value="two" />
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ </xsd:schema>
+ </types>
+
+
+ <message name="input">
+ <part name="parameters" element="tns:getInput" />
+ </message>
+
+ <message name="output">
+ <part name="parameters" element="tns:getInputResponse" />
+ </message>
+
+ <portType name="EnumerationWS">
+ <operation name="getInput">
+ <input message="tns:input" />
+ <output message="tns:output" />
+ </operation>
+ </portType>
+
+ <binding name="EnumerationWSBinding" type="tns:EnumerationWS">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
+ <operation name="getInput">
+ <soap:operation />
+ <input>
+ <soap:body use="literal" />
+ </input>
+ <output>
+ <soap:body use="literal" />
+ </output>
+ </operation>
+ </binding>
+
+ <service name="EnumerationWSService">
+ <port name="sampleWS" binding="tns:EnumerationWSBinding">
+ <soap:address location="http://localhost:9080/Enumeration/services/sampleWS" />
+ </port>
+ </service>
+</definitions>
Added: webservices/axis2/trunk/c/test/resources/wsdl/ExceptionTest.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/wsdl/ExceptionTest.wsdl?rev=387111&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/wsdl/ExceptionTest.wsdl (added)
+++ webservices/axis2/trunk/c/test/resources/wsdl/ExceptionTest.wsdl Sun Mar 19 18:26:16 2006
@@ -0,0 +1,97 @@
+<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>
+ <complexType name="SpecialDetailStruct">
+ <sequence>
+ <element name="varString" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <complexType name="OutOfBoundStruct">
+ <sequence>
+ <element name="varString" type="xsd:string"/>
+ <element name="varInt" type="xsd:int"/>
+ <element name="specialDetail" type="tns:SpecialDetailStruct"/>
+ </sequence>
+ </complexType>
+ </schema>
+ </types>
+ <message name="DivByZeroFault">
+ <part name="faultstruct1" type="ns2:DivByZeroStruct"/>
+ </message>
+ <message name="OutOfBoundFault">
+ <part name="faultstruct1" type="ns2:OutOfBoundStruct"/>
+ </message>
+ <message name="SpecialDetailFault">
+ <part name="faultstruct1" type="ns2:SpecialDetailStruct"/>
+ </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"/>
+ <fault name="OutOfBound" message="tns:OutOfBoundFault"/>
+ <fault name="NormalDetail" message="tns:SpecialDetailFault"/>
+ </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>
+ <fault name="OutOfBound">
+ <soap:fault name="OutOfBound" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://soapinterop.org/wsdl"/>
+ </fault>
+ <fault name="NormalDetail">
+ <soap:fault name="NormalDetail" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://soapinterop.org/wsdl"/>
+ </fault>
+ </operation>
+ </binding>
+ <service name="MathOpsService">
+ <port name="MathOps" binding="tns:MathOpsBinding">
+ <soap:address location="http://localhost/axis/MathOps"/>
+ </port>
+ </service>
+ <!-- Fault messages -->
+</definitions>
Added: webservices/axis2/trunk/c/test/resources/wsdl/ExceptionTestDoc.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/wsdl/ExceptionTestDoc.wsdl?rev=387111&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/wsdl/ExceptionTestDoc.wsdl (added)
+++ webservices/axis2/trunk/c/test/resources/wsdl/ExceptionTestDoc.wsdl Sun Mar 19 18:26:16 2006
@@ -0,0 +1,160 @@
+<?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/wsdl" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://soapinterop.org/wsdl" xmlns:intf="http://soapinterop.org/wsdl" 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/wsdl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://soapinterop.org/wsdl" xmlns:intf="http://soapinterop.org/wsdl" 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="OutOfBoundStruct">
+ <sequence>
+ <element name="varString" nillable="true" type="xsd:string"/>
+ <element name="varInt" type="xsd:int"/>
+ <element name="specialDetail" nillable="true" type="impl:SpecialDetailStruct"/>
+ </sequence>
+ </complexType>
+ <complexType name="SpecialDetailStruct">
+ <sequence>
+ <element name="varString" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <element name="OutOfBoundStruct" nillable="true" type="impl:OutOfBoundStruct"/>
+ <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"/>
+ <element name="SpecialDetailStruct" nillable="true" type="impl:SpecialDetailStruct"/>
+ </schema>
+ </wsdl:types>
+
+ <wsdl:message name="OutOfBoundStruct">
+
+ <wsdl:part element="impl:OutOfBoundStruct" name="fault"/>
+
+ </wsdl:message>
+
+ <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:message name="SpecialDetailStruct">
+
+ <wsdl:part element="impl:SpecialDetailStruct" 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:fault message="impl:SpecialDetailStruct" name="SpecialDetailStruct"/>
+
+ <wsdl:fault message="impl:OutOfBoundStruct" name="OutOfBoundStruct"/>
+
+ </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:fault name="SpecialDetailStruct">
+
+ <wsdlsoap:fault name="SpecialDetailStruct" use="literal"/>
+
+ </wsdl:fault>
+
+ <wsdl:fault name="OutOfBoundStruct">
+
+ <wsdlsoap:fault name="OutOfBoundStruct" 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>
Added: webservices/axis2/trunk/c/test/resources/wsdl/ExtensibilityQuery.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/wsdl/ExtensibilityQuery.wsdl?rev=387111&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/wsdl/ExtensibilityQuery.wsdl (added)
+++ webservices/axis2/trunk/c/test/resources/wsdl/ExtensibilityQuery.wsdl Sun Mar 19 18:26:16 2006
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 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="ExtensibilityQuery" targetNamespace="urn:ExtensibilityQuery"
+
+xmlns="http://schemas.xmlsoap.org/wsdl/"
+
+xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+
+xmlns:tns="urn:ExtensibilityQuery" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <types>
+
+ <xsd:schema attributeFormDefault="qualified"
+
+ elementFormDefault="qualified" targetNamespace="urn:ExtensibilityQuery">
+
+
+
+ <xsd:complexType name="ExtensibilityType">
+
+ <xsd:sequence>
+
+ <xsd:any namespace="##any"/>
+
+ </xsd:sequence>
+
+ </xsd:complexType>
+
+
+
+ <xsd:element name="query">
+
+ <xsd:complexType>
+
+ <xsd:sequence>
+
+ <xsd:any namespace="##any" />
+
+ </xsd:sequence>
+
+ </xsd:complexType>
+
+ </xsd:element>
+
+
+
+ <xsd:element name="queryResponse">
+
+ <xsd:complexType>
+
+ <xsd:sequence>
+
+ <xsd:any namespace="##any" />
+
+ </xsd:sequence>
+
+ </xsd:complexType>
+
+ </xsd:element>
+
+
+
+ </xsd:schema>
+
+ </types>
+
+
+
+ <message name="queryIn">
+
+ <part element="tns:query" name="parameters" />
+
+ </message>
+
+
+
+ <message name="queryOut">
+
+ <part element="tns:queryResponse" name="parameters" />
+
+ </message>
+
+
+
+ <portType name="ExtensibilityQueryPortType">
+
+ <operation name="query">
+
+ <input message="tns:queryIn" />
+
+ <output message="tns:queryOut" />
+
+ </operation>
+
+ </portType>
+
+
+
+ <binding name="ExtensibilityQueryBinding" type="tns:ExtensibilityQueryPortType">
+
+ <soap:binding style="document"
+
+ transport="http://schemas.xmlsoap.org/soap/http" />
+
+ <operation name="query">
+
+ <soap:operation soapAction="ExtensibilityQuery#query" />
+
+ <input>
+
+ <soap:body use="literal" />
+
+ </input>
+
+ <output>
+
+ <soap:body use="literal" />
+
+ </output>
+
+ </operation>
+
+ </binding>
+
+
+
+ <service name="ExtensibilityQuery">
+
+ <port binding="tns:ExtensibilityQueryBinding" name="ExtensibilityQueryPort">
+
+ <soap:address location="http://localhost:8080/axis/testXSDANY"/>
+
+ </port>
+
+ </service>
+
+</definitions>
+
+
+
Propchange: webservices/axis2/trunk/c/test/resources/wsdl/ExtensibilityQuery.wsdl
------------------------------------------------------------------------------
svn:executable = *
Added: webservices/axis2/trunk/c/test/resources/wsdl/FaultMapping.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/wsdl/FaultMapping.wsdl?rev=387111&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/wsdl/FaultMapping.wsdl (added)
+++ webservices/axis2/trunk/c/test/resources/wsdl/FaultMapping.wsdl Sun Mar 19 18:26:16 2006
@@ -0,0 +1,97 @@
+<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>
+ <complexType name="SpecialDetailStruct">
+ <sequence>
+ <element name="varString" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <complexType name="OutOfBoundStruct">
+ <sequence>
+ <element name="varString" type="xsd:string"/>
+ <element name="varInt" type="xsd:int"/>
+ <element name="specialDetail" type="tns:SpecialDetailStruct"/>
+ </sequence>
+ </complexType>
+ </schema>
+ </types>
+ <message name="DivByZeroFault">
+ <part name="faultstruct1" type="ns2:DivByZeroStruct"/>
+ </message>
+ <message name="OutOfBoundFault">
+ <part name="faultstruct1" type="ns2:OutOfBoundStruct"/>
+ </message>
+ <message name="SpecialDetailFault">
+ <part name="faultstruct1" type="ns2:SpecialDetailStruct"/>
+ </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"/>
+ <fault name="OutOfBound" message="tns:OutOfBoundFault"/>
+ <fault name="NormalDetail" message="tns:SpecialDetailFault"/>
+ </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>
+ <fault name="OutOfBound">
+ <soap:fault name="OutOfBound" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://soapinterop.org/wsdl"/>
+ </fault>
+ <fault name="NormalDetail">
+ <soap:fault name="NormalDetail" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://soapinterop.org/wsdl"/>
+ </fault>
+ </operation>
+ </binding>
+ <service name="MathOpsService">
+ <port name="MathOps" binding="tns:MathOpsBinding">
+ <soap:address location="http://localhost/axis/MathOps"/>
+ </port>
+ </service>
+ <!-- Fault messages -->
+</definitions>
Added: webservices/axis2/trunk/c/test/resources/wsdl/FaultMappingDoc.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/wsdl/FaultMappingDoc.wsdl?rev=387111&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/wsdl/FaultMappingDoc.wsdl (added)
+++ webservices/axis2/trunk/c/test/resources/wsdl/FaultMappingDoc.wsdl Sun Mar 19 18:26:16 2006
@@ -0,0 +1,160 @@
+<?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/wsdl" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://soapinterop.org/wsdl" xmlns:intf="http://soapinterop.org/wsdl" 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/wsdl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://soapinterop.org/wsdl" xmlns:intf="http://soapinterop.org/wsdl" 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="OutOfBoundStruct">
+ <sequence>
+ <element name="varString" nillable="true" type="xsd:string"/>
+ <element name="varInt" type="xsd:int"/>
+ <element name="specialDetail" nillable="true" type="impl:SpecialDetailStruct"/>
+ </sequence>
+ </complexType>
+ <complexType name="SpecialDetailStruct">
+ <sequence>
+ <element name="varString" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <element name="OutOfBoundStruct" nillable="true" type="impl:OutOfBoundStruct"/>
+ <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"/>
+ <element name="SpecialDetailStruct" nillable="true" type="impl:SpecialDetailStruct"/>
+ </schema>
+ </wsdl:types>
+
+ <wsdl:message name="OutOfBoundStruct">
+
+ <wsdl:part element="impl:OutOfBoundStruct" name="fault"/>
+
+ </wsdl:message>
+
+ <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:message name="SpecialDetailStruct">
+
+ <wsdl:part element="impl:SpecialDetailStruct" 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:fault message="impl:SpecialDetailStruct" name="SpecialDetailStruct"/>
+
+ <wsdl:fault message="impl:OutOfBoundStruct" name="OutOfBoundStruct"/>
+
+ </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:fault name="SpecialDetailStruct">
+
+ <wsdlsoap:fault name="SpecialDetailStruct" use="literal"/>
+
+ </wsdl:fault>
+
+ <wsdl:fault name="OutOfBoundStruct">
+
+ <wsdlsoap:fault name="OutOfBoundStruct" 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>
Added: webservices/axis2/trunk/c/test/resources/wsdl/FourLevelTestDoc.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/wsdl/FourLevelTestDoc.wsdl?rev=387111&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/wsdl/FourLevelTestDoc.wsdl (added)
+++ webservices/axis2/trunk/c/test/resources/wsdl/FourLevelTestDoc.wsdl Sun Mar 19 18:26:16 2006
@@ -0,0 +1,73 @@
+<?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. -->
+
+<definitions name="LicenseUsageHistoryService" targetNamespace="urn:org.apache:ws-axis/c/test/v1_0" xmlns:impl="urn:org.apache:ws-axis/c/test/v1_0" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
+ <types>
+ <schema targetNamespace="urn:org.apache:ws-axis/c/test/v1_0" xmlns:impl="urn:org.apache:ws-axis/c/test/v1_0" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="qualified">
+ <complexType name="FourthLevelElemType">
+ <sequence>
+ <element name="SampleString" type="xsd:string"/>
+ <element name="SampleInt" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ <complexType name="ThirdLevelElemType">
+ <sequence>
+ <element name="FourthLevelElem" type="impl:FourthLevelElemType" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <complexType name="SecondLevelElemType">
+ <sequence>
+ <element name="ThirdLevelElem" type="impl:ThirdLevelElemType" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <complexType name="FirstLevelElemType">
+ <sequence>
+ <element name="SecondLevelElem" type="impl:SecondLevelElemType" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="FirstLevelElem" type="impl:FirstLevelElemType"/>
+ </schema>
+ </types>
+ <message name="TestDocRequest">
+ <part element="impl:FirstLevelElem" name="inputPart"/>
+ </message>
+ <message name="TestDocResponse">
+ <part element="impl:FirstLevelElem" name="outputPart"/>
+ </message>
+ <portType name="FourLevelTestDocInterface">
+ <operation name="RetrieveTestDoc">
+ <input message="impl:TestDocRequest" name="TestDocRequest"/>
+ <output message="impl:TestDocResponse" name="TestDocResponse"/>
+ </operation>
+ </portType>
+ <binding name="FourLevelTestDocBinding" type="impl:FourLevelTestDocInterface">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="RetrieveTestDoc">
+ <soap:operation soapAction="FourLevelTestDocService#RetrieveTestDoc" style="document"/>
+ <input name="TestDocRequest">
+ <soap:body namespace="urn:org.apache:ws-axis/c/test/v1_0" use="literal"/>
+ </input>
+ <output name="TestDocResponse">
+ <soap:body namespace="urn:org.apache:ws-axis/c/test/v1_0" use="literal"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="FourLevelTestDocService">
+ <port binding="impl:FourLevelTestDocBinding" name="FourLevelTestDoc">
+ <soap:address location="http://localhost:80/axis/FourLevelTestDoc"/>
+ </port>
+ </service>
+</definitions>
Added: webservices/axis2/trunk/c/test/resources/wsdl/InOut.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/wsdl/InOut.wsdl?rev=387111&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/wsdl/InOut.wsdl (added)
+++ webservices/axis2/trunk/c/test/resources/wsdl/InOut.wsdl Sun Mar 19 18:26:16 2006
@@ -0,0 +1,429 @@
+<?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://complexissues.test.apache.org" xmlns:impl="http://complexissues.test.apache.org" xmlns:intf="http://complexissues.test.apache.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://complexissues.test.apache.org" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://complexissues.test.apache.org" xmlns:intf="http://complexissues.test.apache.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <element name="noParametersNoReturn">
+ <complexType>
+ <sequence/>
+ </complexType>
+ </element>
+ <element name="noParametersNoReturnResponse">
+ <complexType>
+ <sequence/>
+ </complexType>
+ </element>
+ <element name="noParametersIntReturn">
+ <complexType>
+ <sequence/>
+ </complexType>
+ </element>
+ <element name="noParametersIntReturnResponse">
+ <complexType>
+ <sequence>
+ <element name="noParametersIntReturnReturn" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="multiParametersNoReturn">
+ <complexType>
+ <sequence>
+ <element name="arg_0_2" nillable="true" type="xsd:string"/>
+ <element name="arg_1_2" type="xsd:int"/>
+ <element name="arg_2_2" type="xsd:double"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="multiParametersNoReturnResponse">
+ <complexType>
+ <sequence/>
+ </complexType>
+ </element>
+ <element name="multiComplexParametersIntReturn">
+ <complexType>
+ <sequence>
+ <element name="arg_0_3" nillable="true" type="xsd:string"/>
+ <element name="arg_1_3" nillable="true" type="impl:ComplexType1"/>
+ <element name="arg_2_3" type="xsd:int"/>
+ <element name="arg_3_3" type="xsd:double"/>
+ <element maxOccurs="unbounded" name="arg_4_3" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <complexType name="ComplexType1">
+ <sequence>
+ <element name="ctLong" type="xsd:long"/>
+ <element maxOccurs="unbounded" name="ctIntArray" type="xsd:int"/>
+ <element name="ctString" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <complexType name="ComplexType2">
+ <sequence>
+ <element name="ctLong" type="xsd:long"/>
+ <element maxOccurs="unbounded" name="ctIntArray" type="xsd:int"/>
+ <element name="ctString" nillable="true" type="xsd:string"/>
+ <element name="ctComplex" nillable="true" type="impl:ComplexType1"/>
+ </sequence>
+ </complexType>
+ <element name="complexParameterComplexReturn">
+ <complexType>
+ <sequence>
+ <element name="complexRequest" nillable="true" type="impl:ComplexType2"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="complexParameterComplexReturnResponse">
+ <complexType>
+ <sequence>
+ <element name="complexResponse" nillable="true" type="impl:ComplexType2"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="multiComplexParametersIntReturnResponse">
+ <complexType>
+ <sequence>
+ <element name="multiComplexParametersIntReturnReturn" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="multiComplexParametersNilIntReturn">
+ <complexType>
+ <sequence>
+ <element name="arg_0_4" nillable="true" type="xsd:string"/>
+ <element name="arg_1_4" nillable="true" type="impl:ComplexNilType1"/>
+ <element name="arg_2_4" nillable="true" type="xsd:int"/>
+ <element name="arg_3_4" nillable="true" type="xsd:double"/>
+ <element maxOccurs="unbounded" name="arg_4_4" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <complexType name="ComplexNilType1">
+ <sequence>
+ <element name="ctLong" nillable="true" type="xsd:long"/>
+ <element maxOccurs="unbounded" name="ctIntArray" nillable="true" type="xsd:int"/>
+ <element name="ctString" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <element name="multiComplexParametersNilIntReturnResponse">
+ <complexType>
+ <sequence>
+ <element name="multiComplexParametersNilIntReturnReturn" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="multiArrayParametersIntReturn">
+ <complexType>
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="arg_0_5" type="xsd:int"/>
+ <element maxOccurs="unbounded" minOccurs="0" name="arg_1_5" type="xsd:double"/>
+ <element maxOccurs="unbounded" minOccurs="0" name="arg_2_5" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="multiArrayParametersIntReturnResponse">
+ <complexType>
+ <sequence>
+ <element name="multiArrayParametersIntReturnReturn" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </wsdl:types>
+
+ <wsdl:message name="noParametersIntReturnResponse">
+
+ <wsdl:part element="impl:noParametersIntReturnResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="noParametersNoReturnRequest">
+
+ <wsdl:part element="impl:noParametersNoReturn" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="multiComplexParametersIntReturnResponse">
+
+ <wsdl:part element="impl:multiComplexParametersIntReturnResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="multiArrayParametersIntReturnRequest">
+
+ <wsdl:part element="impl:multiArrayParametersIntReturn" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="multiComplexParametersNilIntReturnResponse">
+
+ <wsdl:part element="impl:multiComplexParametersNilIntReturnResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="noParametersNoReturnResponse">
+
+ <wsdl:part element="impl:noParametersNoReturnResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="multiParametersNoReturnRequest">
+
+ <wsdl:part element="impl:multiParametersNoReturn" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="complexParameterComplexReturnRequest">
+ <wsdl:part element="impl:complexParameterComplexReturn" name="parameters"/>
+ </wsdl:message>
+ <wsdl:message name="complexParameterComplexReturnResponse">
+ <wsdl:part element="impl:complexParameterComplexReturnResponse" name="parameters"/>
+ </wsdl:message>
+
+ <wsdl:message name="noParametersIntReturnRequest">
+
+ <wsdl:part element="impl:noParametersIntReturn" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="multiComplexParametersIntReturnRequest">
+
+ <wsdl:part element="impl:multiComplexParametersIntReturn" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="multiComplexParametersNilIntReturnRequest">
+
+ <wsdl:part element="impl:multiComplexParametersNilIntReturn" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="multiArrayParametersIntReturnResponse">
+
+ <wsdl:part element="impl:multiArrayParametersIntReturnResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="multiParametersNoReturnResponse">
+
+ <wsdl:part element="impl:multiParametersNoReturnResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:portType name="InOut">
+
+ <wsdl:operation name="noParametersNoReturn">
+
+ <wsdl:input message="impl:noParametersNoReturnRequest" name="noParametersNoReturnRequest"/>
+
+ <wsdl:output message="impl:noParametersNoReturnResponse" name="noParametersNoReturnResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="noParametersIntReturn">
+
+ <wsdl:input message="impl:noParametersIntReturnRequest" name="noParametersIntReturnRequest"/>
+
+ <wsdl:output message="impl:noParametersIntReturnResponse" name="noParametersIntReturnResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="multiParametersNoReturn">
+
+ <wsdl:input message="impl:multiParametersNoReturnRequest" name="multiParametersNoReturnRequest"/>
+
+ <wsdl:output message="impl:multiParametersNoReturnResponse" name="multiParametersNoReturnResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="complexParameterComplexReturn">
+
+ <wsdl:input message="impl:complexParameterComplexReturnRequest" name="complexParameterComplexReturnRequest"/>
+
+ <wsdl:output message="impl:complexParameterComplexReturnResponse" name="complexParameterComplexReturnResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="multiComplexParametersIntReturn">
+
+ <wsdl:input message="impl:multiComplexParametersIntReturnRequest" name="multiComplexParametersIntReturnRequest"/>
+
+ <wsdl:output message="impl:multiComplexParametersIntReturnResponse" name="multiComplexParametersIntReturnResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="multiComplexParametersNilIntReturn">
+
+ <wsdl:input message="impl:multiComplexParametersNilIntReturnRequest" name="multiComplexParametersNilIntReturnRequest"/>
+
+ <wsdl:output message="impl:multiComplexParametersNilIntReturnResponse" name="multiComplexParametersNilIntReturnResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="multiArrayParametersIntReturn">
+
+ <wsdl:input message="impl:multiArrayParametersIntReturnRequest" name="multiArrayParametersIntReturnRequest"/>
+
+ <wsdl:output message="impl:multiArrayParametersIntReturnResponse" name="multiArrayParametersIntReturnResponse"/>
+
+ </wsdl:operation>
+
+ </wsdl:portType>
+
+ <wsdl:binding name="InOutSoapBinding" type="impl:InOut">
+
+ <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="noParametersNoReturn">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="noParametersNoReturnRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="noParametersNoReturnResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="noParametersIntReturn">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="noParametersIntReturnRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="noParametersIntReturnResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="multiParametersNoReturn">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="multiParametersNoReturnRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="multiParametersNoReturnResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="complexParameterComplexReturn">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="complexParameterComplexReturnRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="complexParameterComplexReturnResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="multiComplexParametersIntReturn">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="multiComplexParametersIntReturnRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="multiComplexParametersIntReturnResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="multiComplexParametersNilIntReturn">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="multiComplexParametersNilIntReturnRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="multiComplexParametersNilIntReturnResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="multiArrayParametersIntReturn">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="multiArrayParametersIntReturnRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="multiArrayParametersIntReturnResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ </wsdl:binding>
+
+ <wsdl:service name="InOutService">
+
+ <wsdl:port binding="impl:InOutSoapBinding" name="InOut">
+
+ <wsdlsoap:address location="http://localhost:9080/InOut/services/InOut"/>
+
+ </wsdl:port>
+
+ </wsdl:service>
+
+</wsdl:definitions>
+
Added: webservices/axis2/trunk/c/test/resources/wsdl/InteropTestRound1.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/wsdl/InteropTestRound1.wsdl?rev=387111&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/wsdl/InteropTestRound1.wsdl (added)
+++ webservices/axis2/trunk/c/test/resources/wsdl/InteropTestRound1.wsdl Sun Mar 19 18:26:16 2006
@@ -0,0 +1,333 @@
+<?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/"/>
+ <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>
+ </schema>
+ </types>
+
+ <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>
+
+ <portType name="InteropTestPortType">
+ <operation name="echoString" parameterOrder="inputString">
+ <input message="tns:echoStringRequest"/>
+ <output message="tns:echoStringResponse"/>
+ </operation>
+ <operation name="echoStringArray" parameterOrder="inputStringArray">
+ <input message="tns:echoStringArrayRequest"/>
+ <output message="tns:echoStringArrayResponse"/>
+ </operation>
+ <operation name="echoInteger" parameterOrder="inputInteger">
+ <input message="tns:echoIntegerRequest"/>
+ <output message="tns:echoIntegerResponse"/>
+ </operation>
+ <operation name="echoIntegerArray" parameterOrder="inputIntegerArray">
+ <input message="tns:echoIntegerArrayRequest"/>
+ <output message="tns:echoIntegerArrayResponse"/>
+ </operation>
+ <operation name="echoFloat" parameterOrder="inputFloat">
+ <input message="tns:echoFloatRequest"/>
+ <output message="tns:echoFloatResponse"/>
+ </operation>
+ <operation name="echoFloatArray" parameterOrder="inputFloatArray">
+ <input message="tns:echoFloatArrayRequest"/>
+ <output message="tns:echoFloatArrayResponse"/>
+ </operation>
+ <operation name="echoStruct" parameterOrder="inputStruct">
+ <input message="tns:echoStructRequest"/>
+ <output message="tns:echoStructResponse"/>
+ </operation>
+ <operation name="echoStructArray" parameterOrder="inputStructArray">
+ <input message="tns:echoStructArrayRequest"/>
+ <output message="tns:echoStructArrayResponse"/>
+ </operation>
+ <operation name="echoVoid">
+ <input message="tns:echoVoidRequest"/>
+ <output message="tns:echoVoidResponse"/>
+ </operation>
+ <operation name="echoBase64" parameterOrder="inputBase64">
+ <input message="tns:echoBase64Request"/>
+ <output message="tns:echoBase64Response"/>
+ </operation>
+ <operation name="echoDate" parameterOrder="inputDate">
+ <input message="tns:echoDateRequest"/>
+ <output message="tns:echoDateResponse"/>
+ </operation>
+ <operation name="echoHexBinary" parameterOrder="inputHexBinary">
+ <input message="tns:echoHexBinaryRequest"/>
+ <output message="tns:echoHexBinaryResponse"/>
+ </operation>
+ <operation name="echoDecimal" parameterOrder="inputDecimal">
+ <input message="tns:echoDecimalRequest"/>
+ <output message="tns:echoDecimalResponse"/>
+ </operation>
+ <operation name="echoBoolean" parameterOrder="inputBoolean">
+ <input message="tns:echoBooleanRequest"/>
+ <output message="tns:echoBooleanResponse"/>
+ </operation>
+ </portType>
+
+ <binding name="InteropTestSoapBinding" type="tns:InteropTestPortType">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="echoString">
+ <soap:operation soapAction="InteropBase#echoString"/>
+ <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>
+ <operation name="echoStringArray">
+ <soap:operation soapAction="InteropBase#echoStringArray"/>
+ <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>
+ <operation name="echoInteger">
+ <soap:operation soapAction="InteropBase#echoInteger"/>
+ <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>
+ <operation name="echoIntegerArray">
+ <soap:operation soapAction="InteropBase#echoIntegerArray"/>
+ <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>
+ <operation name="echoFloat">
+ <soap:operation soapAction="InteropBase#echoFloat"/>
+ <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>
+ <operation name="echoFloatArray">
+ <soap:operation soapAction="InteropBase#echoFloatArray"/>
+ <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>
+ <operation name="echoStruct">
+ <soap:operation soapAction="InteropBase#echoStruct"/>
+ <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>
+ <operation name="echoStructArray">
+ <soap:operation soapAction="InteropBase#echoStructArray"/>
+ <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>
+ <operation name="echoVoid">
+ <soap:operation soapAction="InteropBase#echoVoid"/>
+ <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>
+ <operation name="echoBase64">
+ <soap:operation soapAction="InteropBase#echoBase64"/>
+ <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>
+ <operation name="echoDate">
+ <soap:operation soapAction="InteropBase#echoDate"/>
+ <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>
+ <operation name="echoHexBinary">
+ <soap:operation soapAction="InteropBase#echoHexBinary"/>
+ <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>
+ <operation name="echoDecimal">
+ <soap:operation soapAction="InteropBase#echoDecimal"/>
+ <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>
+ <operation name="echoBoolean">
+ <soap:operation soapAction="InteropBase#echoBoolean"/>
+ <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="InteropBase">
+ <port binding="tns:InteropTestSoapBinding" name="InteropBaseTest">
+ <soap:address location="http://localhost/axis/InteropBase"/>
+ </port>
+ </service>
+</definitions>