axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chinth...@apache.org
Subject svn commit: r439951 - in /webservices/axis2/trunk/java/modules/codegen/test-resources/schemas: ./ schema-1.xsd schema-2.xsd schema-3.xsd schema-4.xsd
Date Mon, 04 Sep 2006 06:35:59 GMT
Author: chinthaka
Date: Sun Sep  3 23:35:58 2006
New Revision: 439951

URL: http://svn.apache.org/viewvc?view=rev&rev=439951
Log:
Test resources for unwrapping testing

Added:
    webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/
    webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-1.xsd
    webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-2.xsd
    webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-3.xsd
    webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-4.xsd

Added: webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-1.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-1.xsd?view=auto&rev=439951
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-1.xsd (added)
+++ webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-1.xsd Sun Sep
 3 23:35:58 2006
@@ -0,0 +1,14 @@
+<!--
+    AddRequest is a complex type
+-->
+
+<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
+           targetNamespace="http://ws.apache.org/schemas/axis2" xmlns="http://ws.apache.org/schemas/axis2"
+           xmlns:ns="http://ws.apache.org/schemas/axis2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+    <xs:complexType name="AddRequest">
+        <xs:sequence>
+            <xs:element maxOccurs="1" minOccurs="1" name="ParameterOne" type="xs:int"/>
+            <xs:element maxOccurs="1" minOccurs="1" name="ParameterTwo" type="xs:string"/>
+        </xs:sequence>
+    </xs:complexType>
+</xs:schema>
\ No newline at end of file

Added: webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-2.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-2.xsd?view=auto&rev=439951
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-2.xsd (added)
+++ webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-2.xsd Sun Sep
 3 23:35:58 2006
@@ -0,0 +1,16 @@
+<!--
+    1. AddRequest is of AddRequestType
+    2. AddRequestType has a sequence
+-->
+
+<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
+           targetNamespace="http://ws.apache.org/schemas/axis2" xmlns="http://ws.apache.org/schemas/axis2"
+           xmlns:ns="http://ws.apache.org/schemas/axis2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+    <xs:element name="AddRequest" type="AddRequestType"/>
+    <xs:complexType name="AddRequestType">
+        <xs:sequence>
+            <xs:element maxOccurs="1" minOccurs="1" name="ParameterOne" type="xs:int"/>
+            <xs:element maxOccurs="1" minOccurs="1" name="ParameterTwo" type="xs:string"/>
+        </xs:sequence>
+    </xs:complexType>
+</xs:schema>
\ No newline at end of file

Added: webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-3.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-3.xsd?view=auto&rev=439951
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-3.xsd (added)
+++ webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-3.xsd Sun Sep
 3 23:35:58 2006
@@ -0,0 +1,25 @@
+
+<!--
+     1. AddRequest is of AddRequestType
+     2. AddRequestType extends from AbstractParameterType
+     3. AbstractParameterType has primitive types only
+ -->
+
+<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
+           targetNamespace="http://ws.apache.org/schemas/axis2" xmlns="http://ws.apache.org/schemas/axis2"
+           xmlns:ns="http://ws.apache.org/schemas/axis2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+    <xs:element name="AddRequest" type="AddRequestType"/>
+    <xs:complexType name="AddRequestType">
+        <xs:complexContent>
+            <xs:extension base="ns:AbstractParameterType">
+                <xs:sequence/>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+    <xs:complexType abstract="true" name="AbstractParameterType">
+        <xs:sequence>
+            <xs:element maxOccurs="1" minOccurs="1" name="ParameterOne" type="xs:int"/>
+            <xs:element maxOccurs="1" minOccurs="1" name="ParameterTwo" type="xs:string"/>
+        </xs:sequence>
+    </xs:complexType>
+</xs:schema>
\ No newline at end of file

Added: webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-4.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-4.xsd?view=auto&rev=439951
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-4.xsd (added)
+++ webservices/axis2/trunk/java/modules/codegen/test-resources/schemas/schema-4.xsd Sun Sep
 3 23:35:58 2006
@@ -0,0 +1,28 @@
+<!--
+    1. AddRequest is of AddRequestType
+    2. AddRequestType extends from AbstractParameterType and it AddRequestType has more stuff
defined in a sequence, in
+    addition to the extension.
+    3. AbstractParameterType has primitive types only
+-->
+
+<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
+           targetNamespace="http://ws.apache.org/schemas/axis2" xmlns="http://ws.apache.org/schemas/axis2"
+           xmlns:ns="http://ws.apache.org/schemas/axis2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+    <xs:element name="AddRequest" type="AddRequestType"/>
+    <xs:complexType name="AddRequestType">
+        <xs:complexContent>
+            <xs:extension base="ns:AbstractParameterType">
+                <xs:sequence>
+                    <xs:element maxOccurs="1" minOccurs="1" name="ParameterThree" type="xs:int"/>
+                    <xs:element maxOccurs="1" minOccurs="1" name="ParameterFour" type="xs:string"/>
+                </xs:sequence>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+    <xs:complexType abstract="true" name="AbstractParameterType">
+        <xs:sequence>
+            <xs:element maxOccurs="1" minOccurs="1" name="ParameterOne" type="xs:int"/>
+            <xs:element maxOccurs="1" minOccurs="1" name="ParameterTwo" type="xs:string"/>
+        </xs:sequence>
+    </xs:complexType>
+</xs:schema>
\ No newline at end of file



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


Mime
View raw message