axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prest...@apache.org
Subject svn commit: r292451 - in /webservices/axis/trunk/c/tests/auto_build/testcases/wsdls: NamespaceTest1.wsdl SimpleNonBaseType.xsd SimpleType.xsd
Date Thu, 29 Sep 2005 15:42:54 GMT
Author: prestonf
Date: Thu Sep 29 08:42:49 2005
New Revision: 292451

URL: http://svn.apache.org/viewcvs?rev=292451&view=rev
Log:
Part of the test for AXISCPP-843

Added:
    webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/NamespaceTest1.wsdl
    webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/SimpleNonBaseType.xsd
    webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/SimpleType.xsd

Added: webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/NamespaceTest1.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/NamespaceTest1.wsdl?rev=292451&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/NamespaceTest1.wsdl (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/NamespaceTest1.wsdl Thu Sep
29 08:42:49 2005
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<definitions targetNamespace="SimpleNonBaseType"
+                       xmlns="http://schemas.xmlsoap.org/wsdl/"
+                  xmlns:ns99="SimpleType"
+                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+                   xmlns:tns="SimpleNonBaseType"
+                   xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/"
+                   xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="XMLSchema">
+
+ <types>
+  <xsd:schema   xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  	<xsd:import namespace="SimpleType"
+  	       schemaLocation="SimpleType.xsd"/>
+  	<xsd:import namespace="SimpleNonBaseType"
+  		   schemaLocation="SimpleNonBaseType.xsd"/>
+
+   <xsd:element name="anElement">
+    <xsd:complexType>
+     <xsd:sequence>
+      <xsd:element maxOccurs="1" minOccurs="1" name="Element" nillable="true" type="ns99:SampleBean"/>
+     </xsd:sequence>
+    </xsd:complexType>
+   </xsd:element>
+  </xsd:schema>
+ </types>
+
+ <message name="aBeanMessage">
+ 	<part name="aBeanMesage" element="tns:anElement"></part>
+ </message>
+
+ <portType name="TestServicePortType">
  <operation name="aBeanPortType">
+   <input message="tns:aBeanMessage"/>
+  </operation>
 </portType>
+
+ <binding name="ServiceBinding" type="tns:TestServicePortType">
+  <documentation>
+   <wsi:Claim conformsTo="http://ws-i.org/profiles/basic/1.0"/>
+  </documentation>
+  <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+  <operation name="aBeanPortType">
+   <soap:operation soapAction="" style="document"/>
+   <input>
+    <soap:body use="literal"/>
+   </input>
+  </operation>
+ </binding>
+
+  <service name="SimpleService">
+    <port binding="tns:ServiceBinding" name="ServiceBinding">
+      <soap:address location="http://tempuri.org" /> 
+    </port>
+  </service>
+
+</definitions>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/SimpleNonBaseType.xsd
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/SimpleNonBaseType.xsd?rev=292451&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/SimpleNonBaseType.xsd (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/SimpleNonBaseType.xsd Thu Sep
29 08:42:49 2005
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<xsd:schema targetNamespace="SimpleNonBaseType"
+            xmlns:tns="SimpleNonBaseType"
+            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:complexType name="Time">
+  <xsd:sequence>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="Hours"   nillable="false"
type="xsd:int"/>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="Minutes" nillable="false"
type="xsd:int"/>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="Seconds" nillable="false"
type="xsd:int"/>
+  </xsd:sequence>
+ </xsd:complexType>
+ 
+ <xsd:complexType name="TimeArray">
+  <xsd:sequence>
+   <xsd:element form="qualified" maxOccurs="unbounded" name="Time" nillable="true" type="tns:Time"/>
+  </xsd:sequence>
+ </xsd:complexType>
+</xsd:schema>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/SimpleType.xsd
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/SimpleType.xsd?rev=292451&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/SimpleType.xsd (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/SimpleType.xsd Thu Sep 29 08:42:49
2005
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<xsd:schema targetNamespace="SimpleType"
+			xmlns:ns1="SimpleNonBaseType"
+            xmlns:tns="SimpleType"
+            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:import namespace="SimpleNonBaseType" schemaLocation="SimpleNonBaseType.xsd"/>
+ 
+ <xsd:complexType name="SampleBean">
+  <xsd:sequence>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="Time"     nillable="true"
 type="ns1:TimeArray"/>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="Boolean"  nillable="false"
type="xsd:boolean"/>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="Byte"     nillable="false"
type="xsd:byte"/>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="Calendar" nillable="true"
 type="xsd:dateTime"/>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="Double"   nillable="false"
type="xsd:double"/>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="Float"    nillable="false"
type="xsd:float"/>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="Int"      nillable="false"
type="xsd:int"/>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="Long"     nillable="false"
type="xsd:long"/>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="Short"    nillable="false"
type="xsd:short"/>
+   <xsd:element form="qualified" maxOccurs="1" minOccurs="1" name="String"   nillable="true"
 type="xsd:string"/>
+  </xsd:sequence>
+ </xsd:complexType>
+ 
+ <xsd:complexType name="SampleBeanArray">
+  <xsd:sequence>
+   <xsd:element form="qualified" maxOccurs="unbounded" name="Array" nillable="true" type="tns:SampleBean"/>
+  </xsd:sequence>
+ </xsd:complexType>
+</xsd:schema>



Mime
View raw message