axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject svn commit: r210150 [29/35] - in /webservices/axis/trunk/java: ./ etc/ modules/addressing/ modules/addressing/src/org/apache/axis2/handlers/addressing/ modules/addressing/test-resources/ modules/addressing/test/org/apache/axis2/handlers/addressing/ mod...
Date Mon, 11 Jul 2005 15:49:55 GMT
Modified: webservices/axis/trunk/java/modules/wsdl/test-resources/complex-doc-literal.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/test-resources/complex-doc-literal.wsdl?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/test-resources/complex-doc-literal.wsdl (original)
+++ webservices/axis/trunk/java/modules/wsdl/test-resources/complex-doc-literal.wsdl Mon Jul 11 08:49:30 2005
@@ -1,329 +1,329 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <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"
-	xmlns:ns3="http://soapinterop.org/types/part"
-	xmlns:ns4="http://soapinterop.org/types/requestresponse"
-	targetNamespace="http://soapinterop.org/wsdl">
-
-	<types>
-		<schema
-			xmlns="http://www.w3.org/2001/XMLSchema"
-			xmlns:tns="http://soapinterop.org/types"
-			targetNamespace="http://soapinterop.org/types">
-
-			<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
-
-			<complexType name="SOAPStruct">
-				<sequence>
-					<element name="varString" type="xsd:string"/>
-					<element name="varInt" type="xsd:int"/>
-					<element name="varFloat" type="xsd:float"/>
-				</sequence>
-			</complexType>
-
-			<complexType name="SOAPStructFault">
-				<sequence>
-					<element name="soapStruct" type="tns:SOAPStruct"/>
-				</sequence>
-			</complexType>
-
-			<complexType name="BaseStruct">
-				<sequence>
-					<element name="structMessage" type="tns:SOAPStruct"/>
-					<element name="shortMessage" type="xsd:short"/>
-				</sequence>
-			</complexType>
-
-			<complexType name="ExtendedStruct">
-				<complexContent>
-					<extension base="tns:BaseStruct">
-						<sequence>
-							<element name="stringMessage" type="xsd:string"/>
-							<element name="intMessage" type="xsd:int"/>
-							<element name="anotherIntMessage" type="xsd:int"/>
-						</sequence>
-					</extension>
-				</complexContent>
-			</complexType>
-
-			<complexType name="MoreExtendedStruct">
-				<complexContent>
-					<extension base="tns:ExtendedStruct">
-						<sequence>
-							<element name="booleanMessage" type="xsd:boolean"/>
-						</sequence>
-					</extension>
-				</complexContent>
-			</complexType>
-
-		</schema>
-
-		<schema
-			xmlns="http://www.w3.org/2001/XMLSchema"
-			xmlns:tns="http://soapinterop.org/types/part"
-			targetNamespace="http://soapinterop.org/types/part">
-
-			<element name="SOAPStructFaultPart" type="ns2:SOAPStructFault"/>
-			<element name="BaseStructPart" type="ns2:BaseStruct"/>
-			<element name="ExtendedStructPart" type="ns2:ExtendedStruct"/>
-			<element name="MoreExtendedStructPart" type="ns2:MoreExtendedStruct"/>
-
-		</schema>
-
-		<schema
-			xmlns="http://www.w3.org/2001/XMLSchema"
-			xmlns:tns="http://soapinterop.org/types/requestresponse"
-			targetNamespace="http://soapinterop.org/types/requestresponse">
-
-			<element name="echoSOAPStructFaultRequest" type="ns2:SOAPStruct"/>
-			<element name="echoSOAPStructFaultResponse">
-				<complexType/>
-			</element>
-
-			<element name="echoBaseStructFaultRequest" type="ns2:BaseStruct"/>
-			<element name="echoBaseStructFaultResponse">
-				<complexType/>
-			</element>
-
-			<element name="echoExtendedStructFaultRequest" type="ns2:ExtendedStruct"/>
-			<element name="echoExtendedStructFaultResponse">
-				<complexType/>
-			</element>
-
-			<element name="echoMultipleFaults1Request">
-				<complexType>
-					<sequence>
-						<element name="whichFault" type="xsd:int"/>
-						<element name="param1" type="ns2:SOAPStruct"/>
-						<element name="param2" type="ns2:BaseStruct"/>
-					</sequence>
-				</complexType>
-			</element>
-			<element name="echoMultipleFaults1Response">
-				<complexType/>
-			</element>
-
-			<element name="echoMultipleFaults2Request">
-				<complexType>
-					<sequence>
-						<element name="whichFault" type="xsd:int"/>
-						<element name="param1" type="ns2:BaseStruct"/>
-						<element name="param2" type="ns2:ExtendedStruct"/>
-						<element name="param3" type="ns2:MoreExtendedStruct"/>
-					</sequence>
-				</complexType>
-			</element>
-			<element name="echoMultipleFaults2Response">
-				<complexType/>
-			</element>
-
-		</schema>
-	</types>
-
-	<message name="echoSOAPStructFaultRequest">
-		<part name="param" element="ns4:echoSOAPStructFaultRequest"/>
-	</message>
-	<message name="echoSOAPStructFaultResponse">
-		<part name="param" element="ns4:echoSOAPStructFaultResponse"/>
-	</message>
-
-	<message name="echoBaseStructFaultRequest">
-		<part name="param" element="ns4:echoBaseStructFaultRequest"/>
-	</message>
-	<message name="echoBaseStructFaultResponse">
-		<part name="param" element="ns4:echoBaseStructFaultResponse"/>
-	</message>
-
-	<message name="echoExtendedStructFaultRequest">
-		<part name="param" element="ns4:echoExtendedStructFaultRequest"/>
-	</message>
-	<message name="echoExtendedStructFaultResponse">
-		<part name="param" element="ns4:echoExtendedStructFaultResponse"/>
-	</message>
-
-	<message name="echoMultipleFaults1Request">
-		<part name="param" element="ns4:echoMultipleFaults1Request"/>
-	</message>
-	<message name="echoMultipleFaults1Response">
-		<part name="param" element="ns4:echoMultipleFaults1Response"/>
-	</message>
-
-	<message name="echoMultipleFaults2Request">
-		<part name="param" element="ns4:echoMultipleFaults2Request"/>
-	</message>
-	<message name="echoMultipleFaults2Response">
-		<part name="param" element="ns4:echoMultipleFaults2Response"/>
-	</message>
-
-	<!-- Fault messages -->
-	<message name="SOAPStructFault">
-		<part name="part3" element="ns3:SOAPStructFaultPart"/>
-	</message>
-	<message name="BaseStructFault">
-		<part name="part1" element="ns3:BaseStructPart"/>
-	</message>
-	<message name="ExtendedStructFault">
-		<part name="part2" element="ns3:ExtendedStructPart"/>
-	</message>
-	<message name="MoreExtendedStructFault">
-		<part name="part5" element="ns3:MoreExtendedStructPart"/>
-	</message>
-
-	<portType name="ComplexDocLitPortType">
-		<!--
-			Throws a fault with an embedded SOAPStruct
-		-->
-		<operation name="echoSOAPStructFault" parameterOrder="">
-			<input message="tns:echoSOAPStructFaultRequest"/>
-			<output message="tns:echoSOAPStructFaultResponse"/>
-			<fault name="ComplexFault" message="tns:SOAPStructFault"/>
-		</operation>
-
-		<!--
-			Throws a fault with a base complex struct
-		-->
-		<operation name="echoBaseStructFault" parameterOrder="">
-			<input message="tns:echoBaseStructFaultRequest"/>
-			<output message="tns:echoBaseStructFaultResponse"/>
-			<fault name="ComplexFault" message="tns:BaseStructFault"/>
-		</operation>
-
-		<!--
-			Throws a fault with an en extended complex type
-		-->
-		<operation name="echoExtendedStructFault" parameterOrder="">
-			<input message="tns:echoExtendedStructFaultRequest"/>
-			<output message="tns:echoExtendedStructFaultResponse"/>
-			<fault name="ComplexFault" message="tns:ExtendedStructFault"/>
-		</operation>
-
-		<!--
-			Throws a fault with embedded complex type, fault with an
-			extended complex type and fault with an array of a base
-			complex type
-		-->
-		<operation name="echoMultipleFaults1" parameterOrder="param">
-			<input message="tns:echoMultipleFaults1Request"/>
-			<output message="tns:echoMultipleFaults1Response"/>
-			<fault name="ComplexFault1" message="tns:SOAPStructFault"/>
-			<fault name="ComplexFault2" message="tns:BaseStructFault"/>
-		</operation>
-
-		<!--
-			Throws a fault with an array of base complex type and
-			a fault with doubly extended complex type
-		-->
-		<operation name="echoMultipleFaults2" parameterOrder="param">
-			<input message="tns:echoMultipleFaults2Request"/>
-			<output message="tns:echoMultipleFaults2Response"/>
-			<fault name="ComplexFault1" message="tns:BaseStructFault"/>
-			<fault name="ComplexFault2" message="tns:ExtendedStructFault"/>
-			<fault name="ComplexFault3" message="tns:MoreExtendedStructFault"/>
-		</operation>
-	</portType>
-
-	<binding name="ComplexDocLitBinding" type="tns:ComplexDocLitPortType">
-		<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-		<operation name="echoSOAPStructFault">
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-			<fault name="ComplexFault">
-				<soap:fault
-					name="ComplexFault"
-					use="literal"/>
-			</fault>
-			<soap:operation soapAction=""/>
-		</operation>
-
-		<operation name="echoBaseStructFault">
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-			<fault name="ComplexFault">
-				<soap:fault
-					name="ComplexFault"
-					use="literal"/>
-			</fault>
-			<soap:operation soapAction=""/>
-		</operation>
-
-		<operation name="echoExtendedStructFault">
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-			<fault name="ComplexFault">
-				<soap:fault
-					name="ComplexFault"
-					use="literal"/>
-			</fault>
-			<soap:operation soapAction=""/>
-		</operation>
-
-		<operation name="echoMultipleFaults1">
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-			<fault name="ComplexFault1">
-				<soap:fault 
-					name="ComplexFault1"
-					use="literal"/>
-			</fault>
-			<fault name="ComplexFault2">
-				<soap:fault
-					name="ComplexFault2"
-					use="literal"/>
-			</fault>
-			<soap:operation soapAction=""/>
-		</operation>
-
-		<operation name="echoMultipleFaults2">
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-			<fault name="ComplexFault1">
-				<soap:fault
-					name="ComplexFault1"
-					use="literal"/>
-			</fault>
-			<fault name="ComplexFault2">
-				<soap:fault 
-					name="ComplexFault2"
-					use="literal"/>
-			</fault>
-			<fault name="ComplexFault3">
-				<soap:fault 
-					name="ComplexFault3"
-					use="literal"/>
-			</fault>
-			<soap:operation soapAction=""/>
-		</operation>
-	</binding>
-
-	<service name="ComplexDocLitService">
-		<port name="ComplexDocLitPort" binding="tns:ComplexDocLitBinding">
-			<soap:address
-				location="http://localhost:8080/axis/services/ComplexDocLitPort"/>
-		</port>
-	</service>
+    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"
+    xmlns:ns3="http://soapinterop.org/types/part"
+    xmlns:ns4="http://soapinterop.org/types/requestresponse"
+    targetNamespace="http://soapinterop.org/wsdl">
+
+    <types>
+        <schema
+            xmlns="http://www.w3.org/2001/XMLSchema"
+            xmlns:tns="http://soapinterop.org/types"
+            targetNamespace="http://soapinterop.org/types">
+
+            <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
+
+            <complexType name="SOAPStruct">
+                <sequence>
+                    <element name="varString" type="xsd:string"/>
+                    <element name="varInt" type="xsd:int"/>
+                    <element name="varFloat" type="xsd:float"/>
+                </sequence>
+            </complexType>
+
+            <complexType name="SOAPStructFault">
+                <sequence>
+                    <element name="soapStruct" type="tns:SOAPStruct"/>
+                </sequence>
+            </complexType>
+
+            <complexType name="BaseStruct">
+                <sequence>
+                    <element name="structMessage" type="tns:SOAPStruct"/>
+                    <element name="shortMessage" type="xsd:short"/>
+                </sequence>
+            </complexType>
+
+            <complexType name="ExtendedStruct">
+                <complexContent>
+                    <extension base="tns:BaseStruct">
+                        <sequence>
+                            <element name="stringMessage" type="xsd:string"/>
+                            <element name="intMessage" type="xsd:int"/>
+                            <element name="anotherIntMessage" type="xsd:int"/>
+                        </sequence>
+                    </extension>
+                </complexContent>
+            </complexType>
+
+            <complexType name="MoreExtendedStruct">
+                <complexContent>
+                    <extension base="tns:ExtendedStruct">
+                        <sequence>
+                            <element name="booleanMessage" type="xsd:boolean"/>
+                        </sequence>
+                    </extension>
+                </complexContent>
+            </complexType>
+
+        </schema>
+
+        <schema
+            xmlns="http://www.w3.org/2001/XMLSchema"
+            xmlns:tns="http://soapinterop.org/types/part"
+            targetNamespace="http://soapinterop.org/types/part">
+
+            <element name="SOAPStructFaultPart" type="ns2:SOAPStructFault"/>
+            <element name="BaseStructPart" type="ns2:BaseStruct"/>
+            <element name="ExtendedStructPart" type="ns2:ExtendedStruct"/>
+            <element name="MoreExtendedStructPart" type="ns2:MoreExtendedStruct"/>
+
+        </schema>
+
+        <schema
+            xmlns="http://www.w3.org/2001/XMLSchema"
+            xmlns:tns="http://soapinterop.org/types/requestresponse"
+            targetNamespace="http://soapinterop.org/types/requestresponse">
+
+            <element name="echoSOAPStructFaultRequest" type="ns2:SOAPStruct"/>
+            <element name="echoSOAPStructFaultResponse">
+                <complexType/>
+            </element>
+
+            <element name="echoBaseStructFaultRequest" type="ns2:BaseStruct"/>
+            <element name="echoBaseStructFaultResponse">
+                <complexType/>
+            </element>
+
+            <element name="echoExtendedStructFaultRequest" type="ns2:ExtendedStruct"/>
+            <element name="echoExtendedStructFaultResponse">
+                <complexType/>
+            </element>
+
+            <element name="echoMultipleFaults1Request">
+                <complexType>
+                    <sequence>
+                        <element name="whichFault" type="xsd:int"/>
+                        <element name="param1" type="ns2:SOAPStruct"/>
+                        <element name="param2" type="ns2:BaseStruct"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="echoMultipleFaults1Response">
+                <complexType/>
+            </element>
+
+            <element name="echoMultipleFaults2Request">
+                <complexType>
+                    <sequence>
+                        <element name="whichFault" type="xsd:int"/>
+                        <element name="param1" type="ns2:BaseStruct"/>
+                        <element name="param2" type="ns2:ExtendedStruct"/>
+                        <element name="param3" type="ns2:MoreExtendedStruct"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="echoMultipleFaults2Response">
+                <complexType/>
+            </element>
+
+        </schema>
+    </types>
+
+    <message name="echoSOAPStructFaultRequest">
+        <part name="param" element="ns4:echoSOAPStructFaultRequest"/>
+    </message>
+    <message name="echoSOAPStructFaultResponse">
+        <part name="param" element="ns4:echoSOAPStructFaultResponse"/>
+    </message>
+
+    <message name="echoBaseStructFaultRequest">
+        <part name="param" element="ns4:echoBaseStructFaultRequest"/>
+    </message>
+    <message name="echoBaseStructFaultResponse">
+        <part name="param" element="ns4:echoBaseStructFaultResponse"/>
+    </message>
+
+    <message name="echoExtendedStructFaultRequest">
+        <part name="param" element="ns4:echoExtendedStructFaultRequest"/>
+    </message>
+    <message name="echoExtendedStructFaultResponse">
+        <part name="param" element="ns4:echoExtendedStructFaultResponse"/>
+    </message>
+
+    <message name="echoMultipleFaults1Request">
+        <part name="param" element="ns4:echoMultipleFaults1Request"/>
+    </message>
+    <message name="echoMultipleFaults1Response">
+        <part name="param" element="ns4:echoMultipleFaults1Response"/>
+    </message>
+
+    <message name="echoMultipleFaults2Request">
+        <part name="param" element="ns4:echoMultipleFaults2Request"/>
+    </message>
+    <message name="echoMultipleFaults2Response">
+        <part name="param" element="ns4:echoMultipleFaults2Response"/>
+    </message>
+
+    <!-- Fault messages -->
+    <message name="SOAPStructFault">
+        <part name="part3" element="ns3:SOAPStructFaultPart"/>
+    </message>
+    <message name="BaseStructFault">
+        <part name="part1" element="ns3:BaseStructPart"/>
+    </message>
+    <message name="ExtendedStructFault">
+        <part name="part2" element="ns3:ExtendedStructPart"/>
+    </message>
+    <message name="MoreExtendedStructFault">
+        <part name="part5" element="ns3:MoreExtendedStructPart"/>
+    </message>
+
+    <portType name="ComplexDocLitPortType">
+        <!--
+            Throws a fault with an embedded SOAPStruct
+        -->
+        <operation name="echoSOAPStructFault" parameterOrder="">
+            <input message="tns:echoSOAPStructFaultRequest"/>
+            <output message="tns:echoSOAPStructFaultResponse"/>
+            <fault name="ComplexFault" message="tns:SOAPStructFault"/>
+        </operation>
+
+        <!--
+            Throws a fault with a base complex struct
+        -->
+        <operation name="echoBaseStructFault" parameterOrder="">
+            <input message="tns:echoBaseStructFaultRequest"/>
+            <output message="tns:echoBaseStructFaultResponse"/>
+            <fault name="ComplexFault" message="tns:BaseStructFault"/>
+        </operation>
+
+        <!--
+            Throws a fault with an en extended complex type
+        -->
+        <operation name="echoExtendedStructFault" parameterOrder="">
+            <input message="tns:echoExtendedStructFaultRequest"/>
+            <output message="tns:echoExtendedStructFaultResponse"/>
+            <fault name="ComplexFault" message="tns:ExtendedStructFault"/>
+        </operation>
+
+        <!--
+            Throws a fault with embedded complex type, fault with an
+            extended complex type and fault with an array of a base
+            complex type
+        -->
+        <operation name="echoMultipleFaults1" parameterOrder="param">
+            <input message="tns:echoMultipleFaults1Request"/>
+            <output message="tns:echoMultipleFaults1Response"/>
+            <fault name="ComplexFault1" message="tns:SOAPStructFault"/>
+            <fault name="ComplexFault2" message="tns:BaseStructFault"/>
+        </operation>
+
+        <!--
+            Throws a fault with an array of base complex type and
+            a fault with doubly extended complex type
+        -->
+        <operation name="echoMultipleFaults2" parameterOrder="param">
+            <input message="tns:echoMultipleFaults2Request"/>
+            <output message="tns:echoMultipleFaults2Response"/>
+            <fault name="ComplexFault1" message="tns:BaseStructFault"/>
+            <fault name="ComplexFault2" message="tns:ExtendedStructFault"/>
+            <fault name="ComplexFault3" message="tns:MoreExtendedStructFault"/>
+        </operation>
+    </portType>
+
+    <binding name="ComplexDocLitBinding" type="tns:ComplexDocLitPortType">
+        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+        <operation name="echoSOAPStructFault">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <fault name="ComplexFault">
+                <soap:fault
+                    name="ComplexFault"
+                    use="literal"/>
+            </fault>
+            <soap:operation soapAction=""/>
+        </operation>
+
+        <operation name="echoBaseStructFault">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <fault name="ComplexFault">
+                <soap:fault
+                    name="ComplexFault"
+                    use="literal"/>
+            </fault>
+            <soap:operation soapAction=""/>
+        </operation>
+
+        <operation name="echoExtendedStructFault">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <fault name="ComplexFault">
+                <soap:fault
+                    name="ComplexFault"
+                    use="literal"/>
+            </fault>
+            <soap:operation soapAction=""/>
+        </operation>
+
+        <operation name="echoMultipleFaults1">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <fault name="ComplexFault1">
+                <soap:fault
+                    name="ComplexFault1"
+                    use="literal"/>
+            </fault>
+            <fault name="ComplexFault2">
+                <soap:fault
+                    name="ComplexFault2"
+                    use="literal"/>
+            </fault>
+            <soap:operation soapAction=""/>
+        </operation>
+
+        <operation name="echoMultipleFaults2">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <fault name="ComplexFault1">
+                <soap:fault
+                    name="ComplexFault1"
+                    use="literal"/>
+            </fault>
+            <fault name="ComplexFault2">
+                <soap:fault
+                    name="ComplexFault2"
+                    use="literal"/>
+            </fault>
+            <fault name="ComplexFault3">
+                <soap:fault
+                    name="ComplexFault3"
+                    use="literal"/>
+            </fault>
+            <soap:operation soapAction=""/>
+        </operation>
+    </binding>
+
+    <service name="ComplexDocLitService">
+        <port name="ComplexDocLitPort" binding="tns:ComplexDocLitBinding">
+            <soap:address
+                location="http://localhost:8080/axis/services/ComplexDocLitPort"/>
+        </port>
+    </service>
 </definitions>
 

Modified: webservices/axis/trunk/java/modules/wsdl/test-resources/compound1.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/test-resources/compound1.wsdl?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/test-resources/compound1.wsdl (original)
+++ webservices/axis/trunk/java/modules/wsdl/test-resources/compound1.wsdl Mon Jul 11 08:49:30 2005
@@ -1,76 +1,76 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlns="http://soapinterop.org/" xmlns:typens="http://soapinterop.org/xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SoapInteropCompound" targetNamespace="http://soapinterop.org/">
-	<types>
-		<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/xsd" elementFormDefault="qualified">			
-			<complexType name="Person">
-				<sequence>
-					<element minOccurs="1" maxOccurs="1" name="Age" type="double"/>
-					<element minOccurs="1" maxOccurs="1" name="ID" type="xsd:float"/>					
-				</sequence>
-				<attribute name="Name" type="string"/>
-				<attribute name="Male" type="boolean"/>
-			</complexType>
-			<element name="x_Person" type="typens:Person"/>	
-			<element name="result_Person" type="typens:Person"/>
-			
-			<complexType name="Document">
-			<simpleContent>
-			 <extension base="string">
-			   <xsd:attribute name="ID" type="string"/>
-			 </extension>
-			</simpleContent>
-			</complexType>	
-			<element name="x_Document" type="typens:Document"/>	
-			<element name="result_Document" type="typens:Document"/>	
-		</schema>
-	</types>
-	<message name="echoPerson">
-		<part name="x" element="typens:x_Person"/>
-	</message>
-	<message name="echoPersonResponse">
-		<part name="Result" element="typens:result_Person"/>
-	</message>
-	<message name="echoDocument">
-		<part name="x" element="typens:x_Document"/>
-	</message>
-	<message name="echoDocumentResponse">
-		<part name="Result" element="typens:result_Document"/>
-	</message>
-	<portType name="SoapInteropCompound1PortType">
-		<operation name="echoPerson" parameterOrder="x">
-			<input message="wsdlns:echoPerson"/>
-			<output message="wsdlns:echoPersonResponse"/>
-		</operation>
-		<operation name="echoDocument" parameterOrder="x">
-			<input message="wsdlns:echoDocument"/>
-			<output message="wsdlns:echoDocumentResponse"/>
-		</operation>
-	</portType>
-	<binding name="SoapInteropCompound1Binding" type="wsdlns:SoapInteropCompound1PortType">
-		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-		<operation name="echoPerson">
-			<soap:operation soapAction="http://soapinterop/echoPerson"/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="echoDocument">
-			<soap:operation soapAction="http://soapinterop/echoDocument"/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
+    <types>
+        <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/xsd" elementFormDefault="qualified">
+            <complexType name="Person">
+                <sequence>
+                    <element minOccurs="1" maxOccurs="1" name="Age" type="double"/>
+                    <element minOccurs="1" maxOccurs="1" name="ID" type="xsd:float"/>
+                </sequence>
+                <attribute name="Name" type="string"/>
+                <attribute name="Male" type="boolean"/>
+            </complexType>
+            <element name="x_Person" type="typens:Person"/>
+            <element name="result_Person" type="typens:Person"/>
 
-	</binding>
-	<service name="Compound1">
-		<port name="SoapInteropCompound1Port" binding="wsdlns:SoapInteropCompound1Binding">
-			<soap:address xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" location="http://soapinterop.java.sun.com:80/round3/groupd/compound1"/>
-		</port>
-	</service>
+            <complexType name="Document">
+                <simpleContent>
+                    <extension base="string">
+                        <xsd:attribute name="ID" type="string"/>
+                    </extension>
+                </simpleContent>
+            </complexType>
+            <element name="x_Document" type="typens:Document"/>
+            <element name="result_Document" type="typens:Document"/>
+        </schema>
+    </types>
+    <message name="echoPerson">
+        <part name="x" element="typens:x_Person"/>
+    </message>
+    <message name="echoPersonResponse">
+        <part name="Result" element="typens:result_Person"/>
+    </message>
+    <message name="echoDocument">
+        <part name="x" element="typens:x_Document"/>
+    </message>
+    <message name="echoDocumentResponse">
+        <part name="Result" element="typens:result_Document"/>
+    </message>
+    <portType name="SoapInteropCompound1PortType">
+        <operation name="echoPerson" parameterOrder="x">
+            <input message="wsdlns:echoPerson"/>
+            <output message="wsdlns:echoPersonResponse"/>
+        </operation>
+        <operation name="echoDocument" parameterOrder="x">
+            <input message="wsdlns:echoDocument"/>
+            <output message="wsdlns:echoDocumentResponse"/>
+        </operation>
+    </portType>
+    <binding name="SoapInteropCompound1Binding" type="wsdlns:SoapInteropCompound1PortType">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <operation name="echoPerson">
+            <soap:operation soapAction="http://soapinterop/echoPerson"/>
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+        <operation name="echoDocument">
+            <soap:operation soapAction="http://soapinterop/echoDocument"/>
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+
+    </binding>
+    <service name="Compound1">
+        <port name="SoapInteropCompound1Port" binding="wsdlns:SoapInteropCompound1Binding">
+            <soap:address xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" location="http://soapinterop.java.sun.com:80/round3/groupd/compound1"/>
+        </port>
+    </service>
 </definitions>

Modified: webservices/axis/trunk/java/modules/wsdl/test-resources/compound2.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/test-resources/compound2.wsdl?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/test-resources/compound2.wsdl (original)
+++ webservices/axis/trunk/java/modules/wsdl/test-resources/compound2.wsdl Mon Jul 11 08:49:30 2005
@@ -1,55 +1,55 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlns="http://soapinterop.org/" xmlns:emp="http://soapinterop.org/employee" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SoapInteropCompound" targetNamespace="http://soapinterop.org/">
-	<types>
-		<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/person" elementFormDefault="qualified">
-					
-			<complexType name="Person">
-				<sequence>
-					<element minOccurs="1" maxOccurs="1" name="Name" type="string"/>
-					<element minOccurs="1" maxOccurs="1" name="Male" type="boolean"/>					
-				</sequence>
-			</complexType>
-		</schema>
-		<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:prs="http://soapinterop.org/person" targetNamespace="http://soapinterop.org/employee" elementFormDefault="qualified">
-                        <import namespace="http://soapinterop.org/person"/> 
-			<complexType name="Employee">
-				<sequence>
-					<element minOccurs="1" maxOccurs="1" name="person" type="prs:Person"/>
-					<element minOccurs="1" maxOccurs="1" name="salary" type="double"/>					
-					<element minOccurs="1" maxOccurs="1" name="ID" type="int"/>
-				</sequence>
-			</complexType>
-			<element name="x_Employee" type="emp:Employee"/>	
-			<element name="result_Employee" type="emp:Employee"/>
-		</schema>
-	</types>
-	<message name="echoEmployee">
-		<part name="x" element="emp:x_Employee"/>
-	</message>
-	<message name="echoEmployeeResponse">
-		<part name="result" element="emp:result_Employee"/>
-	</message>
-	<portType name="SoapInteropCompound2PortType">
-		<operation name="echoEmployee" parameterOrder="x">
-			<input message="wsdlns:echoEmployee"/>
-			<output message="wsdlns:echoEmployeeResponse"/>
-		</operation>
-	</portType>
-	<binding name="SoapInteropCompound2Binding" type="wsdlns:SoapInteropCompound2PortType">
-		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-		<operation name="echoEmployee">
-			<soap:operation soapAction="#echoEmployee"/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>		
-	</binding>
-	<service name="Compound2">
-		<port name="SoapInteropCompound2Port" binding="wsdlns:SoapInteropCompound2Binding">
-			<soap:address xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" location="http://soapinterop.java.sun.com:80/round3/groupd/compound2"/>
-		</port>
-	</service>
+    <types>
+        <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/person" elementFormDefault="qualified">
+
+            <complexType name="Person">
+                <sequence>
+                    <element minOccurs="1" maxOccurs="1" name="Name" type="string"/>
+                    <element minOccurs="1" maxOccurs="1" name="Male" type="boolean"/>
+                </sequence>
+            </complexType>
+        </schema>
+        <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:prs="http://soapinterop.org/person" targetNamespace="http://soapinterop.org/employee" elementFormDefault="qualified">
+            <import namespace="http://soapinterop.org/person"/>
+            <complexType name="Employee">
+                <sequence>
+                    <element minOccurs="1" maxOccurs="1" name="person" type="prs:Person"/>
+                    <element minOccurs="1" maxOccurs="1" name="salary" type="double"/>
+                    <element minOccurs="1" maxOccurs="1" name="ID" type="int"/>
+                </sequence>
+            </complexType>
+            <element name="x_Employee" type="emp:Employee"/>
+            <element name="result_Employee" type="emp:Employee"/>
+        </schema>
+    </types>
+    <message name="echoEmployee">
+        <part name="x" element="emp:x_Employee"/>
+    </message>
+    <message name="echoEmployeeResponse">
+        <part name="result" element="emp:result_Employee"/>
+    </message>
+    <portType name="SoapInteropCompound2PortType">
+        <operation name="echoEmployee" parameterOrder="x">
+            <input message="wsdlns:echoEmployee"/>
+            <output message="wsdlns:echoEmployeeResponse"/>
+        </operation>
+    </portType>
+    <binding name="SoapInteropCompound2Binding" type="wsdlns:SoapInteropCompound2PortType">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <operation name="echoEmployee">
+            <soap:operation soapAction="#echoEmployee"/>
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+    </binding>
+    <service name="Compound2">
+        <port name="SoapInteropCompound2Port" binding="wsdlns:SoapInteropCompound2Binding">
+            <soap:address xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" location="http://soapinterop.java.sun.com:80/round3/groupd/compound2"/>
+        </port>
+    </service>
 </definitions>

Modified: webservices/axis/trunk/java/modules/wsdl/test-resources/interoptestdoclit.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/test-resources/interoptestdoclit.wsdl?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/test-resources/interoptestdoclit.wsdl (original)
+++ webservices/axis/trunk/java/modules/wsdl/test-resources/interoptestdoclit.wsdl Mon Jul 11 08:49:30 2005
@@ -1,16 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<definitions name="WSDLInteropTestDocLitService" 
-    targetNamespace="http://soapinterop.org/WSDLInteropTestDocLit" 
-    xmlns="http://schemas.xmlsoap.org/wsdl/" 
-    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" 
-    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
-    xmlns:tns="http://soapinterop.org/WSDLInteropTestDocLit" 
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+<definitions name="WSDLInteropTestDocLitService"
+    targetNamespace="http://soapinterop.org/WSDLInteropTestDocLit"
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://soapinterop.org/WSDLInteropTestDocLit"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     xmlns:xsd1="http://soapinterop.org/xsd"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <types>
         <schema targetNamespace="http://soapinterop.org/xsd"
-            xmlns="http://www.w3.org/2001/XMLSchema" 
+            xmlns="http://www.w3.org/2001/XMLSchema"
             xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
             elementFormDefault="qualified">
             <complexType name="ArrayOfstring_literal">
@@ -18,23 +18,23 @@
                     <element maxOccurs="unbounded" minOccurs="1" name="string" type="xsd:string"/>
                 </sequence>
             </complexType>
-	    <complexType name="SOAPStruct">
+            <complexType name="SOAPStruct">
                 <all>
                     <element name="varFloat" type="xsd:float"/>
                     <element name="varInt" type="xsd:int"/>
                     <element name="varString" type="xsd:string"/>
                 </all>
             </complexType>
-  
+
             <element name="echoStringParam" type="xsd:string"/>
-         
+
             <element name="echoStringReturn" type="xsd:string"/>
             <element name="echoStringArrayParam" type="xsd1:ArrayOfstring_literal"/>
-                
+
             <element name="echoStringArrayReturn" type="xsd1:ArrayOfstring_literal"/>
-               
+
             <element name="echoStructParam" type="xsd1:SOAPStruct"/>
-                   
+
             <element name="echoStructReturn" type="xsd1:SOAPStruct"/>
         </schema>
     </types>
@@ -77,58 +77,58 @@
             <output message="tns:echoVoidResponse" name="echoVoidResponse"/>
         </operation>
     </portType>
-    <binding name="WSDLInteropTestDocLitPortBinding" 
+    <binding name="WSDLInteropTestDocLitPortBinding"
         type="tns:WSDLInteropTestDocLitPortType">
         <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
         <operation name="echoString">
             <soap:operation soapAction="http://soapinterop.org/" style="document"/>
             <input name="echoString">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </input>
             <output name="echoStringResponse">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </output>
         </operation>
         <operation name="echoStringArray">
             <soap:operation soapAction="http://soapinterop.org/" style="document"/>
             <input name="echoStringArray">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </input>
             <output name="echoStringArrayResponse">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </output>
         </operation>
         <operation name="echoStruct">
             <soap:operation soapAction="http://soapinterop.org/" style="document"/>
             <input name="echoStruct">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </input>
             <output name="echoStructResponse">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </output>
         </operation>
         <operation name="echoVoid">
             <soap:operation soapAction="http://soapinterop.org/" style="document"/>
             <input name="echoVoid">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </input>
             <output name="echoVoidResponse">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </output>
         </operation>
     </binding>
     <service name="WSDLInteropTestDocLitService">
-        <port binding="tns:WSDLInteropTestDocLitPortBinding" 
+        <port binding="tns:WSDLInteropTestDocLitPortBinding"
             name="WSDLInteropTestDocLitPort">
-            <soap:address 
+            <soap:address
                 location="http://mssoapinterop.org/stkv3/wsdl/interopTestDocLit.wsdl"/>
         </port>
     </service>

Modified: webservices/axis/trunk/java/modules/wsdl/test-resources/interoptestdoclitparameters.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/test-resources/interoptestdoclitparameters.wsdl?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/test-resources/interoptestdoclitparameters.wsdl (original)
+++ webservices/axis/trunk/java/modules/wsdl/test-resources/interoptestdoclitparameters.wsdl Mon Jul 11 08:49:30 2005
@@ -1,29 +1,29 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<definitions name="WSDLInteropTestDocLitService" 
-    targetNamespace="http://soapinterop.org/WSDLInteropTestDocLit" 
-    xmlns="http://schemas.xmlsoap.org/wsdl/" 
-    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" 
-    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
-    xmlns:tns="http://soapinterop.org/WSDLInteropTestDocLit" 
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+<definitions name="WSDLInteropTestDocLitService"
+    targetNamespace="http://soapinterop.org/WSDLInteropTestDocLit"
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://soapinterop.org/WSDLInteropTestDocLit"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     xmlns:xsd1="http://soapinterop.org/xsd"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <types>
         <schema targetNamespace="http://soapinterop.org/xsd"
-            xmlns="http://www.w3.org/2001/XMLSchema" 
+            xmlns="http://www.w3.org/2001/XMLSchema"
             xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
-	     <complexType name="ArrayOfstring_literal">
+            <complexType name="ArrayOfstring_literal">
                 <sequence>
                     <element maxOccurs="unbounded" minOccurs="1" name="string" type="xsd:string"/>
                 </sequence>
             </complexType>
-	    <complexType name="SOAPStruct">
+            <complexType name="SOAPStruct">
                 <all>
                     <element name="varFloat" type="xsd:float"/>
                     <element name="varInt" type="xsd:int"/>
                     <element name="varString" type="xsd:string"/>
                 </all>
-            </complexType>            
+            </complexType>
 
             <element name="echoString">
                 <complexType>
@@ -66,7 +66,7 @@
                         <element name="return" type="xsd1:SOAPStruct"/>
                     </sequence>
                 </complexType>
-            </element>           
+            </element>
             <element name="echoVoid">
                 <complexType/>
             </element>
@@ -117,58 +117,58 @@
             <output message="tns:echoVoidResponse" name="echoVoidResponse"/>
         </operation>
     </portType>
-    <binding name="WSDLInteropTestDocLitPortBinding" 
+    <binding name="WSDLInteropTestDocLitPortBinding"
         type="tns:WSDLInteropTestDocLitPortType">
         <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
         <operation name="echoString">
             <soap:operation soapAction="http://soapinterop.org/" style="document"/>
             <input name="echoString">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </input>
             <output name="echoStringResponse">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </output>
         </operation>
         <operation name="echoStringArray">
             <soap:operation soapAction="http://soapinterop.org/" style="document"/>
             <input name="echoStringArray">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </input>
             <output name="echoStringArrayResponse">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </output>
         </operation>
         <operation name="echoStruct">
             <soap:operation soapAction="http://soapinterop.org/" style="document"/>
             <input name="echoStruct">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </input>
             <output name="echoStructResponse">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </output>
         </operation>
         <operation name="echoVoid">
             <soap:operation soapAction="http://soapinterop.org/" style="document"/>
             <input name="echoVoid">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </input>
             <output name="echoVoidResponse">
-                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit" 
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
                     use="literal"/>
             </output>
         </operation>
     </binding>
     <service name="WSDLInteropTestDocLitService">
-        <port binding="tns:WSDLInteropTestDocLitPortBinding" 
+        <port binding="tns:WSDLInteropTestDocLitPortBinding"
             name="WSDLInteropTestDocLitParamPort">
-            <soap:address 
+            <soap:address
                 location="http://www.whitemesa.net/interop/r3/doclitparam"/>
         </port>
     </service>

Modified: webservices/axis/trunk/java/modules/wsdl/test-resources/simple-doc-literal.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/test-resources/simple-doc-literal.wsdl?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/test-resources/simple-doc-literal.wsdl (original)
+++ webservices/axis/trunk/java/modules/wsdl/test-resources/simple-doc-literal.wsdl Mon Jul 11 08:49:30 2005
@@ -1,420 +1,420 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <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"
-	xmlns:ns3="http://soapinterop.org/types/part"
-	xmlns:ns4="http://soapinterop.org/types/requestresponse"
-	targetNamespace="http://soapinterop.org/wsdl">
-	<types>
-		<schema
-			xmlns="http://www.w3.org/2001/XMLSchema"
-			xmlns:tns="http://soapinterop.org/types"
-			targetNamespace="http://soapinterop.org/types">
-
-			<complexType name="ArrayOfString">
-				<sequence>
-					<element name="value" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
-				</sequence>
-			</complexType>
-
-			<complexType name="ArrayOfInt">
-				<sequence>
-					<element name="value" minOccurs="0" maxOccurs="unbounded" type="xsd:int"/>
-				</sequence>
-			</complexType>
-
-			<complexType name="ArrayOfFloat">
-				<sequence>
-					<element name="value" minOccurs="0" maxOccurs="unbounded" type="xsd:float"/>
-				</sequence>
-			</complexType>
-
-			<simpleType name="Enum">
-				<restriction base="xsd:int">
-					<enumeration value="1"/>
-					<enumeration value="2"/>
-				</restriction>
-			</simpleType>
-
-		</schema>
-
-		<schema
-			xmlns="http://www.w3.org/2001/XMLSchema"
-			xmlns:tns="http://soapinterop.org/types/part"
-			targetNamespace="http://soapinterop.org/types/part">
-
-			<element name="EmptyPart">
-				<complexType/>
-			</element>
-
-			<element name="StringPart" type="xsd:string"/>
-			<element name="IntPart" type="xsd:int"/>
-			<element name="FloatPart" type="xsd:float"/>
-			<element name="ArrayOfStringPart" type="ns2:ArrayOfString"/>
-			<element name="ArrayOfIntPart" type="ns2:ArrayOfInt"/>
-			<element name="ArrayOfFloatPart" type="ns2:ArrayOfFloat"/>
-			<element name="String2Part" type="xsd:string"/>
-			<element name="EnumPart" type="ns2:Enum"/>
-
-		</schema>
-
-		<schema
-			xmlns="http://www.w3.org/2001/XMLSchema"
-			xmlns:tns="http://soapinterop.org/types/requestresponse"
-			targetNamespace="http://soapinterop.org/types/requestresponse">
-
-			<element name="echoEmptyFaultRequest">
-				<complexType/>
-			</element>
-			<element name="echoEmptyFaultResponse">
-				<complexType/>
-			</element>
-
-			<element name="echoStringFaultRequest" type="xsd:string"/>
-			<element name="echoStringFaultResponse">
-				<complexType/>
-			</element>
-
-			<element name="echoIntArrayFaultRequest" type="ns2:ArrayOfInt"/>
-			<element name="echoIntArrayFaultResponse">
-				<complexType/>
-			</element>
-
-			<element name="echoMultipleFaults1Request">
-				<complexType>
-					<sequence>
-						<element name="whichFault" type="xsd:int"/>
-						<element name="param1" type="xsd:string"/>
-						<element name="param2" type="ns2:ArrayOfFloat"/>
-					</sequence>
-				</complexType>
-			</element>
-			<element name="echoMultipleFaults1Response">
-				<complexType/>
-			</element>
-
-			<element name="echoMultipleFaults2Request">
-				<complexType>
-					<sequence>
-						<element name="whichFault" type="xsd:int"/>
-						<element name="param1" type="xsd:string"/>
-						<element name="param2" type="xsd:float"/>
-						<element name="param3" type="ns2:ArrayOfString"/>
-					</sequence>
-				</complexType>
-			</element>
-			<element name="echoMultipleFaults2Response">
-				<complexType/>
-			</element>
-
-			<element name="echoMultipleFaults3Request">
-				<complexType>
-					<sequence>
-						<element name="whichFault" type="xsd:int"/>
-						<element name="param1" type="xsd:string"/>
-						<element name="param2" type="xsd:string"/>
-					</sequence>
-				</complexType>
-			</element>
-			<element name="echoMultipleFaults3Response">
-				<complexType/>
-			</element>
-
-			<element name="echoMultipleFaults4Request">
-				<complexType>
-					<sequence>
-						<element name="whichFault" type="xsd:int"/>
-						<element name="param1" type="xsd:int"/>
-						<element name="param2" type="ns2:Enum"/>
-					</sequence>
-				</complexType>
-			</element>
-			<element name="echoMultipleFaults4Response">
-				<complexType/>
-			</element>
-
-		</schema>
-	</types>
-
-	<message name="echoEmptyFaultRequest">
-		<part name="param" element="ns4:echoEmptyFaultRequest"/>
-	</message>
-	<message name="echoEmptyFaultResponse">
-		<part name="param" element="ns4:echoEmptyFaultResponse"/>
-	</message>
-
-	<message name="echoStringFaultRequest">
-		<part name="param" element="ns4:echoStringFaultRequest"/>
-	</message>
-	<message name="echoStringFaultResponse">
-		<part name="param" element="ns4:echoStringFaultResponse"/>
-	</message>
-
-	<message name="echoIntArrayFaultRequest">
-		<part name="param" element="ns4:echoIntArrayFaultRequest"/>
-	</message>
-	<message name="echoIntArrayFaultResponse">
-		<part name="param" element="ns4:echoIntArrayFaultResponse"/>
-	</message>
-
-	<message name="echoMultipleFaults1Request">
-		<part name="param" element="ns4:echoMultipleFaults1Request"/>
-	</message>
-	<message name="echoMultipleFaults1Response">
-		<part name="param" element="ns4:echoMultipleFaults1Response"/>
-	</message>
-
-	<message name="echoMultipleFaults2Request">
-		<part name="param" element="ns4:echoMultipleFaults2Request"/>
-	</message>
-	<message name="echoMultipleFaults2Response">
-		<part name="param" element="ns4:echoMultipleFaults2Response"/>
-	</message>
-
-	<message name="echoMultipleFaults3Request">
-		<part name="param" element="ns4:echoMultipleFaults3Request"/>
-	</message>
-	<message name="echoMultipleFaults3Response">
-		<part name="param" element="ns4:echoMultipleFaults3Response"/>
-	</message>
-
-	<message name="echoMultipleFaults4Request">
-		<part name="param" element="ns4:echoMultipleFaults4Request"/>
-	</message>
-	<message name="echoMultipleFaults4Response">
-		<part name="param" element="ns4:echoMultipleFaults4Response"/>
-	</message>
-
-	<!-- Fault messages -->
-	<message name="EmptyFault">
-		<part name="part1" element="ns3:EmptyPart"/>
-	</message>
-	<message name="StringFault">
-		<part name="part2" element="ns3:StringPart"/>
-	</message>
-	<message name="IntFault">
-		<part name="part3" element="ns3:IntPart"/>
-	</message>
-	<message name="FloatFault">
-		<part name="part4" element="ns3:FloatPart"/>
-	</message>
-	<message name="StringArrayFault">
-		<part name="part5" element="ns3:ArrayOfStringPart"/>
-	</message>
-	<message name="IntArrayFault">
-		<part name="part6" element="ns3:ArrayOfIntPart"/>
-	</message>
-	<message name="FloatArrayFault">
-		<part name="part7" element="ns3:ArrayOfFloatPart"/>
-	</message>
-	<!--
-		Part name same as in Fault2 message
-	-->
-	<message name="String2Fault">
-		<part name="part2" element="ns3:String2Part"/>
-	</message>
-	<message name="EnumFault">
-		<part name="part9" element="ns3:EnumPart"/>
-	</message>
-
-	<portType name="SimpleDocLitPortType">
-		<!--
-			Throws an empty fault
-		-->
-		<operation name="echoEmptyFault" parameterOrder="">
-			<input message="tns:echoEmptyFaultRequest"/>
-			<output message="tns:echoEmptyFaultResponse"/>
-			<fault name="SimpleFault" message="tns:EmptyFault"/>
-		</operation>
-
-		<!--
-			Throws fault with xsd:string parameter
-		-->
-		<operation name="echoStringFault" parameterOrder="param">
-			<input message="tns:echoStringFaultRequest"/>
-			<output message="tns:echoStringFaultResponse"/>
-			<fault name="SimpleFault" message="tns:StringFault"/>
-		</operation>
-
-		<!--
-			Throws fault with xsd:int[] parameter
-		-->
-		<operation name="echoIntArrayFault" parameterOrder="param">
-			<input message="tns:echoIntArrayFaultRequest"/>
-			<output message="tns:echoIntArrayFaultResponse"/>
-			<fault name="SimpleFault" message="tns:IntArrayFault"/>
-		</operation>
-
-		<!--
-			Throws empty fault, fault with a xsd:string
-			parameter and fault with xsd:float[] parameter
-		-->
-		<operation name="echoMultipleFaults1" parameterOrder="param">
-			<input message="tns:echoMultipleFaults1Request"/>
-			<output message="tns:echoMultipleFaults1Response"/>
-			<fault name="SimpleFault1" message="tns:EmptyFault"/>
-			<fault name="SimpleFault2" message="tns:StringFault"/>
-			<fault name="SimpleFault3" message="tns:FloatArrayFault"/>
-		</operation>
-
-		<!--
-			Throws fault with xsd:string parameter, fault with
-			xsd:float parameter and fault with xsd:string[]
-			parameters
-		-->
-		<operation name="echoMultipleFaults2" parameterOrder="param">
-			<input message="tns:echoMultipleFaults2Request"/>
-			<output message="tns:echoMultipleFaults2Response"/>
-			<fault name="SimpleFault1" message="tns:StringFault"/>
-			<fault name="SimpleFault2" message="tns:FloatFault"/>
-			<fault name="SimpleFault3" message="tns:StringArrayFault"/>
-		</operation>
-
-		<!--
-			Throws two faults, each with xsd:string parameters
-			and same part names
-		-->
-		<operation name="echoMultipleFaults3" parameterOrder="param">
-			<input message="tns:echoMultipleFaults3Request"/>
-			<output message="tns:echoMultipleFaults3Response"/>
-			<fault name="SimpleFault1" message="tns:StringFault"/>
-			<fault name="SimpleFault2" message="tns:String2Fault"/>
-		</operation>
-
-		<!--
-			Throws fault with xsd:int parameter and fault with an
-			int enumeration parameter
-		-->
-		<operation name="echoMultipleFaults4" parameterOrder="param">
-			<input message="tns:echoMultipleFaults4Request"/>
-			<output message="tns:echoMultipleFaults4Response"/>
-			<fault name="SimpleFault1" message="tns:IntFault"/>
-			<fault name="SimpleFault2" message="tns:EnumFault"/>
-		</operation>
-	</portType>
-
-	<binding name="SimpleDocLitBinding" type="tns:SimpleDocLitPortType">
-		<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-
-		<operation name="echoEmptyFault">
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-			<fault name="SimpleFault">
-				<soap:fault use="literal"/>
-			</fault>
-			<soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
-		</operation>
-
-		<operation name="echoStringFault">
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-			<fault name="SimpleFault">
-				<soap:fault use="literal"/>
-			</fault>
-			<soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
-		</operation>
-
-		<operation name="echoIntArrayFault">
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-			<fault name="SimpleFault">
-				<soap:fault use="literal"/>
-			</fault>
-			<soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
-		</operation>
-
-		<operation name="echoMultipleFaults1">
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-			<fault name="SimpleFault1">
-				<soap:fault use="literal"/>
-			</fault>
-			<fault name="SimpleFault2">
-				<soap:fault use="literal"/>
-			</fault>
-			<fault name="SimpleFault3">
-				<soap:fault use="literal"/>
-			</fault>
-			<soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
-		</operation>
-
-		<operation name="echoMultipleFaults2">
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-			<fault name="SimpleFault1">
-				<soap:fault use="literal"/>
-			</fault>
-			<fault name="SimpleFault2">
-				<soap:fault use="literal"/>
-			</fault>
-			<fault name="SimpleFault3">
-				<soap:fault use="literal"/>
-			</fault>
-			<soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
-		</operation>
-
-		<operation name="echoMultipleFaults3">
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-			<fault name="SimpleFault1">
-				<soap:fault use="literal"/>
-			</fault>
-			<fault name="SimpleFault2">
-				<soap:fault use="literal"/>
-			</fault>
-			<soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
-		</operation>
-
-		<operation name="echoMultipleFaults4">
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-			<fault name="SimpleFault1">
-				<soap:fault use="literal"/>
-			</fault>
-			<fault name="SimpleFault2">
-				<soap:fault use="literal"/>
-			</fault>
-			<soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
-		</operation>
-
-	</binding>
-
-	<service name="SimpleDocLitService">
-		<port name="SimpleDocLitPort" binding="tns:SimpleDocLitBinding">
-			<soap:address
-				location="http://localhost:8080/axis/services/SimpleDocLitPort"/>
-		</port>
-	</service>
+    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"
+    xmlns:ns3="http://soapinterop.org/types/part"
+    xmlns:ns4="http://soapinterop.org/types/requestresponse"
+    targetNamespace="http://soapinterop.org/wsdl">
+    <types>
+        <schema
+            xmlns="http://www.w3.org/2001/XMLSchema"
+            xmlns:tns="http://soapinterop.org/types"
+            targetNamespace="http://soapinterop.org/types">
+
+            <complexType name="ArrayOfString">
+                <sequence>
+                    <element name="value" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
+                </sequence>
+            </complexType>
+
+            <complexType name="ArrayOfInt">
+                <sequence>
+                    <element name="value" minOccurs="0" maxOccurs="unbounded" type="xsd:int"/>
+                </sequence>
+            </complexType>
+
+            <complexType name="ArrayOfFloat">
+                <sequence>
+                    <element name="value" minOccurs="0" maxOccurs="unbounded" type="xsd:float"/>
+                </sequence>
+            </complexType>
+
+            <simpleType name="Enum">
+                <restriction base="xsd:int">
+                    <enumeration value="1"/>
+                    <enumeration value="2"/>
+                </restriction>
+            </simpleType>
+
+        </schema>
+
+        <schema
+            xmlns="http://www.w3.org/2001/XMLSchema"
+            xmlns:tns="http://soapinterop.org/types/part"
+            targetNamespace="http://soapinterop.org/types/part">
+
+            <element name="EmptyPart">
+                <complexType/>
+            </element>
+
+            <element name="StringPart" type="xsd:string"/>
+            <element name="IntPart" type="xsd:int"/>
+            <element name="FloatPart" type="xsd:float"/>
+            <element name="ArrayOfStringPart" type="ns2:ArrayOfString"/>
+            <element name="ArrayOfIntPart" type="ns2:ArrayOfInt"/>
+            <element name="ArrayOfFloatPart" type="ns2:ArrayOfFloat"/>
+            <element name="String2Part" type="xsd:string"/>
+            <element name="EnumPart" type="ns2:Enum"/>
+
+        </schema>
+
+        <schema
+            xmlns="http://www.w3.org/2001/XMLSchema"
+            xmlns:tns="http://soapinterop.org/types/requestresponse"
+            targetNamespace="http://soapinterop.org/types/requestresponse">
+
+            <element name="echoEmptyFaultRequest">
+                <complexType/>
+            </element>
+            <element name="echoEmptyFaultResponse">
+                <complexType/>
+            </element>
+
+            <element name="echoStringFaultRequest" type="xsd:string"/>
+            <element name="echoStringFaultResponse">
+                <complexType/>
+            </element>
+
+            <element name="echoIntArrayFaultRequest" type="ns2:ArrayOfInt"/>
+            <element name="echoIntArrayFaultResponse">
+                <complexType/>
+            </element>
+
+            <element name="echoMultipleFaults1Request">
+                <complexType>
+                    <sequence>
+                        <element name="whichFault" type="xsd:int"/>
+                        <element name="param1" type="xsd:string"/>
+                        <element name="param2" type="ns2:ArrayOfFloat"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="echoMultipleFaults1Response">
+                <complexType/>
+            </element>
+
+            <element name="echoMultipleFaults2Request">
+                <complexType>
+                    <sequence>
+                        <element name="whichFault" type="xsd:int"/>
+                        <element name="param1" type="xsd:string"/>
+                        <element name="param2" type="xsd:float"/>
+                        <element name="param3" type="ns2:ArrayOfString"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="echoMultipleFaults2Response">
+                <complexType/>
+            </element>
+
+            <element name="echoMultipleFaults3Request">
+                <complexType>
+                    <sequence>
+                        <element name="whichFault" type="xsd:int"/>
+                        <element name="param1" type="xsd:string"/>
+                        <element name="param2" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="echoMultipleFaults3Response">
+                <complexType/>
+            </element>
+
+            <element name="echoMultipleFaults4Request">
+                <complexType>
+                    <sequence>
+                        <element name="whichFault" type="xsd:int"/>
+                        <element name="param1" type="xsd:int"/>
+                        <element name="param2" type="ns2:Enum"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="echoMultipleFaults4Response">
+                <complexType/>
+            </element>
+
+        </schema>
+    </types>
+
+    <message name="echoEmptyFaultRequest">
+        <part name="param" element="ns4:echoEmptyFaultRequest"/>
+    </message>
+    <message name="echoEmptyFaultResponse">
+        <part name="param" element="ns4:echoEmptyFaultResponse"/>
+    </message>
+
+    <message name="echoStringFaultRequest">
+        <part name="param" element="ns4:echoStringFaultRequest"/>
+    </message>
+    <message name="echoStringFaultResponse">
+        <part name="param" element="ns4:echoStringFaultResponse"/>
+    </message>
+
+    <message name="echoIntArrayFaultRequest">
+        <part name="param" element="ns4:echoIntArrayFaultRequest"/>
+    </message>
+    <message name="echoIntArrayFaultResponse">
+        <part name="param" element="ns4:echoIntArrayFaultResponse"/>
+    </message>
+
+    <message name="echoMultipleFaults1Request">
+        <part name="param" element="ns4:echoMultipleFaults1Request"/>
+    </message>
+    <message name="echoMultipleFaults1Response">
+        <part name="param" element="ns4:echoMultipleFaults1Response"/>
+    </message>
+
+    <message name="echoMultipleFaults2Request">
+        <part name="param" element="ns4:echoMultipleFaults2Request"/>
+    </message>
+    <message name="echoMultipleFaults2Response">
+        <part name="param" element="ns4:echoMultipleFaults2Response"/>
+    </message>
+
+    <message name="echoMultipleFaults3Request">
+        <part name="param" element="ns4:echoMultipleFaults3Request"/>
+    </message>
+    <message name="echoMultipleFaults3Response">
+        <part name="param" element="ns4:echoMultipleFaults3Response"/>
+    </message>
+
+    <message name="echoMultipleFaults4Request">
+        <part name="param" element="ns4:echoMultipleFaults4Request"/>
+    </message>
+    <message name="echoMultipleFaults4Response">
+        <part name="param" element="ns4:echoMultipleFaults4Response"/>
+    </message>
+
+    <!-- Fault messages -->
+    <message name="EmptyFault">
+        <part name="part1" element="ns3:EmptyPart"/>
+    </message>
+    <message name="StringFault">
+        <part name="part2" element="ns3:StringPart"/>
+    </message>
+    <message name="IntFault">
+        <part name="part3" element="ns3:IntPart"/>
+    </message>
+    <message name="FloatFault">
+        <part name="part4" element="ns3:FloatPart"/>
+    </message>
+    <message name="StringArrayFault">
+        <part name="part5" element="ns3:ArrayOfStringPart"/>
+    </message>
+    <message name="IntArrayFault">
+        <part name="part6" element="ns3:ArrayOfIntPart"/>
+    </message>
+    <message name="FloatArrayFault">
+        <part name="part7" element="ns3:ArrayOfFloatPart"/>
+    </message>
+    <!--
+        Part name same as in Fault2 message
+    -->
+    <message name="String2Fault">
+        <part name="part2" element="ns3:String2Part"/>
+    </message>
+    <message name="EnumFault">
+        <part name="part9" element="ns3:EnumPart"/>
+    </message>
+
+    <portType name="SimpleDocLitPortType">
+        <!--
+            Throws an empty fault
+        -->
+        <operation name="echoEmptyFault" parameterOrder="">
+            <input message="tns:echoEmptyFaultRequest"/>
+            <output message="tns:echoEmptyFaultResponse"/>
+            <fault name="SimpleFault" message="tns:EmptyFault"/>
+        </operation>
+
+        <!--
+            Throws fault with xsd:string parameter
+        -->
+        <operation name="echoStringFault" parameterOrder="param">
+            <input message="tns:echoStringFaultRequest"/>
+            <output message="tns:echoStringFaultResponse"/>
+            <fault name="SimpleFault" message="tns:StringFault"/>
+        </operation>
+
+        <!--
+            Throws fault with xsd:int[] parameter
+        -->
+        <operation name="echoIntArrayFault" parameterOrder="param">
+            <input message="tns:echoIntArrayFaultRequest"/>
+            <output message="tns:echoIntArrayFaultResponse"/>
+            <fault name="SimpleFault" message="tns:IntArrayFault"/>
+        </operation>
+
+        <!--
+            Throws empty fault, fault with a xsd:string
+            parameter and fault with xsd:float[] parameter
+        -->
+        <operation name="echoMultipleFaults1" parameterOrder="param">
+            <input message="tns:echoMultipleFaults1Request"/>
+            <output message="tns:echoMultipleFaults1Response"/>
+            <fault name="SimpleFault1" message="tns:EmptyFault"/>
+            <fault name="SimpleFault2" message="tns:StringFault"/>
+            <fault name="SimpleFault3" message="tns:FloatArrayFault"/>
+        </operation>
+
+        <!--
+            Throws fault with xsd:string parameter, fault with
+            xsd:float parameter and fault with xsd:string[]
+            parameters
+        -->
+        <operation name="echoMultipleFaults2" parameterOrder="param">
+            <input message="tns:echoMultipleFaults2Request"/>
+            <output message="tns:echoMultipleFaults2Response"/>
+            <fault name="SimpleFault1" message="tns:StringFault"/>
+            <fault name="SimpleFault2" message="tns:FloatFault"/>
+            <fault name="SimpleFault3" message="tns:StringArrayFault"/>
+        </operation>
+
+        <!--
+            Throws two faults, each with xsd:string parameters
+            and same part names
+        -->
+        <operation name="echoMultipleFaults3" parameterOrder="param">
+            <input message="tns:echoMultipleFaults3Request"/>
+            <output message="tns:echoMultipleFaults3Response"/>
+            <fault name="SimpleFault1" message="tns:StringFault"/>
+            <fault name="SimpleFault2" message="tns:String2Fault"/>
+        </operation>
+
+        <!--
+            Throws fault with xsd:int parameter and fault with an
+            int enumeration parameter
+        -->
+        <operation name="echoMultipleFaults4" parameterOrder="param">
+            <input message="tns:echoMultipleFaults4Request"/>
+            <output message="tns:echoMultipleFaults4Response"/>
+            <fault name="SimpleFault1" message="tns:IntFault"/>
+            <fault name="SimpleFault2" message="tns:EnumFault"/>
+        </operation>
+    </portType>
+
+    <binding name="SimpleDocLitBinding" type="tns:SimpleDocLitPortType">
+        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+
+        <operation name="echoEmptyFault">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <fault name="SimpleFault">
+                <soap:fault use="literal"/>
+            </fault>
+            <soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
+        </operation>
+
+        <operation name="echoStringFault">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <fault name="SimpleFault">
+                <soap:fault use="literal"/>
+            </fault>
+            <soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
+        </operation>
+
+        <operation name="echoIntArrayFault">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <fault name="SimpleFault">
+                <soap:fault use="literal"/>
+            </fault>
+            <soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
+        </operation>
+
+        <operation name="echoMultipleFaults1">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <fault name="SimpleFault1">
+                <soap:fault use="literal"/>
+            </fault>
+            <fault name="SimpleFault2">
+                <soap:fault use="literal"/>
+            </fault>
+            <fault name="SimpleFault3">
+                <soap:fault use="literal"/>
+            </fault>
+            <soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
+        </operation>
+
+        <operation name="echoMultipleFaults2">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <fault name="SimpleFault1">
+                <soap:fault use="literal"/>
+            </fault>
+            <fault name="SimpleFault2">
+                <soap:fault use="literal"/>
+            </fault>
+            <fault name="SimpleFault3">
+                <soap:fault use="literal"/>
+            </fault>
+            <soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
+        </operation>
+
+        <operation name="echoMultipleFaults3">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <fault name="SimpleFault1">
+                <soap:fault use="literal"/>
+            </fault>
+            <fault name="SimpleFault2">
+                <soap:fault use="literal"/>
+            </fault>
+            <soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
+        </operation>
+
+        <operation name="echoMultipleFaults4">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+            <fault name="SimpleFault1">
+                <soap:fault use="literal"/>
+            </fault>
+            <fault name="SimpleFault2">
+                <soap:fault use="literal"/>
+            </fault>
+            <soap:operation soapAction="http://soapinterop.org/r4/groupg/"/>
+        </operation>
+
+    </binding>
+
+    <service name="SimpleDocLitService">
+        <port name="SimpleDocLitPort" binding="tns:SimpleDocLitBinding">
+            <soap:address
+                location="http://localhost:8080/axis/services/SimpleDocLitPort"/>
+        </port>
+    </service>
 </definitions>
 

Modified: webservices/axis/trunk/java/modules/wsdl/test/org/apache/wsdl/BindingOperationTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/test/org/apache/wsdl/BindingOperationTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/test/org/apache/wsdl/BindingOperationTest.java (original)
+++ webservices/axis/trunk/java/modules/wsdl/test/org/apache/wsdl/BindingOperationTest.java Mon Jul 11 08:49:30 2005
@@ -24,35 +24,34 @@
 
 /**
  * @author chathura@opensource.lk
- *  
  */
 public class BindingOperationTest extends AbstractTestCase {
 
-	public BindingOperationTest(String arg) {
-		super(arg);
-	}
+    public BindingOperationTest(String arg) {
+        super(arg);
+    }
 
-	/**
-	 * The WSDL should be passed properly and the WOM should be built if 
-	 * everything is allright
-	 * @throws Exception
-	 */
-	public void testBindingOperation() throws Exception {
-		WSDLDescription womDescription;
+    /**
+     * The WSDL should be passed properly and the WOM should be built if
+     * everything is allright
+     *
+     * @throws Exception
+     */
+    public void testBindingOperation() throws Exception {
+        WSDLDescription womDescription;
 
-		InputStream in = new FileInputStream(
-				getTestResourceFile("BookQuote.wsdl"));
-		womDescription = WOMBuilderFactory.getBuilder(WOMBuilderFactory.WSDL11)
-				.build(in).getDescription();
-		
-		assertNotNull(womDescription);
-		if(null !=womDescription){
-			String ns = "http://www.Monson-Haefel.com/jwsbook/BookQuote";
-			WSDLBinding binding = womDescription.getBinding(new QName(ns,"BookQuoteBinding"));
-			WSDLBindingOperation bindingOperation = binding.getBindingOperation(new QName(ns, "getBookPrice"));
-			assertNotNull(bindingOperation.getInput());
-			assertNull(bindingOperation.getOutput());
-		}
+        InputStream in = new FileInputStream(getTestResourceFile("BookQuote.wsdl"));
+        womDescription = WOMBuilderFactory.getBuilder(WOMBuilderFactory.WSDL11)
+                .build(in).getDescription();
 
-	}
+        assertNotNull(womDescription);
+        if (null != womDescription) {
+            String ns = "http://www.Monson-Haefel.com/jwsbook/BookQuote";
+            WSDLBinding binding = womDescription.getBinding(new QName(ns, "BookQuoteBinding"));
+            WSDLBindingOperation bindingOperation = binding.getBindingOperation(new QName(ns, "getBookPrice"));
+            assertNotNull(bindingOperation.getInput());
+            assertNull(bindingOperation.getOutput());
+        }
+
+    }
 }

Modified: webservices/axis/trunk/java/modules/wsdl/test/org/apache/wsdl/CreateSchemaTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/test/org/apache/wsdl/CreateSchemaTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/test/org/apache/wsdl/CreateSchemaTest.java (original)
+++ webservices/axis/trunk/java/modules/wsdl/test/org/apache/wsdl/CreateSchemaTest.java Mon Jul 11 08:49:30 2005
@@ -31,56 +31,55 @@
 
 /**
  * @author chathura@opensource.lk
- *  
  */
 public class CreateSchemaTest extends AbstractTestCase {
 
-	private WSDLDescription womDescription;
+    private WSDLDescription womDescription;
 
-	private Definition wsdl4jDefinition;
+    private Definition wsdl4jDefinition;
 
-	public CreateSchemaTest(String arg) {
-		super(arg);
-	}
+    public CreateSchemaTest(String arg) {
+        super(arg);
+    }
 
-	protected void setUp() throws Exception {
-		WSDLVersionWrapper wsdlVersionWrapper = null;
+    protected void setUp() throws Exception {
+        WSDLVersionWrapper wsdlVersionWrapper = null;
         if (null == this.womDescription) {
             InputStream in = new FileInputStream(getTestResourceFile("BookQuote.wsdl"));
             wsdlVersionWrapper = WOMBuilderFactory.getBuilder(WOMBuilderFactory.WSDL11).build(in);
-			this.womDescription = wsdlVersionWrapper.getDescription();
+            this.womDescription = wsdlVersionWrapper.getDescription();
         }
         if (null == wsdl4jDefinition) {
             this.wsdl4jDefinition = wsdlVersionWrapper.getDefinition();
         }
-	}
+    }
 
-	public void testInsertedMultipartType() {
-		WSDLTypes types = womDescription.getTypes();
-		assertNotNull(types);
-		Iterator iterator = types.getExtensibilityElements().iterator();
-		WSDLExtensibilityElement element = null;
-		while (iterator.hasNext()) {
-			element = (WSDLExtensibilityElement) iterator.next();
-			if (ExtensionConstants.SCHEMA.equals(element.getType()))
-				break;
-		}
-		assertNotNull(element);
-		Schema schema = (Schema) element;
-		NodeList childNodes = schema.getElelment().getChildNodes();
-		Element insertedElementForMessageReference = null;
-		for (int i = 0; i < childNodes.getLength(); i++) {
-			Node item = childNodes.item(i);
-			if (item instanceof Element
-					&& "complexType".equals(((Element) item).getTagName())
-					&& "BookQuote_getBookPrice".equals(((Element) item)
-							.getAttribute("name"))) {
-				insertedElementForMessageReference = (Element) item;
-			}
-		}
+    public void testInsertedMultipartType() {
+        WSDLTypes types = womDescription.getTypes();
+        assertNotNull(types);
+        Iterator iterator = types.getExtensibilityElements().iterator();
+        WSDLExtensibilityElement element = null;
+        while (iterator.hasNext()) {
+            element = (WSDLExtensibilityElement) iterator.next();
+            if (ExtensionConstants.SCHEMA.equals(element.getType()))
+                break;
+        }
+        assertNotNull(element);
+        Schema schema = (Schema) element;
+        NodeList childNodes = schema.getElelment().getChildNodes();
+        Element insertedElementForMessageReference = null;
+        for (int i = 0; i < childNodes.getLength(); i++) {
+            Node item = childNodes.item(i);
+            if (item instanceof Element
+                    && "complexType".equals(((Element) item).getTagName())
+                    && "BookQuote_getBookPrice".equals(((Element) item)
+                                                       .getAttribute("name"))) {
+                insertedElementForMessageReference = (Element) item;
+            }
+        }
 
-		assertNotNull(insertedElementForMessageReference);
+        assertNotNull(insertedElementForMessageReference);
 
-	}
+    }
 
 }



Mime
View raw message