Author: ips
Date: Fri May 13 09:42:39 2005
New Revision: 170055

URL: http://svn.apache.org/viewcvs?rev=170055&view=rev
Log:
added schema for SOAP 1.2 envelope since this is the version of SOAP referenced 
(required?) by WSRF & WSN

Added:
    incubator/apollo/trunk/wsrf-xbeans/src/wsdl/soap/SOAP-Envelope-1_2.xsd
Modified:
    incubator/apollo/trunk/wsrf-xbeans/src/wsdl/soap/SOAP-Envelope-1_1.xsd

Modified: incubator/apollo/trunk/wsrf-xbeans/src/wsdl/soap/SOAP-Envelope-1_1.xsd
URL: 
http://svn.apache.org/viewcvs/incubator/apollo/trunk/wsrf-xbeans/src/wsdl/soap/SOAP-Envelope-1_1.xsd?rev=170055&r1=170054&r2=170055&view=diff
==============================================================================
--- incubator/apollo/trunk/wsrf-xbeans/src/wsdl/soap/SOAP-Envelope-1_1.xsd 
(original)
+++ incubator/apollo/trunk/wsrf-xbeans/src/wsdl/soap/SOAP-Envelope-1_1.xsd Fri 
May 13 09:42:39 2005
@@ -31,95 +31,88 @@
      [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
      [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
 -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
-   xmlns:tns="http://schemas.xmlsoap.org/soap/envelope/";
-   targetNamespace="http://schemas.xmlsoap.org/soap/envelope/";>
-
 
-   <!-- Envelope, header and body -->
-   <xs:element name="Envelope" type="tns:Envelope"/>
-   <xs:complexType name="Envelope">
-      <xs:sequence>
-         <xs:element ref="tns:Header" minOccurs="0"/>
-         <xs:element ref="tns:Body" minOccurs="1"/>
-         <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" 
processContents="lax"/>
-      </xs:sequence>
-      <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:complexType>
-
-   <xs:element name="Header" type="tns:Header"/>
-   <xs:complexType name="Header">
-      <xs:sequence>
-         <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" 
processContents="lax"/>
-      </xs:sequence>
-      <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:complexType>
-
-   <xs:element name="Body" type="tns:Body"/>
-   <xs:complexType name="Body">
-      <xs:sequence>
-         <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" 
processContents="lax"/>
-      </xs:sequence>
-      <xs:anyAttribute namespace="##any" processContents="lax">
-         <xs:annotation>
-            <xs:documentation>
-                 Prose in the spec does not specify that attributes are 
allowed on the Body element
-            </xs:documentation>
-         </xs:annotation>
-      </xs:anyAttribute>
-   </xs:complexType>
-
-
-   <!-- Global Attributes.  The following attributes are intended to be usable 
via qualified attribute names on any complex type referencing them.  -->
-   <xs:attribute name="mustUnderstand">
-      <xs:simpleType>
-         <xs:restriction base='xs:boolean'>
-            <xs:pattern value='0|1'/>
-         </xs:restriction>
-      </xs:simpleType>
-   </xs:attribute>
-   <xs:attribute name="actor" type="xs:anyURI"/>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
+  xmlns:tns="http://schemas.xmlsoap.org/soap/envelope/";
+  targetNamespace="http://schemas.xmlsoap.org/soap/envelope/";>
 
-   <xs:simpleType name="encodingStyle">
+  <!-- Envelope, header and body -->
+  <xs:element name="Envelope" type="tns:Envelope"/>
+  <xs:complexType name="Envelope">
+    <xs:sequence>
+      <xs:element ref="tns:Header" minOccurs="0"/>
+      <xs:element ref="tns:Body" minOccurs="1"/>
+      <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" 
processContents="lax"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+
+  <xs:element name="Header" type="tns:Header"/>
+  <xs:complexType name="Header">
+    <xs:sequence>
+      <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" 
processContents="lax"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+
+  <xs:element name="Body" type="tns:Body"/>
+  <xs:complexType name="Body">
+    <xs:sequence>
+      <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" 
processContents="lax"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##any" processContents="lax">
       <xs:annotation>
-         <xs:documentation>
-           'encodingStyle' indicates any canonicalization conventions followed 
in the contents of the containing element.  For example, the value 
'http://schemas.xmlsoap.org/soap/encoding/' indicates the pattern described in 
SOAP specification
-         </xs:documentation>
+        <xs:documentation>
+                 Prose in the spec does not specify that attributes are 
allowed on the Body element
+        </xs:documentation>
       </xs:annotation>
-      <xs:list itemType="xs:anyURI"/>
-   </xs:simpleType>
+    </xs:anyAttribute>
+  </xs:complexType>
 
-   <xs:attribute name="encodingStyle" type="tns:encodingStyle"/>
-   <xs:attributeGroup name="encodingStyle">
-      <xs:attribute ref="tns:encodingStyle"/>
-   </xs:attributeGroup>
-
-   <xs:element name="Fault" type="tns:Fault"/>
-   <xs:complexType name="Fault" final="extension">
-      <xs:annotation>
-         <xs:documentation>
+  <!-- Global Attributes.  The following attributes are intended to be usable 
via qualified attribute names on any complex type referencing them.  -->
+  <xs:attribute name="mustUnderstand">
+    <xs:simpleType>
+      <xs:restriction base='xs:boolean'>
+        <xs:pattern value='0|1'/>
+      </xs:restriction>
+    </xs:simpleType>
+  </xs:attribute>
+  <xs:attribute name="actor" type="xs:anyURI"/>
+
+  <xs:simpleType name="encodingStyle">
+    <xs:annotation>
+      <xs:documentation>
+           'encodingStyle' indicates any canonicalization conventions followed 
in the contents of the containing element.  For example, the value 
'http://schemas.xmlsoap.org/soap/encoding/' indicates the pattern described in 
SOAP specification
+      </xs:documentation>
+    </xs:annotation>
+    <xs:list itemType="xs:anyURI"/>
+  </xs:simpleType>
+
+  <xs:attribute name="encodingStyle" type="tns:encodingStyle"/>
+  <xs:attributeGroup name="encodingStyle">
+    <xs:attribute ref="tns:encodingStyle"/>
+  </xs:attributeGroup>
+
+  <xs:element name="Fault" type="tns:Fault"/>
+  <xs:complexType name="Fault" final="extension">
+    <xs:annotation>
+      <xs:documentation>
            Fault reporting structure
-         </xs:documentation>
-      </xs:annotation>
-      <xs:sequence>
-         <xs:element name="faultcode" type="xs:QName"/>
-         <xs:element name="faultstring" type="xs:string"/>
-         <xs:element name="faultactor" type="xs:anyURI" minOccurs="0"/>
-         <xs:element name="detail" type="tns:detail" minOccurs="0"/>
-      </xs:sequence>
-   </xs:complexType>
-
-   <xs:complexType name="detail">
-      <xs:sequence>
-         <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" 
processContents="lax"/>
-      </xs:sequence>
-      <xs:anyAttribute namespace="##any" processContents="lax"/>
-   </xs:complexType>
+      </xs:documentation>
+    </xs:annotation>
+    <xs:sequence>
+      <xs:element name="faultcode" type="xs:QName"/>
+      <xs:element name="faultstring" type="xs:string"/>
+      <xs:element name="faultactor" type="xs:anyURI" minOccurs="0"/>
+      <xs:element name="detail" type="tns:detail" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="detail">
+    <xs:sequence>
+      <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" 
processContents="lax"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##any" processContents="lax"/>
+  </xs:complexType>
 
 </xs:schema>
-
-
-
-
-
-

Added: incubator/apollo/trunk/wsrf-xbeans/src/wsdl/soap/SOAP-Envelope-1_2.xsd
URL: 
http://svn.apache.org/viewcvs/incubator/apollo/trunk/wsrf-xbeans/src/wsdl/soap/SOAP-Envelope-1_2.xsd?rev=170055&view=auto
==============================================================================
--- incubator/apollo/trunk/wsrf-xbeans/src/wsdl/soap/SOAP-Envelope-1_2.xsd 
(added)
+++ incubator/apollo/trunk/wsrf-xbeans/src/wsdl/soap/SOAP-Envelope-1_2.xsd Fri 
May 13 09:42:39 2005
@@ -0,0 +1,159 @@
+<?xml version="1.0"?>
+
+<!-- Schema defined in the SOAP Version 1.2 Part 1 specification
+     Proposed Recommendation:
+     http://www.w3.org/TR/2003/PR-soap12-part1-20030507/
+     $Id: soap-envelope.xsd,v 1.1 2003/04/17 14:23:23 ylafon Exp $
+
+     Copyright (C)2003 W3C(R) (MIT, ERCIM, Keio), All Rights Reserved.
+     W3C viability, trademark, document use and software licensing rules
+     apply.
+     http://www.w3.org/Consortium/Legal/
+
+     This document is governed by the W3C Software License [1] as
+     described in the FAQ [2].
+
+     [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
+     [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
+-->
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
+  xmlns:tns="http://www.w3.org/2003/05/soap-envelope";
+  targetNamespace="http://www.w3.org/2003/05/soap-envelope";
+  elementFormDefault="qualified">
+
+  <xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
+
+  <!-- Envelope, header and body -->
+  <xs:element name="Envelope" type="tns:Envelope"/>
+  <xs:complexType name="Envelope">
+    <xs:sequence>
+      <xs:element ref="tns:Header" minOccurs="0"/>
+      <xs:element ref="tns:Body" minOccurs="1"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+
+  <xs:element name="Header" type="tns:Header"/>
+  <xs:complexType name="Header">
+    <xs:annotation>
+      <xs:documentation>
+         Elements replacing the wildcard MUST be namespace qualified, but can 
be in the targetNamespace
+      </xs:documentation>
+    </xs:annotation>
+    <xs:sequence>
+      <xs:any namespace="##any" processContents="lax" minOccurs="0" 
maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+
+  <xs:element name="Body" type="tns:Body"/>
+  <xs:complexType name="Body">
+    <xs:sequence>
+      <xs:any namespace="##any" processContents="lax" minOccurs="0" 
maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+
+  <!-- Global Attributes.  The following attributes are intended to be
+  usable via qualified attribute names on any complex type referencing
+  them.  -->
+  <xs:attribute name="mustUnderstand" type="xs:boolean" default="0"/>
+  <xs:attribute name="relay" type="xs:boolean" default="0"/>
+  <xs:attribute name="role" type="xs:anyURI"/>
+
+  <!-- 'encodingStyle' indicates any canonicalization conventions
+  followed in the contents of the containing element.  For example, the
+  value 'http://www.w3.org/2003/05/soap-encoding' indicates the pattern
+  described in the last call working draft of SOAP Version 1.2 Part 2:
+  Adjuncts -->
+
+  <xs:attribute name="encodingStyle" type="xs:anyURI"/>
+
+  <xs:element name="Fault" type="tns:Fault"/>
+  <xs:complexType name="Fault" final="extension">
+    <xs:annotation>
+      <xs:documentation>
+           Fault reporting structure
+      </xs:documentation>
+    </xs:annotation>
+    <xs:sequence>
+      <xs:element name="Code" type="tns:faultcode"/>
+      <xs:element name="Reason" type="tns:faultreason"/>
+      <xs:element name="Node" type="xs:anyURI" minOccurs="0"/>
+      <xs:element name="Role" type="xs:anyURI" minOccurs="0"/>
+      <xs:element name="Detail" type="tns:detail" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="faultreason">
+    <xs:sequence>
+      <xs:element name="Text" type="tns:reasontext"
+        minOccurs="1" maxOccurs="unbounded"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="reasontext">
+    <xs:simpleContent>
+      <xs:extension base="xs:string">
+        <xs:attribute ref="xml:lang" use="required"/>
+      </xs:extension>
+    </xs:simpleContent>
+  </xs:complexType>
+
+  <xs:complexType name="faultcode">
+    <xs:sequence>
+      <xs:element name="Value"
+        type="tns:faultcodeEnum"/>
+      <xs:element name="Subcode"
+        type="tns:subcode"
+        minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:simpleType name="faultcodeEnum">
+    <xs:restriction base="xs:QName">
+      <xs:enumeration value="tns:DataEncodingUnknown"/>
+      <xs:enumeration value="tns:MustUnderstand"/>
+      <xs:enumeration value="tns:Receiver"/>
+      <xs:enumeration value="tns:Sender"/>
+      <xs:enumeration value="tns:VersionMismatch"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:complexType name="subcode">
+    <xs:sequence>
+      <xs:element name="Value"
+        type="xs:QName"/>
+      <xs:element name="Subcode"
+        type="tns:subcode"
+        minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="detail">
+    <xs:sequence>
+      <xs:any namespace="##any" processContents="lax" minOccurs="0" 
maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+
+  <!-- Global element declaration and complex type definition for header entry 
returned due to a mustUnderstand fault -->
+  <xs:element name="NotUnderstood" type="tns:NotUnderstoodType"/>
+  <xs:complexType name="NotUnderstoodType">
+    <xs:attribute name="qname" type="xs:QName" use="required"/>
+  </xs:complexType>
+
+  <!-- Global element and associated types for managing version transition as 
described in Appendix A of the SOAP Version 1.2 Part 1 Last Call Working Draft 
-->
+  <xs:complexType name="SupportedEnvType">
+    <xs:attribute name="qname" type="xs:QName" use="required"/>
+  </xs:complexType>
+
+  <xs:element name="Upgrade" type="tns:UpgradeType"/>
+  <xs:complexType name="UpgradeType">
+    <xs:sequence>
+      <xs:element name="SupportedEnvelope" type="tns:SupportedEnvType" 
minOccurs="1" maxOccurs="unbounded"/>
+    </xs:sequence>
+  </xs:complexType>
+
+</xs:schema>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to