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 2004/12/23 21:30:03 UTC
svn commit: r123218 - in incubator/apollo/trunk: . src/java/org/apache/ws/resource src/java/org/apache/ws/resource/handler src/java/org/apache/ws/resource/impl src/java/org/apache/ws/resource/lifetime/faults src/java/org/apache/ws/resource/lifetime/v1_2/porttype src/java/org/apache/ws/resource/lifetime/v1_2/porttype/impl
Author: ips
Date: Thu Dec 23 12:30:01 2004
New Revision: 123218
URL: http://svn.apache.org/viewcvs?view=rev&rev=123218
Log:
etc
Added:
incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceDefinition.java
incubator/apollo/trunk/src/java/org/apache/ws/resource/impl/ResourceDefinitionImpl.java
Modified:
incubator/apollo/trunk/project.xml
incubator/apollo/trunk/src/java/org/apache/ws/resource/Wsdl2Java.java
incubator/apollo/trunk/src/java/org/apache/ws/resource/handler/DefaultMethodMap.java
incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceNotDestroyedFaultException.java
incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceUnknownFaultException.java
incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/ScheduledResourceTerminationPortType.java
incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java
Modified: incubator/apollo/trunk/project.xml
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/project.xml?view=diff&rev=123218&p1=incubator/apollo/trunk/project.xml&r1=123217&p2=incubator/apollo/trunk/project.xml&r2=123218
==============================================================================
--- incubator/apollo/trunk/project.xml (original)
+++ incubator/apollo/trunk/project.xml Thu Dec 23 12:30:01 2004
@@ -6,340 +6,351 @@
<!-- 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">
+ xsi:noNamespaceSchemaLocation="http://maven.apache.org/xsd/maven-project-3.0.0.xsd">
- <pomVersion>3</pomVersion>
- <id>incubating-apollo</id>
- <name>Apollo</name>
- <groupId>apollo</groupId>
- <currentVersion>1.0-beta1</currentVersion>
- <organization>
- <name>Apache Software Foundation</name>
- <url>http://www.apache.org/</url>
- <logo>http://ws.apache.org/images/project-logo.jpg</logo>
- </organization>
- <inceptionYear>2004</inceptionYear>
- <package>org.apache.ws.resource</package>
- <description>A robust Java implementation of the OASIS WS-ResourceFramework (WSRF) family of specifications.</description>
- <shortDescription>Apollo Project</shortDescription>
- <url>http://incubator.apache.org/apollo/</url>
- <issueTrackingUrl>http://nagoya.apache.org/jira/browse/Apollo</issueTrackingUrl>
-
- <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>
-
- <mailingLists>
- <mailingList>
- <name>Apollo Developer List</name>
- <subscribe>apollo-dev-subscribe@ws.apache.org</subscribe>
- <unsubscribe>apollo-dev-unsubscribe@ws.apache.org</unsubscribe>
- <archive>http://ws.apache.org/mail/apollo-dev/</archive>
- </mailingList>
- </mailingLists>
-
- <developers>
-
- <developer>
- <name>Sal Campana</name>
- <id>scamp</id>
- <email>sal.campana@hp.com</email>
- <organization>Hewlett-Packard Company</organization>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>-5</timezone>
- </developer>
-
- <developer>
- <name>Ian P. Springer</name>
- <id>ips</id>
- <email>ian.springer@hp.com</email>
- <organization>Hewlett-Packard Company</organization>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>-5</timezone>
- </developer>
-
- </developers>
-
- <dependencies>
-
- <dependency>
- <groupId>addressing</groupId>
- <artifactId>addressing</artifactId>
- <version>SNAPSHOT</version>
- <url>http://ws.apache.org/ws-fx/addressing/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <usage>Needed for handling WS-Addressing.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- <version>1.6.2</version>
- <url>http://ant.apache.org/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <scope>compile-time-only</scope>
- <usage>Needed for various custom Tasks we've defined for updating a Wsdd and running WsdmWsdl2Java.</usage>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>apollo</groupId>
- <artifactId>wsrf-xbeans</artifactId>
- <version>SNAPSHOT</version>
- <url>http://incubator.apache.org/apollo/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <usage>Needed for handling requests. This contains the XmlBeans-generated code from the WSRF WSDLs/XSDs. This "could" be eliminated and generated on the fly, but it would make the builds longer.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>apollo</groupId>
- <artifactId>apollo-jndi-config</artifactId>
- <version>SNAPSHOT</version>
- <url>http://incubator.apache.org/apollo/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <war.bundle>true</war.bundle>
- <usage>Needed for handling our JNDI XML config file via XmlBeans. This "could" be removed, but then we'd probably replace it with commons-config. The reason we avoided that approach is that we leveredge XmlBeans extensively in our codebase.</usage>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>axis</groupId>
- <artifactId>axis</artifactId>
- <version>1.2-RC2</version>
- <url>http://ws.apache.org/axis/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <usage>Needed for compiling Axis-specific impls in our codebase. It is also needed for unit tests, etc.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>axis</groupId>
- <artifactId>axis-jaxrpc</artifactId>
- <version>1.2-RC2</version>
- <url>http://ws.apache.org/axis/</url>
- <properties>
- <license>BinaryCodeLicense-JaxRpcApi.txt</license>
- <usage>Needed for building our JAX-RPC compliant Handler impl.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>axis</groupId>
- <artifactId>axis-saaj</artifactId>
- <version>1.2-RC2</version>
- <url>http://ws.apache.org/axis/</url>
- <properties>
- <license>BinaryCodeLicense-SaajApi.txt</license>
- <usage>Needed for building our SOAP-specific code.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>commonj</groupId>
- <artifactId>commonj-twm</artifactId>
- <version>1.0</version>
- <url>http://dev2dev.bea.com/technologies/commonj/twm/</url>
- <properties>
- <usage>Needed for timer apis.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>commons-cli</groupId>
- <artifactId>commons-cli</artifactId>
- <version>1.0</version>
- <url>http://jakarta.apache.org/commons/cli/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.1</version>
- <url>http://jakarta.apache.org/commons/collections/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>commons-digester</groupId>
- <artifactId>commons-digester</artifactId>
- <version>1.6</version>
- <url>http://jakarta.apache.org/commons/digester/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>commons-discovery</groupId>
- <artifactId>commons-discovery</artifactId>
- <version>0.2</version>
- <url>http://jakarta.apache.org/commons/discovery/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <war.bundle>true</war.bundle>
- <usage>Needed by Axis.</usage>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.0</version>
- <url>http://jakarta.apache.org/commons/lang/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <war.bundle>true</war.bundle>
- <usage>Needed for utility operations like StringUtils, ExceptionUtils etc.</usage>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.0.4</version>
- <url>http://jakarta.apache.org/commons/logging/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <usage>Needed for logging purposes.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>concurrent</groupId>
- <artifactId>concurrent</artifactId>
- <version>1.3.4</version>
- <url>http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html</url>
- <properties>
- <license>DougLeaTechnologyLicense.txt</license>
- <usage>Needed for threading.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>jaxen</groupId>
- <artifactId>jaxen</artifactId>
- <version>1.1-beta-4</version>
- <url>http://jaxen.org/</url>
- <properties>
- <license>WerkenPublicLicense-1.3.txt</license>
- <usage>Needed for handling XPath queries with XmlBeans.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <url>http://www.junit.org/</url>
- <properties>
- <classloader>root</classloader>
- <license>CommonPublicLicense-1.0.txt</license>
- <usage>Needed for running unit tests.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>servletapi</groupId>
- <artifactId>servletapi</artifactId>
- <version>2.3</version>
- <url>http://java.sun.com/products/servlet/</url>
- <properties>
- <license>BinaryCodeLicense-ServletApi.txt</license>
- <scope>compile-time-only</scope>
- <usage>Needed to compile our servlet.</usage>
- <war.bundle>false</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>directory-naming</groupId>
- <artifactId>directory-naming-core</artifactId>
- <version>SNAPSHOT</version>
- <url>http://incubator.apache.org/directory/subprojects/directory-naming/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <scope>runtime-only</scope>
- <usage>Needed for in-memory JNDI provider.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>directory-naming</groupId>
- <artifactId>directory-naming-factory</artifactId>
- <version>SNAPSHOT</version>
- <url>http://incubator.apache.org/directory/subprojects/directory-naming/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <scope>runtime-only</scope>
- <usage>Needed for in-memory JNDI provider.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>wsdl4j</groupId>
- <artifactId>wsdl4j</artifactId>
- <version>1.5-SNAPSHOT</version>
- <url>http://www-124.ibm.com/developerworks/projects/wsdl4j/</url>
- <properties>
- <license>CommonPublicLicense-1.0.txt</license>
- <war.bundle>true</war.bundle>
- <usage>Needed for working with WSDL files as objects.</usage>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>xalan</groupId>
- <artifactId>xalan</artifactId>
- <version>2.5.1</version>
- <url>http://xml.apache.org/xalan-j/</url>
- <properties>
- <license>ApacheLicense-2.0.txt</license>
- <scope>compile-time-only</scope>
- <usage>Needed for XSL and report generation.</usage>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
+ <pomVersion>3</pomVersion>
+ <id>incubating-apollo</id>
+ <name>Apollo</name>
+ <groupId>apollo</groupId>
+ <currentVersion>1.0-beta1</currentVersion>
+ <organization>
+ <name>Apache Software Foundation</name>
+ <url>http://www.apache.org/</url>
+ <logo>http://ws.apache.org/images/project-logo.jpg</logo>
+ </organization>
+ <inceptionYear>2004</inceptionYear>
+ <package>org.apache.ws.resource</package>
+ <description>A robust Java implementation of the OASIS WS-ResourceFramework (WSRF) family of specifications.</description>
+ <shortDescription>Apollo Project</shortDescription>
+ <url>http://incubator.apache.org/apollo/</url>
+ <issueTrackingUrl>http://nagoya.apache.org/jira/browse/Apollo</issueTrackingUrl>
+
+ <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>
+
+ <mailingLists>
+ <mailingList>
+ <name>Apollo Developer List</name>
+ <subscribe>apollo-dev-subscribe@ws.apache.org</subscribe>
+ <unsubscribe>apollo-dev-unsubscribe@ws.apache.org</unsubscribe>
+ <archive>http://ws.apache.org/mail/apollo-dev/</archive>
+ </mailingList>
+ </mailingLists>
+
+ <developers>
+
+ <developer>
+ <name>Sal Campana</name>
+ <id>scamp</id>
+ <email>sal.campana@hp.com</email>
+ <organization>Hewlett-Packard Company</organization>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>-5</timezone>
+ </developer>
+
+ <developer>
+ <name>Ian P. Springer</name>
+ <id>ips</id>
+ <email>ian.springer@hp.com</email>
+ <organization>Hewlett-Packard Company</organization>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>-5</timezone>
+ </developer>
+
+ </developers>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>addressing</groupId>
+ <artifactId>addressing</artifactId>
+ <version>SNAPSHOT</version>
+ <url>http://ws.apache.org/ws-fx/addressing/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <usage>Needed for handling WS-Addressing.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>1.6.2</version>
+ <url>http://ant.apache.org/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <scope>compile-time-only</scope>
+ <usage>Needed for various custom Tasks we've defined for updating a Wsdd and running WsdmWsdl2Java.</usage>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>apollo</groupId>
+ <artifactId>wsrf-xbeans</artifactId>
+ <version>SNAPSHOT</version>
+ <url>http://incubator.apache.org/apollo/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <usage>Needed for handling requests. This contains the XmlBeans-generated code from the WSRF WSDLs/XSDs. This "could" be eliminated and generated on the fly, but it would make the builds longer.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>apollo</groupId>
+ <artifactId>apollo-jndi-config</artifactId>
+ <version>SNAPSHOT</version>
+ <url>http://incubator.apache.org/apollo/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <war.bundle>true</war.bundle>
+ <usage>Needed for handling our JNDI XML config file via XmlBeans. This "could" be removed, but then we'd probably replace it with commons-config. The reason we avoided that approach is that we leveredge XmlBeans extensively in our codebase.</usage>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>axis</groupId>
+ <artifactId>axis</artifactId>
+ <version>1.2-RC2</version>
+ <url>http://ws.apache.org/axis/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <usage>Needed for compiling Axis-specific impls in our codebase. It is also needed for unit tests, etc.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>axis</groupId>
+ <artifactId>axis-jaxrpc</artifactId>
+ <version>1.2-RC2</version>
+ <url>http://ws.apache.org/axis/</url>
+ <properties>
+ <license>BinaryCodeLicense-JaxRpcApi.txt</license>
+ <usage>Needed for building our JAX-RPC compliant Handler impl.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>axis</groupId>
+ <artifactId>axis-saaj</artifactId>
+ <version>1.2-RC2</version>
+ <url>http://ws.apache.org/axis/</url>
+ <properties>
+ <license>BinaryCodeLicense-SaajApi.txt</license>
+ <usage>Needed for building our SOAP-specific code.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>commonj</groupId>
+ <artifactId>commonj-twm</artifactId>
+ <version>1.0</version>
+ <url>http://dev2dev.bea.com/technologies/commonj/twm/</url>
+ <properties>
+ <usage>Needed for timer apis.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-cli</groupId>
+ <artifactId>commons-cli</artifactId>
+ <version>1.0</version>
+ <url>http://jakarta.apache.org/commons/cli/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.1</version>
+ <url>http://jakarta.apache.org/commons/collections/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-digester</groupId>
+ <artifactId>commons-digester</artifactId>
+ <version>1.6</version>
+ <url>http://jakarta.apache.org/commons/digester/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-discovery</groupId>
+ <artifactId>commons-discovery</artifactId>
+ <version>0.2</version>
+ <url>http://jakarta.apache.org/commons/discovery/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <war.bundle>true</war.bundle>
+ <usage>Needed by Axis.</usage>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.0</version>
+ <url>http://jakarta.apache.org/commons/lang/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <war.bundle>true</war.bundle>
+ <usage>Needed for utility operations like StringUtils, ExceptionUtils etc.</usage>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.0.4</version>
+ <url>http://jakarta.apache.org/commons/logging/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <usage>Needed for logging purposes.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>concurrent</groupId>
+ <artifactId>concurrent</artifactId>
+ <version>1.3.4</version>
+ <url>http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html</url>
+ <properties>
+ <license>DougLeaTechnologyLicense.txt</license>
+ <usage>Needed for threading.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>directory-naming</groupId>
+ <artifactId>directory-naming-core</artifactId>
+ <version>SNAPSHOT</version>
+ <url>http://incubator.apache.org/directory/subprojects/directory-naming/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <scope>runtime-only</scope>
+ <usage>Needed for in-memory JNDI provider.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>directory-naming</groupId>
+ <artifactId>directory-naming-factory</artifactId>
+ <version>SNAPSHOT</version>
+ <url>http://incubator.apache.org/directory/subprojects/directory-naming/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <scope>runtime-only</scope>
+ <usage>Needed for in-memory JNDI provider.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>jaxen</groupId>
+ <artifactId>jaxen</artifactId>
+ <version>1.1-beta-4</version>
+ <url>http://jaxen.org/</url>
+ <properties>
+ <license>WerkenPublicLicense-1.3.txt</license>
+ <usage>Needed for handling XPath queries with XmlBeans.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <url>http://www.junit.org/</url>
+ <properties>
+ <classloader>root</classloader>
+ <license>CommonPublicLicense-1.0.txt</license>
+ <usage>Needed for running unit tests.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>servletapi</groupId>
+ <artifactId>servletapi</artifactId>
+ <version>2.3</version>
+ <url>http://java.sun.com/products/servlet/</url>
+ <properties>
+ <license>BinaryCodeLicense-ServletApi.txt</license>
+ <scope>compile-time-only</scope>
+ <usage>Needed to compile our servlet.</usage>
+ <war.bundle>false</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>velocity</groupId>
+ <artifactId>velocity</artifactId>
+ <version>1.4</version>
+ <url>http://jakarta.apache.org/velocity/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <usage>Templating engine used by Wsdl2Java,</usage>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>wsdl4j</groupId>
+ <artifactId>wsdl4j</artifactId>
+ <version>1.5-SNAPSHOT</version>
+ <url>http://www-124.ibm.com/developerworks/projects/wsdl4j/</url>
+ <properties>
+ <license>CommonPublicLicense-1.0.txt</license>
+ <war.bundle>true</war.bundle>
+ <usage>Needed for working with WSDL files as objects.</usage>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>xalan</groupId>
+ <artifactId>xalan</artifactId>
+ <version>2.5.1</version>
+ <url>http://xml.apache.org/xalan-j/</url>
+ <properties>
+ <license>ApacheLicense-2.0.txt</license>
+ <scope>compile-time-only</scope>
+ <usage>Needed for XSL and report generation.</usage>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
<dependency>
<groupId>xmlbeans</groupId>
@@ -352,7 +363,7 @@
<usage>Needed for handling XML types in a platform agnostic way.</usage>
</properties>
</dependency>
-
+
<dependency>
<groupId>xmlbeans</groupId>
<artifactId>xbean_xpath</artifactId>
@@ -364,44 +375,44 @@
<usage>XMLBeans - used throughout code base.</usage>
</properties>
</dependency>
-
- </dependencies>
-
- <build>
- <nagEmailAddress>apollo-dev@ws.apache.org</nagEmailAddress>
- <sourceDirectory>src/java</sourceDirectory>
- <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
- <unitTest>
- <includes>
- <include>**/*TestCase.java</include>
- </includes>
- <excludes>
- <exclude>**/Abstract*TestCase.java</exclude>
- </excludes>
- </unitTest>
- <resources>
- <resource>
- <directory>src/java</directory>
- <excludes>
- <exclude>**/*.java</exclude>
- <exclude>**/package.html</exclude>
- </excludes>
- <filtering>false</filtering>
- </resource>
- </resources>
- </build>
-
- <reports>
- <!--<report>maven-license-plugin</report>-->
- <!--<report>maven-checkstyle-plugin</report>-->
- <!--<report>maven-pmd-plugin</report>-->
- <!--<report>maven-jdepend-plugin</report>-->
- <!--<report>maven-jxr-plugin</report>-->
- <report>maven-javadoc-plugin</report>
- <report>maven-junit-report-plugin</report>
- <!--<report>maven-clover-plugin</report>-->
- </reports>
-
- <properties />
-
+
+ </dependencies>
+
+ <build>
+ <nagEmailAddress>apollo-dev@ws.apache.org</nagEmailAddress>
+ <sourceDirectory>src/java</sourceDirectory>
+ <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
+ <unitTest>
+ <includes>
+ <include>**/*TestCase.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/Abstract*TestCase.java</exclude>
+ </excludes>
+ </unitTest>
+ <resources>
+ <resource>
+ <directory>src/java</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ <exclude>**/package.html</exclude>
+ </excludes>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+ </build>
+
+ <reports>
+ <!--<report>maven-license-plugin</report>-->
+ <!--<report>maven-checkstyle-plugin</report>-->
+ <!--<report>maven-pmd-plugin</report>-->
+ <!--<report>maven-jdepend-plugin</report>-->
+ <!--<report>maven-jxr-plugin</report>-->
+ <report>maven-javadoc-plugin</report>
+ <report>maven-junit-report-plugin</report>
+ <!--<report>maven-clover-plugin</report>-->
+ </reports>
+
+ <properties/>
+
</project>
Added: incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceDefinition.java
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceDefinition.java?view=auto&rev=123218
==============================================================================
--- (empty file)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceDefinition.java Thu Dec 23 12:30:01 2004
@@ -0,0 +1,32 @@
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource;
+
+import javax.wsdl.Service;
+
+/**
+ * TODO
+ *
+ * @author Ian Springer (ian DOT springer AT hp DOT com)
+ */
+public interface ResourceDefinition extends ResourceCapability
+{
+
+ String getName();
+
+ Service getService();
+
+}
Modified: incubator/apollo/trunk/src/java/org/apache/ws/resource/Wsdl2Java.java
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/Wsdl2Java.java?view=diff&rev=123218&p1=incubator/apollo/trunk/src/java/org/apache/ws/resource/Wsdl2Java.java&r1=123217&p2=incubator/apollo/trunk/src/java/org/apache/ws/resource/Wsdl2Java.java&r2=123218
==============================================================================
--- incubator/apollo/trunk/src/java/org/apache/ws/resource/Wsdl2Java.java (original)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/Wsdl2Java.java Thu Dec 23 12:30:01 2004
@@ -25,15 +25,12 @@
import org.apache.velocity.exception.ResourceNotFoundException;
import org.apache.ws.resource.i18n.Keys;
import org.apache.ws.resource.i18n.MessagesImpl;
-import org.apache.ws.resource.impl.ResourceCapabilityImpl;
import org.apache.ws.resource.impl.ResourceDefinitionImpl;
-import org.apache.ws.util.WsdlUtils;
import org.apache.ws.util.i18n.Messages;
import org.apache.xmlbeans.impl.common.XmlErrorPrinter;
import org.apache.xmlbeans.impl.tool.SchemaCompiler;
import javax.wsdl.Definition;
-import javax.wsdl.PortType;
import javax.wsdl.Service;
import javax.wsdl.factory.WSDLFactory;
import javax.wsdl.xml.WSDLReader;
@@ -42,20 +39,19 @@
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
-import java.util.Map;
import java.util.StringTokenizer;
/**
* LOG-DONE
* <p/>
- * Generates Java Web service types and skeletons from a WS-RF WSDL.
+ * Generates Java Web service types and skeletons from a WSRF WSDL.
*
* @author Ian P. Springer (Hewlett-Packard Company)
*/
public class Wsdl2Java
{
- /** DOCUMENT_ME */
- public static final Messages MSG = MessagesImpl.getInstance( );
+
+ private static final Messages MSG = MessagesImpl.getInstance( );
/** DOCUMENT_ME */
protected static final org.apache.commons.cli.Options CMD_LINE_OPTIONS = new org.apache.commons.cli.Options( );
Modified: incubator/apollo/trunk/src/java/org/apache/ws/resource/handler/DefaultMethodMap.java
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/handler/DefaultMethodMap.java?view=diff&rev=123218&p1=incubator/apollo/trunk/src/java/org/apache/ws/resource/handler/DefaultMethodMap.java&r1=123217&p2=incubator/apollo/trunk/src/java/org/apache/ws/resource/handler/DefaultMethodMap.java&r2=123218
==============================================================================
--- incubator/apollo/trunk/src/java/org/apache/ws/resource/handler/DefaultMethodMap.java (original)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/handler/DefaultMethodMap.java Thu Dec 23 12:30:01 2004
@@ -16,7 +16,7 @@
package org.apache.ws.resource.handler;
import org.apache.ws.resource.properties.v1_2.ResourceProperties1_2Constants;
-import org.apache.ws.resource.lifetime.ResourceLifetime1_2Constants;
+import org.apache.ws.resource.lifetime.v1_2.ResourceLifetime1_2Constants;
import javax.xml.namespace.QName;
import java.util.HashMap;
Added: incubator/apollo/trunk/src/java/org/apache/ws/resource/impl/ResourceDefinitionImpl.java
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/impl/ResourceDefinitionImpl.java?view=auto&rev=123218
==============================================================================
--- (empty file)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/impl/ResourceDefinitionImpl.java Thu Dec 23 12:30:01 2004
@@ -0,0 +1,72 @@
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.impl;
+
+import org.apache.ws.resource.ResourceDefinition;
+import org.apache.ws.resource.InvalidWsrfWsdlException;
+import org.apache.ws.util.WsdlUtils;
+
+import javax.wsdl.Service;
+import javax.wsdl.Definition;
+import javax.wsdl.PortType;
+import javax.wsdl.Port;
+import java.util.Map;
+
+/**
+ * TODO
+ *
+ * @author Ian Springer (ian DOT springer AT hp DOT com)
+ */
+public class ResourceDefinitionImpl extends ResourceCapabilityImpl implements ResourceDefinition
+{
+
+ private Service m_service;
+ private String m_name;
+
+ public ResourceDefinitionImpl( Definition def, Service service )
+ throws InvalidWsrfWsdlException
+ {
+ super( def, getResourcePortType( service ) );
+ m_service = service;
+ Port port = (Port) m_service.getPorts().values().iterator().next();
+ m_name = port.getName();
+ }
+
+ private static PortType getResourcePortType( Service service ) throws InvalidWsrfWsdlException
+ {
+ Map portTypes = WsdlUtils.getPortTypes( service );
+ if ( portTypes.isEmpty() )
+ {
+ throw new InvalidWsrfWsdlException( "WSDL service " + service.getQName() + " is not a valid service, as it does not contain any ports." );
+ }
+ if ( portTypes.size() > 1 )
+ {
+ throw new InvalidWsrfWsdlException( "WSDL service " + service.getQName() + " is not a valid WSRF service, as it contains more than one port." );
+ }
+ return (PortType) portTypes.values().iterator().next();
+ }
+
+ public Service getService()
+ {
+ return m_service;
+ }
+
+ public String getName()
+ {
+ return m_name;
+ }
+
+}
Modified: incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceNotDestroyedFaultException.java
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceNotDestroyedFaultException.java?view=diff&rev=123218&p1=incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceNotDestroyedFaultException.java&r1=123217&p2=incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceNotDestroyedFaultException.java&r2=123218
==============================================================================
--- incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceNotDestroyedFaultException.java (original)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceNotDestroyedFaultException.java Thu Dec 23 12:30:01 2004
@@ -19,7 +19,7 @@
import org.apache.ws.resource.i18n.MessagesImpl;
import org.apache.ws.resource.i18n.Keys;
import org.apache.ws.resource.faults.BaseFaultException;
-import org.apache.ws.resource.lifetime.ResourceLifetime1_2Constants;
+import org.apache.ws.resource.lifetime.v1_2.ResourceLifetime1_2Constants;
import org.apache.ws.util.i18n.Messages;
import javax.xml.namespace.QName;
Modified: incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceUnknownFaultException.java
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceUnknownFaultException.java?view=diff&rev=123218&p1=incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceUnknownFaultException.java&r1=123217&p2=incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceUnknownFaultException.java&r2=123218
==============================================================================
--- incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceUnknownFaultException.java (original)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceUnknownFaultException.java Thu Dec 23 12:30:01 2004
@@ -19,7 +19,7 @@
import org.apache.ws.resource.i18n.MessagesImpl;
import org.apache.ws.resource.i18n.Keys;
import org.apache.ws.resource.faults.BaseFaultException;
-import org.apache.ws.resource.lifetime.ResourceLifetime1_2Constants;
+import org.apache.ws.resource.lifetime.v1_2.ResourceLifetime1_2Constants;
import org.apache.ws.util.i18n.Messages;
import javax.xml.namespace.QName;
Modified: incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/ScheduledResourceTerminationPortType.java
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/ScheduledResourceTerminationPortType.java?view=diff&rev=123218&p1=incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/ScheduledResourceTerminationPortType.java&r1=123217&p2=incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/ScheduledResourceTerminationPortType.java&r2=123218
==============================================================================
--- incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/ScheduledResourceTerminationPortType.java (original)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/ScheduledResourceTerminationPortType.java Thu Dec 23 12:30:01 2004
@@ -17,7 +17,7 @@
import org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceLifetime12Draft01.SetTerminationTimeDocument;
import org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceLifetime12Draft01.SetTerminationTimeResponseDocument;
-import org.apache.ws.resource.lifetime.ResourceLifetime1_2Constants;
+import org.apache.ws.resource.lifetime.v1_2.ResourceLifetime1_2Constants;
import javax.xml.namespace.QName;
Modified: incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java?view=diff&rev=123218&p1=incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java&r1=123217&p2=incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java&r2=123218
==============================================================================
--- incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java (original)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/lifetime/v1_2/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java Thu Dec 23 12:30:01 2004
@@ -20,10 +20,12 @@
import org.apache.ws.resource.ResourceContext;
import org.apache.ws.resource.ResourceException;
import org.apache.ws.resource.i18n.Keys;
+import org.apache.ws.resource.i18n.MessagesImpl;
import org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource;
import org.apache.ws.resource.lifetime.faults.UnableToSetTerminationTimeFaultException;
import org.apache.ws.resource.lifetime.v1_2.porttype.ScheduledResourceTerminationPortType;
import org.apache.ws.resource.properties.v1_2.porttype.impl.AbstractResourcePropertiesPortType;
+import org.apache.ws.util.i18n.Messages;
import org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceLifetime12Draft01.SetTerminationTimeDocument;
import org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceLifetime12Draft01.SetTerminationTimeResponseDocument;
import java.util.Calendar;
@@ -43,6 +45,8 @@
*/
private static final Log LOG = LogFactory.getLog( ScheduledResourceTerminationPortTypeImpl.class.getName( ) );
+ private static final Messages MSG = MessagesImpl.getInstance();
+
/**
* Creates a new {@link ScheduledResourceTerminationPortTypeImpl} object.
*
---------------------------------------------------------------------
To unsubscribe, e-mail: apollo-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: apollo-dev-help@ws.apache.org