You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by an...@apache.org on 2006/10/03 12:29:58 UTC

svn commit: r452403 [2/2] - in /incubator/cxf/trunk: common/metacode/ common/metacode/src/main/resources/schemas/wsdl/ rt/ rt/ws/policy/ rt/ws/policy/src/ rt/ws/policy/src/main/ rt/ws/policy/src/main/java/ rt/ws/policy/src/main/resources/ rt/ws/policy/...

Added: incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/configuration/wsrm-policy.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/configuration/wsrm-policy.xsd?view=auto&rev=452403
==============================================================================
--- incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/configuration/wsrm-policy.xsd (added)
+++ incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/configuration/wsrm-policy.xsd Tue Oct  3 03:29:57 2006
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ 
+Copyright Notice
+(c) 2002-2005 BEA Systems, IBM, Microsoft Corporation, Inc, and 
+TIBCO Software Inc.. All rights reserved.
+
+Permission to copy and display the Web Services Reliable Messaging Policy
+Assertion Specification (the 'Specification', which includes schema documents),
+in any medium without fee or royalty is hereby granted, provided that you
+include the following on ALL copies of the Specification that you make:
+
+1. A link or URL to the Specification at one of the Authors' websites
+2. The copyright notice as shown in the Specification.
+
+BEA Systems, IBM, Microsoft and TIBCO Software (collectively, the 'Authors')
+each agree to grant you a license, under royalty-free and otherwise reasonable,
+non-discriminatory terms and conditions, to their respective essential patent
+claims that they deem necessary to implement the Specification.
+
+THE SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS
+OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR
+TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE;
+NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
+PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+
+THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF
+THE SPECIFICATION.
+
+The name and trademarks of the Authors may NOT be used in any manner, including
+advertising or publicity pertaining to the Specification or its contents
+without specific, written prior permission. Title to copyright in the
+Specification will at all times remain with the Authors.
+
+No other rights are granted by implication, estoppel or otherwise.
+
+-->
+<xs:schema
+    targetNamespace="http://schemas.xmlsoap.org/ws/2005/02/rm/policy" 
+    xmlns:tns="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    elementFormDefault="qualified"
+    attributeFormDefault="unqualified" >
+
+  <xs:element name="RMAssertion" >
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name="InactivityTimeout" minOccurs="0" >
+          <xs:complexType>
+            <xs:attribute name="Milliseconds"
+                          type="xs:unsignedLong"
+                          use="required" />
+            <xs:anyAttribute namespace="##any" processContents="lax" />
+          </xs:complexType>
+        </xs:element>
+        <xs:element name="BaseRetransmissionInterval" minOccurs="0">
+          <xs:complexType>
+            <xs:attribute name="Milliseconds"
+                          type="xs:unsignedLong" 
+                          use="required" />
+            <xs:anyAttribute namespace="##any" processContents="lax" />
+          </xs:complexType>
+        </xs:element>
+        <xs:element name="ExponentialBackoff" minOccurs="0" >
+          <xs:complexType>
+            <xs:anyAttribute namespace="##any" processContents="lax" />
+          </xs:complexType>
+        </xs:element>
+        <xs:element name="AcknowledgementInterval" minOccurs="0" >
+          <xs:complexType>
+            <xs:attribute name="Milliseconds"
+                          type="xs:unsignedLong"
+                          use="required" />
+            <xs:anyAttribute namespace="##any" processContents="lax" />
+          </xs:complexType>
+        </xs:element>
+        <xs:any namespace="##other"
+                processContents="lax"
+                minOccurs="0"
+                maxOccurs="unbounded" />
+      </xs:sequence>
+      <xs:anyAttribute namespace="##any" processContents="lax" />
+    </xs:complexType>
+  </xs:element>
+
+</xs:schema>
\ No newline at end of file

Propchange: incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/configuration/wsrm-policy.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/configuration/wsrm-policy.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/configuration/wsrm-policy.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/catalog.cat
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/catalog.cat?view=auto&rev=452403
==============================================================================
--- incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/catalog.cat (added)
+++ incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/catalog.cat Tue Oct  3 03:29:57 2006
@@ -0,0 +1,21 @@
+
+--
+  sample catalog file.
+  
+  double hyphens are used to begin and end a comment section.
+  
+  
+  SYSTEM "<reference>" "<actualLocation>" will define a simple
+  redirection. Whenever XJC tries to load a file from <reference>,
+  this statement will redirect it to <actualLocation>.
+  <refence> needs to be an absolute URI, and <actualLocation> can
+  be relative to the catalog file itself.
+  
+  PUBLIC "<publicId>" "<actualLocation>" will define a mapping
+  from public ID to its actual location. This is only used in
+  conjunction with DTD.
+--
+
+
+SYSTEM "http://schemas.xmlsoap.org/ws/2004/08/addressing" "addressing.xsd"
+

Added: incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm.xjb
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm.xjb?view=auto&rev=452403
==============================================================================
--- incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm.xjb (added)
+++ incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm.xjb Tue Oct  3 03:29:57 2006
@@ -0,0 +1,16 @@
+<jaxb:bindings version="1.0" 
+  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" 
+  xmlns:xs="http://www.w3.org/2001/XMLSchema" 
+  xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" 
+  jaxb:extensionBindingPrefixes="xjc">
+    <jaxb:bindings schemaLocation="http://schemas.xmlsoap.org/ws/2004/08/addressing" node="/xs:schema">
+        <jaxb:schemaBindings>
+            <jaxb:package name="org.apache.cxf.ws.addressing.v200408"/>
+        </jaxb:schemaBindings>
+    </jaxb:bindings>
+    <jaxb:bindings schemaLocation="wsrm.xsd" node="/xs:schema">
+        <jaxb:schemaBindings>
+            <jaxb:package name="org.apache.cxf.ws.rm"/>
+        </jaxb:schemaBindings>
+    </jaxb:bindings>
+</jaxb:bindings>

Added: incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm.xsd?view=auto&rev=452403
==============================================================================
--- incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm.xsd (added)
+++ incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm.xsd Tue Oct  3 03:29:57 2006
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ 
+Copyright Notice
+(c) 2002-2005 BEA Systems, IBM, Microsoft Corporation, Inc, and 
+TIBCO Software Inc.. All rights reserved.
+
+Permission to copy and display the Web Services Reliable Messaging Protocol
+Specification (the 'Specification', which includes WSDL and schema documents),
+in any medium without fee or royalty is hereby granted, provided that you
+include the following on ALL copies of the Specification that you make:
+
+1. A link or URL to the Specification at one of the Authors' websites
+2. The copyright notice as shown in the Specification.
+
+BEA Systems, IBM, Microsoft and TIBCO Software (collectively, the 'Authors')
+each agree to grant you a license, under royalty-free and otherwise reasonable,
+non-discriminatory terms and conditions, to their respective essential patent
+claims that they deem necessary to implement the Specification.
+
+THE SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS
+OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR
+TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE;
+NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
+PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+
+THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF
+THE SPECIFICATION.
+
+The name and trademarks of the Authors may NOT be used in any manner, including
+advertising or publicity pertaining to the Specification or its contents
+without specific, written prior permission. Title to copyright in the
+Specification will at all times remain with the Authors.
+
+No other rights are granted by implication, estoppel or otherwise.
+
+-->
+<xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm" elementFormDefault="qualified" attributeFormDefault="unqualified">
+  <xs:import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" schemaLocation="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+  <!-- Protocol Elements -->
+  <xs:complexType name="SequenceType">
+    <xs:sequence>
+      <xs:element ref="wsrm:Identifier"/>
+      <xs:element name="MessageNumber" type="xs:unsignedLong"/>
+      <xs:element name="LastMessage" minOccurs="0">
+        <xs:complexType>
+          <xs:sequence/>
+        </xs:complexType>
+      </xs:element>
+      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+  <xs:element name="Sequence" type="wsrm:SequenceType"/>  
+  <xs:element name="SequenceAcknowledgement">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element ref="wsrm:Identifier"/>
+        <xs:choice>
+          <xs:element name="AcknowledgementRange" maxOccurs="unbounded">
+            <xs:complexType>
+              <xs:sequence/>
+              <xs:attribute name="Upper" type="xs:unsignedLong" use="required"/>
+              <xs:attribute name="Lower" type="xs:unsignedLong" use="required"/>
+              <xs:anyAttribute namespace="##other" processContents="lax"/>
+            </xs:complexType>
+          </xs:element>
+          <xs:element name="Nack" type="xs:unsignedLong" maxOccurs="unbounded"/>
+        </xs:choice>
+        <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:sequence>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="AckRequestedType">
+    <xs:sequence>
+      <xs:element ref="wsrm:Identifier"/>
+      <xs:element name="MaxMessageNumberUsed" type="xs:unsignedLong" minOccurs="0"/>
+      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+  <xs:element name="AckRequested" type="wsrm:AckRequestedType"/>
+  <xs:element name="Identifier">
+    <xs:complexType>
+      <xs:annotation>
+        <xs:documentation>
+This type is for elements whose [children] is an anyURI and can have arbitrary attributes.
+                     </xs:documentation>
+      </xs:annotation>
+      <xs:simpleContent>
+        <xs:extension base="xs:anyURI">
+          <xs:anyAttribute namespace="##other" processContents="lax"/>
+        </xs:extension>
+      </xs:simpleContent>
+    </xs:complexType>
+  </xs:element>
+  <!-- Fault Container and Codes -->
+  <xs:simpleType name="FaultCodes">
+    <xs:restriction base="xs:QName">
+      <xs:enumeration value="wsrm:UnknownSequence"/>
+      <xs:enumeration value="wsrm:SequenceTerminated"/>
+      <xs:enumeration value="wsrm:InvalidAcknowledgement"/>
+      <xs:enumeration value="wsrm:MessageNumberRollover"/>
+      <xs:enumeration value="wsrm:CreateSequenceRefused"/>
+       <xs:enumeration value="wsrm:LastMessageNumberExceeded"/>
+    </xs:restriction>
+  </xs:simpleType>
+  <xs:complexType name="SequenceFaultType">
+    <xs:sequence>
+      <xs:element name="FaultCode" type="xs:QName"/>
+      <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##any" processContents="lax"/>
+  </xs:complexType>
+  <xs:element name="SequenceFault" type="wsrm:SequenceFaultType"/>
+  <xs:element name="CreateSequence" type="wsrm:CreateSequenceType"/>
+  <xs:element name="CreateSequenceResponse" type="wsrm:CreateSequenceResponseType"/>
+  <xs:element name="TerminateSequence" type="wsrm:TerminateSequenceType"/>
+  <xs:complexType name="CreateSequenceType">
+    <xs:sequence>
+      <xs:element ref="wsrm:AcksTo"/>
+      <xs:element ref="wsrm:Expires" minOccurs="0"/>
+      <xs:element name="Offer" type="wsrm:OfferType" minOccurs="0"/>
+      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
+        <xs:annotation>
+          <xs:documentation>
+It is the authors intent that this extensibility be used to transfer a Security Token Reference as defined in WS-Security. 
+</xs:documentation>
+        </xs:annotation>
+      </xs:any>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+  <xs:complexType name="CreateSequenceResponseType">
+    <xs:sequence>
+      <xs:element ref="wsrm:Identifier"/>
+      <xs:element ref="wsrm:Expires" minOccurs="0"/>
+      <xs:element name="Accept" type="wsrm:AcceptType" minOccurs="0"/>
+      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+  <xs:complexType name="TerminateSequenceType">
+    <xs:sequence>
+      <xs:element ref="wsrm:Identifier"/>
+      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+  <xs:element name="AcksTo" type="wsa:EndpointReferenceType"/>
+  <xs:complexType name="OfferType">
+    <xs:sequence>
+      <xs:element ref="wsrm:Identifier"/>
+      <xs:element ref="wsrm:Expires" minOccurs="0"/>
+      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+  <xs:complexType name="AcceptType">
+    <xs:sequence>
+      <xs:element ref="wsrm:AcksTo"/>
+      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+  <xs:element name="Expires">
+    <xs:complexType>
+      <xs:simpleContent>
+        <xs:extension base="xs:duration">
+          <xs:anyAttribute namespace="##other" processContents="lax"/>
+        </xs:extension>
+      </xs:simpleContent>
+    </xs:complexType>
+  </xs:element>  
+</xs:schema>
\ No newline at end of file

Propchange: incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml