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 am...@apache.org on 2007/02/22 08:07:53 UTC

svn commit: r510428 - in /webservices/axis2/trunk/java/modules/integration/test-resources/wsdl: ./ DocumentUnwrappingTest.wsdl RobustInOnlyServiceTest.wsdl

Author: amilas
Date: Wed Feb 21 23:07:52 2007
New Revision: 510428

URL: http://svn.apache.org/viewvc?view=rev&rev=510428
Log:
test resources for unwrapping

Added:
    webservices/axis2/trunk/java/modules/integration/test-resources/wsdl/
    webservices/axis2/trunk/java/modules/integration/test-resources/wsdl/DocumentUnwrappingTest.wsdl
    webservices/axis2/trunk/java/modules/integration/test-resources/wsdl/RobustInOnlyServiceTest.wsdl

Added: webservices/axis2/trunk/java/modules/integration/test-resources/wsdl/DocumentUnwrappingTest.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test-resources/wsdl/DocumentUnwrappingTest.wsdl?view=auto&rev=510428
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/wsdl/DocumentUnwrappingTest.wsdl (added)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/wsdl/DocumentUnwrappingTest.wsdl Wed Feb 21 23:07:52 2007
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="wsdladmintest"
+                  targetNamespace="http://www.example.org/wsdltest/"
+                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+                  xmlns:tns="http://www.example.org/wsdltest/"
+                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+    <wsdl:types>
+        <xsd:schema targetNamespace="http://www.example.org/wsdltest/"
+                    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+                    xmlns:p="http://schemas.xmlsoap.org/wsdl/soap/">
+            <xsd:element name="Request1">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="param1" type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+            <xsd:element name="Response1">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="param1" type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+
+            <xsd:element name="Request2">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="param1" type="xsd:string"/>
+                        <xsd:element name="param2" type="xsd:string"/>
+                        <xsd:element name="param3" type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+            <xsd:element name="Response2">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="param1" type="xsd:int"/>
+                        <xsd:element name="param2" type="xsd:boolean"/>
+                        <xsd:element name="param3" type="xsd:float"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+
+            <xsd:element name="Request3" type="tns:SingleElementComplexType"/>
+            <xsd:element name="Response3" type="tns:SingleElementComplexType"/>
+
+            <xsd:complexType name="SingleElementComplexType">
+                <xsd:sequence>
+                    <xsd:element name="param1" type="xsd:string"/>
+                </xsd:sequence>
+            </xsd:complexType>
+
+            <xsd:element name="Request4" type="tns:MultipleElementComplexType"/>
+            <xsd:element name="Response4" type="tns:MultipleElementComplexType"/>
+
+            <xsd:complexType name="MultipleElementComplexType">
+                <xsd:sequence>
+                    <xsd:element name="param1" type="xsd:string"/>
+                    <xsd:element name="param2" type="xsd:string"/>
+                    <xsd:element name="param3" type="xsd:string"/>
+                </xsd:sequence>
+            </xsd:complexType>
+
+            <xsd:complexType name="AbstractComplexType">
+                <xsd:sequence>
+                    <xsd:element name="param1" type="xsd:string"/>
+                    <xsd:element name="param2" type="xsd:int"/>
+                </xsd:sequence>
+            </xsd:complexType>
+
+            
+        </xsd:schema>
+    </wsdl:types>
+    <wsdl:message name="OperationRequestMessage1">
+        <wsdl:part element="tns:Request1" name="parameters"/>
+    </wsdl:message>
+    <wsdl:message name="OperationResponseMessage1">
+        <wsdl:part element="tns:Response1" name="parameters"/>
+    </wsdl:message>
+
+    <wsdl:message name="OperationRequestMessage2">
+        <wsdl:part element="tns:Request2" name="parameters"/>
+    </wsdl:message>
+    <wsdl:message name="OperationResponseMessage2">
+        <wsdl:part element="tns:Response2" name="parameters"/>
+    </wsdl:message>
+
+    <wsdl:message name="OperationRequestMessage3">
+        <wsdl:part element="tns:Request3" name="parameters"/>
+    </wsdl:message>
+    <wsdl:message name="OperationResponseMessage3">
+        <wsdl:part element="tns:Response3" name="parameters"/>
+    </wsdl:message>
+
+    <wsdl:message name="OperationRequestMessage4">
+        <wsdl:part element="tns:Request4" name="parameters"/>
+    </wsdl:message>
+    <wsdl:message name="OperationResponseMessage4">
+        <wsdl:part element="tns:Response4" name="parameters"/>
+    </wsdl:message>
+
+    <wsdl:portType name="DocumentUnwrappingPortType">
+        <wsdl:operation name="Operation1">
+            <wsdl:input message="tns:OperationRequestMessage1"/>
+            <wsdl:output message="tns:OperationResponseMessage1"/>
+        </wsdl:operation>
+        <wsdl:operation name="Operation2">
+            <wsdl:input message="tns:OperationRequestMessage2"/>
+            <wsdl:output message="tns:OperationResponseMessage2"/>
+        </wsdl:operation>
+        <wsdl:operation name="Operation3">
+            <wsdl:input message="tns:OperationRequestMessage3"/>
+            <wsdl:output message="tns:OperationResponseMessage3"/>
+        </wsdl:operation>
+        <wsdl:operation name="Operation4">
+            <wsdl:input message="tns:OperationRequestMessage4"/>
+            <wsdl:output message="tns:OperationResponseMessage4"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="DocumentUnwrappingTestBinding" type="tns:DocumentUnwrappingPortType">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="Operation1">
+            <soap:operation soapAction="http://www.example.org/wsdltest/Operation1"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="Operation2">
+            <soap:operation soapAction="http://www.example.org/wsdltest/Operation2"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="Operation3">
+            <soap:operation soapAction="http://www.example.org/wsdltest/Operation3"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="Operation4">
+            <soap:operation soapAction="http://www.example.org/wsdltest/Operation4"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="DocumentUnwrappingTestService">
+        <wsdl:port binding="tns:DocumentUnwrappingTestBinding" name="port1">
+            <soap:address location="http://www.example.org/"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
+

Added: webservices/axis2/trunk/java/modules/integration/test-resources/wsdl/RobustInOnlyServiceTest.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test-resources/wsdl/RobustInOnlyServiceTest.wsdl?view=auto&rev=510428
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/wsdl/RobustInOnlyServiceTest.wsdl (added)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/wsdl/RobustInOnlyServiceTest.wsdl Wed Feb 21 23:07:52 2007
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="wsdladmintest"
+                  targetNamespace="http://www.example.org/wsdltest/"
+                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+                  xmlns:tns="http://www.example.org/wsdltest/"
+                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+    <wsdl:types>
+        <xsd:schema targetNamespace="http://www.example.org/wsdltest/"
+                    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+                    xmlns:p="http://schemas.xmlsoap.org/wsdl/soap/">
+            <xsd:element name="Request">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="in" type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+            <xsd:element name="Response">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="out" type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+            <xsd:element name="Fault">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="fault" type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+        </xsd:schema>
+    </wsdl:types>
+    <wsdl:message name="OperationRequestMessage">
+        <wsdl:part element="tns:Request" name="parameters"/>
+    </wsdl:message>
+    <wsdl:message name="OperationResponseMessage">
+        <wsdl:part element="tns:Response" name="parameters"/>
+    </wsdl:message>
+    <wsdl:message name="FaultMessage">
+        <wsdl:part element="tns:Fault" name="parameters"/>
+    </wsdl:message>
+
+    <wsdl:portType name="wsdltest">
+        <wsdl:operation name="Operation">
+            <wsdl:input message="tns:OperationRequestMessage"/>
+            <wsdl:fault name="ConnectionFailure" message="tns:FaultMessage"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="wsdltestSOAP" type="tns:wsdltest">
+        <soap:binding style="document"  transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="Operation">
+            <soap:operation  soapAction="http://www.example.org/wsdltest/NewOperation"/>
+            <wsdl:input>
+                <soap:body use="literal" />
+            </wsdl:input>
+            <wsdl:fault name="ConnectionFailure">
+                <soap:fault use="literal" name="ConnectionFailure"/>
+            </wsdl:fault>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="wsdltest">
+        <wsdl:port binding="tns:wsdltestSOAP" name="wsdltestSOAP">
+            <soap:address location="http://www.example.org/"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
+



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org