You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-dev@ws.apache.org by ip...@apache.org on 2005/02/02 23:10:55 UTC

svn commit: r151069 - in incubator/apollo/trunk/wsa-xbeans: ./ maven.xml project.properties project.xml src/ src/java/ src/wsdl/ src/wsdl/wsa/ src/wsdl/wsa/WS-Addressing-2003_03.xsd src/wsdl/wsa/WS-Addressing-2004_08_10.xsd

Author: ips
Date: Wed Feb  2 14:10:53 2005
New Revision: 151069

URL: http://svn.apache.org/viewcvs?view=rev&rev=151069
Log:
subproj for building wsa-xbeans.jar

Added:
    incubator/apollo/trunk/wsa-xbeans/
    incubator/apollo/trunk/wsa-xbeans/maven.xml
    incubator/apollo/trunk/wsa-xbeans/project.properties
    incubator/apollo/trunk/wsa-xbeans/project.xml
    incubator/apollo/trunk/wsa-xbeans/src/
    incubator/apollo/trunk/wsa-xbeans/src/java/
    incubator/apollo/trunk/wsa-xbeans/src/wsdl/
    incubator/apollo/trunk/wsa-xbeans/src/wsdl/wsa/
    incubator/apollo/trunk/wsa-xbeans/src/wsdl/wsa/WS-Addressing-2003_03.xsd
    incubator/apollo/trunk/wsa-xbeans/src/wsdl/wsa/WS-Addressing-2004_08_10.xsd

Added: incubator/apollo/trunk/wsa-xbeans/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/wsa-xbeans/maven.xml?view=auto&rev=151069
==============================================================================
--- incubator/apollo/trunk/wsa-xbeans/maven.xml (added)
+++ incubator/apollo/trunk/wsa-xbeans/maven.xml Wed Feb  2 14:10:53 2005
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+
+<!--
+   For the definitions of Jelly tags, see these as reference
+   * http://jakarta.apache.org/commons/jelly/libs/
+   * http://jakarta.apache.org/commons/jelly/tags.html
+-->
+
+<project default="jar:jar"    
+         xmlns:j="jelly:core"
+         xmlns:maven="jelly:maven">
+  
+  <postGoal name="java:compile">
+    <attainGoal name="generate" />
+  </postGoal>
+  
+  <postGoal name="jar:jar">
+    <attainGoal name="src-jar"/>
+  </postGoal>  
+
+  <goal name="generate"
+        description="generate XmlBeans for WSA spec types">
+    
+      <taskdef name="schemaCompiler"
+               classname="org.apache.xmlbeans.impl.tool.XMLBean"
+               classpathref="maven.dependency.classpath" />    
+
+      <j:set var="gen.src.dir" value="${maven.src.dir}/java"/>
+      <echo>Writing generated XMLBeans source files to: ${gen.src.dir}</echo>
+      <delete dir="${gen.src.dir}"/>
+      <mkdir dir="${gen.src.dir}"/>
+
+      <j:set var="gen.classes.dir" value="${maven.build.dest}"/>
+      <echo>Writing generated XMLBeans classes to: ${gen.classes.dir}</echo>
+      <delete dir="${gen.classes.dir}"/>
+      <mkdir dir="${gen.classes.dir}"/>
+
+      <schemaCompiler
+         classpathref="maven.dependency.classpath"
+         srcgendir="${gen.src.dir}"
+         classgendir="${gen.classes.dir}"
+         download="on"
+         verbose="on"
+         quiet="off"
+         optimize="off"
+         debug="on"
+         debugLevel="lines,vars,source"
+         fork="off"
+         ignoreDuplicatesInNamespaces=""
+         includeAntRuntime="on"
+         includeJavaRuntime="off"
+         memoryInitialSize="32M"
+         memoryMaximumSize="192M"
+         failonerror="on">
+         
+        <fileset dir="${maven.src.dir}/wsdl" />
+        
+      </schemaCompiler>
+
+  </goal>
+  
+  <goal name="src-jar">
+    <jar jarfile="${maven.build.dir}/${pom.artifactId}-src-${pom.currentVersion}.jar" 
+         basedir="${gen.src.dir}" />
+  </goal>  
+  
+</project>

Added: incubator/apollo/trunk/wsa-xbeans/project.properties
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/wsa-xbeans/project.properties?view=auto&rev=151069
==============================================================================
--- incubator/apollo/trunk/wsa-xbeans/project.properties (added)
+++ incubator/apollo/trunk/wsa-xbeans/project.properties Wed Feb  2 14:10:53 2005
@@ -0,0 +1,15 @@
+# -----------------------------------------------------------------------------
+# Default properties for the Maven build. You can override these properties
+# either by defining a build.properties file with the overriden properties
+# or by passing them on the command line as system parameters (-D).
+# -----------------------------------------------------------------------------
+
+# MAVEN CORE
+##############
+# comma-spearated list of remote JAR repository URLs
+maven.repo.remote = http://www.apache.org/dist/java-repository/, http://cvs.apache.org/repository/, http://mirrors.sunsite.dk/maven/
+
+# JAVA PLUGIN
+##############
+maven.compile.debug = on
+maven.compile.target = 1.4

Added: incubator/apollo/trunk/wsa-xbeans/project.xml
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/wsa-xbeans/project.xml?view=auto&rev=151069
==============================================================================
--- incubator/apollo/trunk/wsa-xbeans/project.xml (added)
+++ incubator/apollo/trunk/wsa-xbeans/project.xml Wed Feb  2 14:10:53 2005
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+
+<!-- Apollo JNDI-CONFIG Project Descriptor - defines Project Object Model (POM) -->
+
+<!-- Schema for this file is at:    http://maven.apache.org/xsd/maven-project-3.0.0.xsd -->
+<!-- Reference for this file is at: http://maven.apache.org/reference/project-descriptor.html -->
+
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:noNamespaceSchemaLocation="http://maven.apache.org/xsd/maven-project-3.0.0.xsd">
+
+  <pomVersion>3</pomVersion>
+  <name>XmlBeans for the WSA spec types</name>
+  <id>wsrf-xbeans</id>
+  <groupId>apollo</groupId>
+  <currentVersion>SNAPSHOT</currentVersion>
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+  
+  <repository>
+        <connection>scm|svn|http://svn.apache.org/repos/asf/incubator/apollo/trunk/</connection>
+        <developerConnection>scm|svn|https://svn.apache.org/repos/asf/incubator/apollo/trunk/</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/incubator/apollo/trunk/</url>
+  </repository> 
+  
+  <versions>
+    <version>
+      <id>1_0-beta1</id>
+      <name>1.0-beta1</name>
+      <tag>HEAD</tag>
+    </version>
+  </versions>
+    
+  <developers>
+
+    <developer>
+      <name>Ian Springer</name>
+      <id>ips</id>
+      <email>ian DOT springer AT hp DOT com</email>
+      <organization>Hewlett-Packard Company</organization>
+      <roles>
+        <role>Developer</role>
+      </roles>
+      <timezone>-5</timezone>
+    </developer>
+
+  </developers>
+
+  <dependencies>
+    
+    <dependency>
+      <groupId>xmlbeans</groupId>
+      <artifactId>xbean</artifactId>
+      <version>1.0.4-20050202-SNAPSHOT</version>
+      <url>http://xmlbeans.apache.org/</url>
+      <properties>
+        <license>ApacheLicense-2.0.txt</license>
+        <war.bundle>true</war.bundle>
+        <usage>Needed for handling XML types in a platform agnostic way.</usage>
+      </properties>
+    </dependency>
+    
+  </dependencies>
+
+</project>

Added: incubator/apollo/trunk/wsa-xbeans/src/wsdl/wsa/WS-Addressing-2003_03.xsd
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/wsa-xbeans/src/wsdl/wsa/WS-Addressing-2003_03.xsd?view=auto&rev=151069
==============================================================================
--- incubator/apollo/trunk/wsa-xbeans/src/wsdl/wsa/WS-Addressing-2003_03.xsd (added)
+++ incubator/apollo/trunk/wsa-xbeans/src/wsdl/wsa/WS-Addressing-2003_03.xsd Wed Feb  2 14:10:53 2005
@@ -0,0 +1,114 @@
+<?xml version="1.0"?>
+
+<!-- 
+ 
+Legal Disclaimer
+
+The presentation, distribution or other dissemination of the information 
+contained in this document is not a license, either expressly or impliedly, 
+to any intellectual property owned or controlled by BEA or IBM or Microsoft
+and\or any other third party.  BEA and IBM and Microsoft and\or any other
+third party may have patents, patent applications, trademarks, copyrights, 
+or other intellectual property rights covering subject matter in this 
+document.  The furnishing of this document does not give you any license 
+to BEA's and IBM's and Microsoft's or any other third party's patents, 
+trademarks, copyrights, or other intellectual property.
+
+This document and the information contained herein is provided on an "AS IS"
+basis and to the maximum extent permitted by applicable law, BEA and IBM 
+and Microsoft provide the document AS IS AND WITH ALL FAULTS, and hereby 
+disclaims all other warranties and conditions, either express, implied or 
+statutory, including, but not limited to, any (if any) implied warranties, 
+duties or conditions of merchantability, of fitness for a particular 
+purpose, of accuracy or completeness of responses, of results, of 
+workmanlike effort, of lack of viruses, and of lack of negligence, all with
+regard to the document. ALSO, THERE IS NO WARRANTY OR CONDITION OF 
+TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR 
+NON-INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO THE 
+DOCUMENT.
+
+IN NO EVENT WILL BEA or IBM or MICROSOFT BE LIABLE TO ANY OTHER PARTY FOR THE
+COST OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE, 
+LOSS OF DATA, OR ANY INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL 
+DAMAGES WHETHER UNDER CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY 
+WAY OUT OF THIS OR ANY OTHER AGREEMENT RELATING TO THIS DOCUMENT, WHETHER OR 
+NOT SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
+
+Copyright Notice
+
+Copyright 2003 BEA Systems Inc. and IBM Corporation and Microsoft Corporation. All rights reserved.
+
+-->
+
+<xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" blockDefault="#all">
+
+   <!-- //////////////////// WS-Addressing //////////////////// -->
+	<!-- Endpoint reference -->
+	<xs:element name="EndpointReference" type="wsa:EndpointReferenceType"/>
+	<xs:complexType name="EndpointReferenceType">
+		<xs:sequence>
+			<xs:element name="Address" type="wsa:AttributedURI"/>
+			<xs:element name="ReferenceProperties" type="wsa:ReferencePropertiesType" minOccurs="0"/>
+			<xs:element name="PortType" type="wsa:AttributedQName" minOccurs="0"/>
+			<xs:element name="ServiceName" type="wsa:ServiceNameType" minOccurs="0"/>
+			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
+				<xs:annotation>
+					<xs:documentation>
+					 If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements).
+					</xs:documentation>
+				</xs:annotation>
+                        </xs:any>			
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax"/>
+	</xs:complexType>
+	<xs:complexType name="ReferencePropertiesType">
+		<xs:sequence>
+			<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="ServiceNameType">
+		<xs:simpleContent>
+			<xs:extension base="xs:QName">
+				<xs:attribute name="PortName" type="xs:NCName"/>
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<!-- Message information header blocks -->
+	<xs:element name="MessageID" type="wsa:AttributedURI"/>
+	<xs:element name="RelatesTo" type="wsa:Relationship"/>
+	<xs:element name="To" type="wsa:AttributedURI"/>
+	<xs:element name="Action" type="wsa:AttributedURI"/>
+	<xs:element name="From" type="wsa:EndpointReferenceType"/>
+	<xs:element name="ReplyTo" type="wsa:EndpointReferenceType"/>
+	<xs:element name="FaultTo" type="wsa:EndpointReferenceType"/>
+	<xs:element name="Recipient" type="wsa:EndpointReferenceType"/>
+	<xs:complexType name="Relationship">
+		<xs:simpleContent>
+			<xs:extension base="xs:anyURI">
+				<xs:attribute name="RelationshipType" type="xs:QName" use="optional"/>
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:simpleType name="RelationshipTypeValues">
+		<xs:restriction base="xs:QName">
+			<xs:enumeration value="wsa:Response"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<!-- Common declarations and definitions -->
+	<xs:complexType name="AttributedQName">
+		<xs:simpleContent>
+			<xs:extension base="xs:QName">
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name="AttributedURI">
+		<xs:simpleContent>
+			<xs:extension base="xs:anyURI">
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+</xs:schema>

Added: incubator/apollo/trunk/wsa-xbeans/src/wsdl/wsa/WS-Addressing-2004_08_10.xsd
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/wsa-xbeans/src/wsdl/wsa/WS-Addressing-2004_08_10.xsd?view=auto&rev=151069
==============================================================================
--- incubator/apollo/trunk/wsa-xbeans/src/wsdl/wsa/WS-Addressing-2004_08_10.xsd (added)
+++ incubator/apollo/trunk/wsa-xbeans/src/wsdl/wsa/WS-Addressing-2004_08_10.xsd Wed Feb  2 14:10:53 2005
@@ -0,0 +1,134 @@
+<?xml version="1.0"?>
+
+<!-- 
+Copyright 2002-2004 BEA Systems Inc., International Business Machines Corporation, 
+Microsoft Corporation, Inc, SAP AG, and Sun Microsystems, Inc.. All rights reserved. 
+
+Permission to copy, display, perform, modify and distribute the WS-Addressing Specification, 
+and to authorize others to do the foregoing, in any medium without fee or royalty is hereby
+granted for the purpose of developing and evaluating the WS-Addressing Specification.
+
+BEA, IBM, Microsoft, SAP AG, and Sun Microsystems (collectively, the "Authors") each agree 
+to grant a license to third parties, under royalty-free  and otherwise reasonable, 
+non-discriminatory terms and conditions, to their respective essential patent claims that
+they deem necessary to implement the WS-Addressing Specification.
+
+DISCLAIMERS:
+
+THE WS-Addressing 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 WS-Addressing Specification IS 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 ANY USE OF THE WS-Addressing Specification OR THE PERFORMANCE OR 
+IMPLEMENTATION OF THE CONTENTS THEREOF.
+
+You may remove these disclaimers from your modified versions of the WS-Addressing 
+Specification provided that you effectively disclaim all warranties and liabilities on behalf 
+of all copyright holders in the copies of any such modified versions you distribute.
+
+The name and trademarks of the Authors may NOT be used in any manner, including advertising 
+or publicity pertaining to the WS-Addressing Specification or its contents without specific, 
+written prior permission. Title to copyright in the WS-Addressing 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/2004/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" elementFormDefault="qualified" blockDefault="#all">
+  <!-- //////////////////// WS-Addressing //////////////////// -->
+  <!-- Endpoint reference -->
+  <xs:element name="EndpointReference" type="wsa:EndpointReferenceType"/>
+  <xs:complexType name="EndpointReferenceType">
+    <xs:sequence>
+      <xs:element name="Address" type="wsa:AttributedURI"/>
+      <xs:element name="ReferenceProperties" type="wsa:ReferencePropertiesType" minOccurs="0"/>
+      <xs:element name="ReferenceParameters" type="wsa:ReferenceParametersType" minOccurs="0"/>
+      <xs:element name="PortType" type="wsa:AttributedQName" minOccurs="0"/>
+      <xs:element name="ServiceName" type="wsa:ServiceNameType" minOccurs="0"/>
+      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
+        <xs:annotation>
+          <xs:documentation>
+					 If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements).
+					</xs:documentation>
+        </xs:annotation>
+      </xs:any>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+  <xs:complexType name="ReferencePropertiesType">
+    <xs:sequence>
+      <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:complexType name="ReferenceParametersType">
+    <xs:sequence>
+      <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:complexType name="ServiceNameType">
+    <xs:simpleContent>
+      <xs:extension base="xs:QName">
+        <xs:attribute name="PortName" type="xs:NCName"/>
+        <xs:anyAttribute namespace="##other" processContents="lax"/>
+      </xs:extension>
+    </xs:simpleContent>
+  </xs:complexType>
+  <!-- Message information header blocks -->
+  <xs:element name="MessageID" type="wsa:AttributedURI"/>
+  <xs:element name="RelatesTo" type="wsa:Relationship"/>
+  <xs:element name="To" type="wsa:AttributedURI"/>
+  <xs:element name="Action" type="wsa:AttributedURI"/>
+  <xs:element name="From" type="wsa:EndpointReferenceType"/>
+  <xs:element name="ReplyTo" type="wsa:EndpointReferenceType"/>
+  <xs:element name="FaultTo" type="wsa:EndpointReferenceType"/>
+  <xs:complexType name="Relationship">
+    <xs:simpleContent>
+      <xs:extension base="xs:anyURI">
+        <xs:attribute name="RelationshipType" type="xs:QName" use="optional"/>
+        <xs:anyAttribute namespace="##other" processContents="lax"/>
+      </xs:extension>
+    </xs:simpleContent>
+  </xs:complexType>
+  <xs:simpleType name="RelationshipTypeValues">
+    <xs:restriction base="xs:QName">
+      <xs:enumeration value="wsa:Reply"/>
+    </xs:restriction>
+  </xs:simpleType>
+  <xs:element name="ReplyAfter" type="wsa:ReplyAfterType"/>
+  <xs:complexType name="ReplyAfterType">
+    <xs:simpleContent>
+      <xs:extension base="xs:nonNegativeInteger">
+        <xs:anyAttribute namespace="##other"/>
+      </xs:extension>
+    </xs:simpleContent>
+  </xs:complexType>
+  <xs:simpleType name="FaultSubcodeValues">
+    <xs:restriction base="xs:QName">
+      <xs:enumeration value="wsa:InvalidMessageInformationHeader"/>
+      <xs:enumeration value="wsa:MessageInformationHeaderRequired"/>
+      <xs:enumeration value="wsa:DestinationUnreachable"/>
+      <xs:enumeration value="wsa:ActionNotSupported"/>
+      <xs:enumeration value="wsa:EndpointUnavailable"/>
+    </xs:restriction>
+  </xs:simpleType>
+  <xs:attribute name="Action" type="xs:anyURI"/>
+  <!-- Common declarations and definitions -->
+  <xs:complexType name="AttributedQName">
+    <xs:simpleContent>
+      <xs:extension base="xs:QName">
+        <xs:anyAttribute namespace="##other" processContents="lax"/>
+      </xs:extension>
+    </xs:simpleContent>
+  </xs:complexType>
+  <xs:complexType name="AttributedURI">
+    <xs:simpleContent>
+      <xs:extension base="xs:anyURI">
+        <xs:anyAttribute namespace="##other" processContents="lax"/>
+      </xs:extension>
+    </xs:simpleContent>
+  </xs:complexType>
+</xs:schema>



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