You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2011/11/05 17:47:49 UTC

svn commit: r1197986 - in /incubator/airavata/trunk: ./ modules/commons/gfac-schema/schemas/ modules/commons/gfac-schema/src/test/java/org/apache/airavata/commons/gfac/wsdl/ modules/commons/utils/src/main/java/org/apache/airavata/common/exception/ modu...

Author: smarru
Date: Sat Nov  5 16:47:49 2011
New Revision: 1197986

URL: http://svn.apache.org/viewvc?rev=1197986&view=rev
Log:
Added license header to adress AIRAVATA-188

Modified:
    incubator/airavata/trunk/modules/commons/gfac-schema/schemas/gfac-schemas.xsdconfig
    incubator/airavata/trunk/modules/commons/gfac-schema/src/test/java/org/apache/airavata/commons/gfac/wsdl/TestWSDLGeneration.java
    incubator/airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UtilsException.java
    incubator/airavata/trunk/modules/commons/workflow-execution-context/src/main/resources/workflow_execution_context.xsd
    incubator/airavata/trunk/modules/commons/workflow-execution-context/src/main/resources/workflow_execution_context.xsdconfig
    incubator/airavata/trunk/modules/commons/workflow-tracking/schemas/workflow_tracking_types.xsd
    incubator/airavata/trunk/modules/commons/workflow-tracking/schemas/workflow_tracking_types.xsdconfig
    incubator/airavata/trunk/pom.xml

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/schemas/gfac-schemas.xsdconfig
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/schemas/gfac-schemas.xsdconfig?rev=1197986&r1=1197985&r2=1197986&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/schemas/gfac-schemas.xsdconfig (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/schemas/gfac-schemas.xsdconfig Sat Nov  5 16:47:49 2011
@@ -1,3 +1,11 @@
+<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file 
+	distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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. -->
+	
 <xb:config  xmlns:xb="http://www.bea.com/2002/09/xbean/config">
 
     <xb:namespace uri="http://schemas.airavata.apache.org/gfac/type">

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/test/java/org/apache/airavata/commons/gfac/wsdl/TestWSDLGeneration.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/test/java/org/apache/airavata/commons/gfac/wsdl/TestWSDLGeneration.java?rev=1197986&r1=1197985&r2=1197986&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/test/java/org/apache/airavata/commons/gfac/wsdl/TestWSDLGeneration.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/test/java/org/apache/airavata/commons/gfac/wsdl/TestWSDLGeneration.java Sat Nov  5 16:47:49 2011
@@ -1,3 +1,24 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.airavata.commons.gfac.wsdl;
 
 import java.util.ArrayList;
@@ -43,12 +64,11 @@ public class TestWSDLGeneration {
             WSDLGenerator wsdlGenerator = new WSDLGenerator();
             String security = WSDLConstants.TRANSPORT_LEVEL;
             String serviceLocation = "http://localhost:8080/axis2/services/test?wsdl";
-            
-            Hashtable serviceTable = wsdlGenerator.generateWSDL(serviceLocation, null, security,
-                    serviceDesc, false);
-            
+
+            Hashtable serviceTable = wsdlGenerator.generateWSDL(serviceLocation, null, security, serviceDesc, false);
+
             String wsdl = (String) serviceTable.get(WSDLConstants.WSDL);
-            
+
             System.out.println("The generated CWSDL is " + wsdl);
             return wsdl;
 
@@ -56,7 +76,7 @@ public class TestWSDLGeneration {
             throw new GFacWSDLException(e);
         }
     }
-    
+
     @Test
     public void test() {
 
@@ -70,7 +90,7 @@ public class TestWSDLGeneration {
         name.setStringValue("SimpleEcho");
         PortTypeType portType = serv.getType().addNewPortType();
         MethodType methodType = portType.addNewMethod();
-        
+
         methodType.setMethodName("invoke");
 
         List<InputParameterType> inputList = new ArrayList<InputParameterType>();
@@ -92,17 +112,18 @@ public class TestWSDLGeneration {
 
         try {
             WSDLGenerator generator = new WSDLGenerator();
-            Hashtable table = generator.generateWSDL("http://localhost.com", new QName("xxxx"), "xx", serv.getType(), true);            
+            Hashtable table = generator.generateWSDL("http://localhost.com", new QName("xxxx"), "xx", serv.getType(),
+                    true);
             Set set = table.entrySet();
             for (Object object : set) {
-                System.out.println(((Entry)object).getKey());
-                System.out.println(((Entry)object).getValue());
-                
+                System.out.println(((Entry) object).getKey());
+                System.out.println(((Entry) object).getValue());
+
             }
             System.out.println("DONE");
         } catch (Exception e) {
             e.printStackTrace();
         }
-     }
-    
+    }
+
 }

Modified: incubator/airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UtilsException.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UtilsException.java?rev=1197986&r1=1197985&r2=1197986&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UtilsException.java (original)
+++ incubator/airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UtilsException.java Sat Nov  5 16:47:49 2011
@@ -18,6 +18,7 @@
  * under the License.
  *
  */
+
 package org.apache.airavata.common.exception;
 
 public class UtilsException extends Exception {

Modified: incubator/airavata/trunk/modules/commons/workflow-execution-context/src/main/resources/workflow_execution_context.xsd
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/workflow-execution-context/src/main/resources/workflow_execution_context.xsd?rev=1197986&r1=1197985&r2=1197986&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/workflow-execution-context/src/main/resources/workflow_execution_context.xsd (original)
+++ incubator/airavata/trunk/modules/commons/workflow-execution-context/src/main/resources/workflow_execution_context.xsd Sat Nov  5 16:47:49 2011
@@ -1,7 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<schema targetNamespace="http://schemas.airavata.apache.org/workflow-execution-context"
-	xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wec="http://schemas.airavata.apache.org/workflow-execution-context"
-	attributeFormDefault="qualified" elementFormDefault="qualified">
+<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file 
+	distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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. -->
+
+<schema targetNamespace="http://schemas.airavata.apache.org/workflow-execution-context" xmlns="http://www.w3.org/2001/XMLSchema"
+	xmlns:wec="http://schemas.airavata.apache.org/workflow-execution-context" attributeFormDefault="qualified"
+	elementFormDefault="qualified">
 
 	<element name='context-header'>
 		<annotation>
@@ -15,12 +23,9 @@
 			<sequence>
 				<element minOccurs='0' maxOccurs='1' ref='wec:user-identifier' />
 				<element minOccurs='1' maxOccurs='1' ref='wec:soa-service-eprs' />
-				<element minOccurs='1' maxOccurs='1'
-					ref='wec:workflow-monitoring-context' />
-				<element minOccurs='0' maxOccurs='1'
-					ref='wec:workflow-scheduling-context' />
-				<element minOccurs='0' maxOccurs='1'
-					ref='wec:workflow-output-data-handling' />
+				<element minOccurs='1' maxOccurs='1' ref='wec:workflow-monitoring-context' />
+				<element minOccurs='0' maxOccurs='1' ref='wec:workflow-scheduling-context' />
+				<element minOccurs='0' maxOccurs='1' ref='wec:workflow-output-data-handling' />
 				<element minOccurs='0' maxOccurs='1' ref='wec:security-context' />
 			</sequence>
 		</complexType>
@@ -30,7 +35,8 @@
 		<annotation>
 			<documentation xml:lang="en"> User that the workflow is
 				executed on behalf of,
-				user id is used to catalog data and for
+				user id is used to catalog data
+				and for
 				monitoring purposes
 			</documentation>
 		</annotation>
@@ -45,16 +51,14 @@
 		</annotation>
 		<complexType>
 			<sequence>
-				<element name="gfac-url" type="anyURI" minOccurs='1'
-					maxOccurs='1'>
+				<element name="gfac-url" type="anyURI" minOccurs='1' maxOccurs='1'>
 					<annotation>
 						<documentation xml:lang="en"> Location of GFac factory
 							service to use. (optional)
 						</documentation>
 					</annotation>
 				</element>
-				<element name="registry-url" type="anyURI" minOccurs='1'
-					maxOccurs='1'>
+				<element name="registry-url" type="anyURI" minOccurs='1' maxOccurs='1'>
 					<annotation>
 						<documentation xml:lang="en"> Location of Registry
 							service
@@ -63,8 +67,7 @@
 					</annotation>
 				</element>
 
-				<element name="resource-scheduler-url" type="string"
-					minOccurs='0' maxOccurs='1'>
+				<element name="resource-scheduler-url" type="string" minOccurs='0' maxOccurs='1'>
 					<annotation>
 						<documentation xml:lang="en"> Resource Scheduler to use
 						</documentation>
@@ -78,7 +81,8 @@
 		<annotation>
 			<documentation xml:lang="en">Workflow context for execution
 				of a instance used to
-				relate the specific activity in the context of
+				relate the specific activity
+				in the context of
 				workflow and used for
 				monitoring
 				and illustarting the workflow
@@ -87,8 +91,7 @@
 		</annotation>
 		<complexType>
 			<sequence>
-				<element name="experiment-id" type="string" minOccurs="1"
-					maxOccurs="1">
+				<element name="experiment-id" type="string" minOccurs="1" maxOccurs="1">
 					<annotation>
 						<documentation xml:lang="en"> Experiment ID (REQUIRED in
 							context), Defines
@@ -96,8 +99,7 @@
 						</documentation>
 					</annotation>
 				</element>
-				<element name="workflow-instance-id" type="anyURI"
-					minOccurs="1" maxOccurs="1">
+				<element name="workflow-instance-id" type="anyURI" minOccurs="1" maxOccurs="1">
 					<annotation>
 						<documentation xml:lang="en"> URI that identifies
 							workflow instance that
@@ -109,7 +111,8 @@
 					<annotation>
 						<documentation xml:lang="en"> URI that identifies
 							workflow template that was
-							used to create the workflow instance.
+							used to create the workflow
+							instance.
 							(optional)
 						</documentation>
 					</annotation>
@@ -118,7 +121,8 @@
 					<annotation>
 						<documentation xml:lang="en"> String that identifies
 							uniqueley a node in
-							workflow graph that originated that message.
+							workflow graph that originated
+							that message.
 							(optional)
 						</documentation>
 					</annotation>
@@ -127,7 +131,8 @@
 					<annotation>
 						<documentation xml:lang="en"> Increasing integer
 							representing time in the
-							workflow execution when the message
+							workflow execution when the
+							message
 							originated. (optional)
 						</documentation>
 					</annotation>
@@ -146,31 +151,32 @@
 					<annotation>
 						<documentation xml:lang="en"> URI that identifies the
 							replica of service
-							instance that originated that message, primarly
+							instance that originated that
+							message, primarly
 							used by Fault Tolerance
 							service to overprovision. (optional)
 						</documentation>
 					</annotation>
 				</element>
 
-				<element name="event-publish-epr" type="anyURI" minOccurs="1"
-					maxOccurs="1">
+				<element name="event-publish-epr" type="anyURI" minOccurs="1" maxOccurs="1">
 					<annotation>
 						<documentation xml:lang="en"> EPR for WS-Eventing sink
 							where to send event. (optional)
-							NOTE: currently any XML is
+							NOTE: currently any
+							XML is
 							accepted as there are many versions of
 							WS-Addressing.
 						</documentation>
 					</annotation>
 				</element>
 
-				<element name="notification-topic" type="string" minOccurs="0"
-					maxOccurs="1">
+				<element name="notification-topic" type="string" minOccurs="0" maxOccurs="1">
 					<annotation>
 						<documentation xml:lang="en"> A Unique String to set as
 							the topic for
-							events sent on an experiment. The topic may be
+							events sent on an experiment. The
+							topic may be
 							embedded with the
 							event-publish-epr. An experiment id being unique
 							may be chosen as
@@ -183,7 +189,8 @@
 					<annotation>
 						<documentation xml:lang="en"> EPR for WS-Eventing sink
 							where to send errors (optional)
-							NOTE: designed good for debugging
+							NOTE: designed good
+							for debugging
 							and system level warnings, errors,
 							etc
 						</documentation>
@@ -206,8 +213,7 @@
 		</annotation>
 		<complexType>
 			<sequence>
-				<element minOccurs="1" maxOccurs="unbounded"
-					ref="wec:application-scheduling-context" />
+				<element minOccurs="1" maxOccurs="unbounded" ref="wec:application-scheduling-context" />
 			</sequence>
 		</complexType>
 	</element>
@@ -321,14 +327,14 @@
 				inside
 				workflow context. The purpose of this context is to handle
 				individual
-				activities with different needs like intermediate data
+				activities with different needs like
+				intermediate data
 				need not be persisted.
 			</documentation>
 		</annotation>
 		<complexType>
 			<sequence>
-				<element minOccurs="1" maxOccurs="unbounded"
-					ref="wec:application-output-data-handling" />
+				<element minOccurs="1" maxOccurs="unbounded" ref="wec:application-output-data-handling" />
 			</sequence>
 		</complexType>
 	</element>
@@ -340,7 +346,8 @@
 					<annotation>
 						<documentation xml:lang="en"> (Optional) If a seperate
 							Data
-							Registry is used for catlogging data, the associated location
+							Registry is used for catlogging data, the
+							associated location
 							of the
 							Data registry
 						</documentation>
@@ -350,7 +357,8 @@
 				<element name="output-data-directory" type="anyURI">
 					<annotation>
 						<documentation xml:lang="en">(Optional) If the workflow
-							outputs are to be staged to a pre-specified location, then the
+							outputs are to be staged to a pre-specified
+							location, then the
 							output data staging directory should be provided.
 						</documentation>
 					</annotation>
@@ -360,7 +368,8 @@
 					<annotation>
 						<documentation xml:lang="en">(Optional) If the
 							intermediate workflow
-							outputs are to be discarded after execution,
+							outputs are to be discarded after
+							execution,
 							this flag should be set to
 							false. By defualt this flag should be
 							true assuming all data will
@@ -385,7 +394,8 @@
 					<annotation>
 						<documentation xml:lang="en"> Security context for Grid
 							Security
-							Infrastructure X509 Proxy with trusted chain.
+							Infrastructure X509 Proxy with trusted
+							chain.
 						</documentation>
 					</annotation>
 				</element>
@@ -473,7 +483,8 @@
 								<annotation>
 									<documentation xml:lang="en"> The ID of the session
 										credential
-										to be used for executing grid operations as needed
+										to be used for executing grid operations
+										as needed
 										by the
 										workflow.
 									</documentation>

Modified: incubator/airavata/trunk/modules/commons/workflow-execution-context/src/main/resources/workflow_execution_context.xsdconfig
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/workflow-execution-context/src/main/resources/workflow_execution_context.xsdconfig?rev=1197986&r1=1197985&r2=1197986&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/workflow-execution-context/src/main/resources/workflow_execution_context.xsdconfig (original)
+++ incubator/airavata/trunk/modules/commons/workflow-execution-context/src/main/resources/workflow_execution_context.xsdconfig Sat Nov  5 16:47:49 2011
@@ -1,3 +1,11 @@
+<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file 
+	distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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. -->
+	
 <xb:config  xmlns:xb="http://www.bea.com/2002/09/xbean/config">
 
     <xb:namespace uri="http://schemas.airavata.apache.org/workflow-execution-context">

Modified: incubator/airavata/trunk/modules/commons/workflow-tracking/schemas/workflow_tracking_types.xsd
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/workflow-tracking/schemas/workflow_tracking_types.xsd?rev=1197986&r1=1197985&r2=1197986&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/workflow-tracking/schemas/workflow_tracking_types.xsd (original)
+++ incubator/airavata/trunk/modules/commons/workflow-tracking/schemas/workflow_tracking_types.xsd Sat Nov  5 16:47:49 2011
@@ -1,574 +1,576 @@
 <?xml version='1.0' encoding='utf-8' ?>
-<schema
-    targetNamespace="http://airavata.apache.org/schemas/workflow_tracking_types"
-    xmlns:wft="http://airavata.apache.org/schemas/workflow_tracking_types"
-    xmlns="http://www.w3.org/2001/XMLSchema"
-    attributeFormDefault="qualified"
-    elementFormDefault="qualified">
-
-    <annotation>
-	<documentation>
-	    *) Workflows and services can be abstract (template) or concrete (instance).
-	       Unless otherwise noted, we always refer to the concrete instance of the workflow/service below
-	    *) All workflows are also services.
-	    *) Services may be part of zero or more workflows
-	    *) When Services execute in the context of a workflow,
-	       an invocation of the service is associated with the workflowID of the workflow whose context
-	       in which it is being invoked (also called parent workflow), 
-	       the timestep of this invocation in the parent workflow,
-	       and the node ID that uniquely identifies this service within the parent workflow instance.
-	    *) Workflows can also be invoked in the context of another parent workflow.
-	    *) Workflow ID always refers to the "parent workflow ID". When refering to the invocation of a workflow,
-	       its instance ID is called the Service ID.
-	    *) Workflows that are not invoked from another workflow do not have a context of execution 
-	       (parent workflow is not present => Workflow ID is NULL)
-	    *) Schema design notes
-	       - This schema uses the "Venetian Blind" schema design pattern
-	       - It uses Upper Camel Case for schema types and lower camel case for
-	         element and attribute names
-	</documentation>
-    </annotation>
+<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file 
+	distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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. -->
+
+<schema targetNamespace="http://airavata.apache.org/schemas/workflow_tracking_types" xmlns:wft="http://airavata.apache.org/schemas/workflow_tracking_types"
+	xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified">
 
-    <simpleType name="ServiceIDType">
-	<annotation>
-	    <documentation>
-		ID to uniquely identify the service instance.
-		This is usually formed from the targetnamespace and porttype name of the service's WSDL.
-		This ID may refer to the instance ID for a service or for a workflow.
-	    </documentation>
-	</annotation>
-	<restriction base="anyURI"/>
-    </simpleType>
-    
-    <simpleType name="WorkflowNodeIDType">
-	<annotation>
-	    <documentation>
-		String that identifies uniquely a node in workflow graph. 
-		The node ID is unique in the scope of a workflow ID.
-	    </documentation>
-	</annotation>
-	<restriction base="string"/>
-    </simpleType>
-    
-    <simpleType name="WorkflowTimestepType">
-	<annotation>
-	    <documentation>
-		The timestep within workflow execution at which this invocation is made. 
-		This is a logical time that monotonically increments for each invocation in a workflow.
-	    </documentation>
-	</annotation>
-	<restriction base="int"/>
-    </simpleType>
-    
-    <simpleType name="DataProductIDType">
 	<annotation>
-	    <documentation>
-		Unique logical ID for a data product in the form of a UUID.
-		Physical URL for the data products can be resolved using this ID.
-	    </documentation>
-	</annotation>
-	<restriction base="anyURI"/>
-    </simpleType>
-    
-    <!-- ========================================================================================== -->
-
-    <complexType name="BaseIDType">
-	<attribute name="workflowID" type="wft:ServiceIDType" use="optional">
-	    <annotation>
-		<documentation>
-		    The workflow context within which this service is executing.
-		    If this service is itself a workflow and not executing as part of another workflow
-		    (i.e. this is the root of the invocation trace) then the workflow ID is absent.
-		    Otherwise, this is the service ID of the workflow instance.
-		</documentation>
-	    </annotation>
-	</attribute>
-	
-	<attribute name="serviceID" type="wft:ServiceIDType" use="required">
-	    <annotation>
 		<documentation>
-		    ID to uniquely identify a service instance. The service instance can
-		    be part of zero or more workflow.
-		    This is formed from the targetnamespace of the service's CWSDL.
+			*) Workflows and services can be abstract (template) or concrete (instance).
+			Unless otherwise noted, we always refer to the concrete instance of the workflow/service below
+			*) All workflows are also services.
+			*) Services may be part of zero or more workflows
+			*) When Services execute in the context of a workflow,
+			an invocation of the service is associated with the workflowID of the workflow whose context
+			in which it is being invoked (also called parent workflow),
+			the timestep of this invocation in the parent workflow,
+			and the node ID that uniquely identifies this service within the parent workflow instance.
+			*) Workflows can also be invoked in the context of another parent workflow.
+			*) Workflow ID always refers to the "parent workflow ID". When refering to the invocation of a workflow,
+			its instance ID is called the Service ID.
+			*) Workflows that are not invoked from another workflow do not have a context of execution
+			(parent workflow is not present => Workflow ID is NULL)
+			*) Schema design notes
+			- This schema uses the "Venetian Blind" schema design pattern
+			- It uses Upper Camel Case for schema types and lower camel case for
+			element and attribute names
 		</documentation>
-	    </annotation>
-	</attribute>
-	
-	<attribute name="workflowNodeID" type="wft:WorkflowNodeIDType" use="optional">
-	    <annotation>
-		<documentation>
-		    Distinct ID of a node within a Workflow graph. unique within the workflowID,
-		    not necessarily the order of execution.
-		</documentation>
-	    </annotation>
-	</attribute>
-	
-	<attribute name="workflowTimestep" type="wft:WorkflowTimestepType" use="optional">
-	    <annotation>
-		<documentation>
-		    The timestep within workflow execution at which this invocation is made.
-		    32bit integer. Timestep is a numerically ordered monotonically increasing sequence
-		    within wf execution that allows relative ordering of invocations.
-		    It is unique within the workflowID for each invocation in the workflow.
-		</documentation>
-	    </annotation>
-	</attribute>
-    </complexType>
-    
-    <!-- base type for all notifications -->
-    <complexType name="BaseNotificationType">
-	<annotation>
-	    <documentation>This is the base type for all notification activities that are produced</documentation>
 	</annotation>
-	<sequence>
-	    
-	    <element name="notificationSource" type="wft:BaseIDType">
+
+	<simpleType name="ServiceIDType">
 		<annotation>
-		    <documentation>
-			This identifies the entity/invocation context from which this notifcation is being sent.
-		    </documentation>
+			<documentation>
+				ID to uniquely identify the service instance.
+				This is usually formed from the targetnamespace and porttype name of the service's WSDL.
+				This ID may refer to the instance ID for a service or for a workflow.
+			</documentation>
 		</annotation>
-	    </element>
+		<restriction base="anyURI" />
+	</simpleType>
 
-	    <element name="timestamp" type="dateTime" />
+	<simpleType name="WorkflowNodeIDType">
+		<annotation>
+			<documentation>
+				String that identifies uniquely a node in workflow graph.
+				The node ID is unique in the scope of a workflow ID.
+			</documentation>
+		</annotation>
+		<restriction base="string" />
+	</simpleType>
 
-	    <element name="description" type="string" minOccurs="0">
+	<simpleType name="WorkflowTimestepType">
 		<annotation>
-		    <documentation>Optional human friendly description of this notification.</documentation>
+			<documentation>
+				The timestep within workflow execution at which this invocation is made.
+				This is a logical time that monotonically increments for each invocation in a workflow.
+			</documentation>
 		</annotation>
-	    </element>
+		<restriction base="int" />
+	</simpleType>
 
-	    <element name="annotation" type="anyType" minOccurs="0">
+	<simpleType name="DataProductIDType">
 		<annotation>
-		    <documentation>Optional additional metadata for this notification. See common.AnnotationConsts file.</documentation>
+			<documentation>
+				Unique logical ID for a data product in the form of a UUID.
+				Physical URL for the data products can be resolved using this ID.
+			</documentation>
 		</annotation>
-	    </element>
+		<restriction base="anyURI" />
+	</simpleType>
 
-	</sequence>
+	<!-- ========================================================================================== -->
 
-	<attribute name="infoModelVersion" 
-		   form="unqualified" 
-		   type="NMTOKEN" 
-		   use="required"> 
-	    <!-- we set form as unqualified to allow WS-Messenger YFilter to match it -->
-	    <!-- NMToken := (Letter | Digit  | '.' | '-' | '_' | ':')+ -->
-	    <annotation>
-		<documentation>
-		    String identifying notification schema version (used for verifying compatible schema and filtering).
-		</documentation>
-	    </annotation>
-	</attribute>
+	<complexType name="BaseIDType">
+		<attribute name="workflowID" type="wft:ServiceIDType" use="optional">
+			<annotation>
+				<documentation>
+					The workflow context within which this service is executing.
+					If this service is itself a workflow and not executing as part of another workflow
+					(i.e. this is the root of the invocation trace) then the workflow ID is absent.
+					Otherwise, this is the service ID of the workflow instance.
+				</documentation>
+			</annotation>
+		</attribute>
+
+		<attribute name="serviceID" type="wft:ServiceIDType" use="required">
+			<annotation>
+				<documentation>
+					ID to uniquely identify a service instance. The service instance can
+					be part of zero or more workflow.
+					This is formed from the targetnamespace of the service's CWSDL.
+				</documentation>
+			</annotation>
+		</attribute>
+
+		<attribute name="workflowNodeID" type="wft:WorkflowNodeIDType" use="optional">
+			<annotation>
+				<documentation>
+					Distinct ID of a node within a Workflow graph. unique within the workflowID,
+					not necessarily the order of execution.
+				</documentation>
+			</annotation>
+		</attribute>
+
+		<attribute name="workflowTimestep" type="wft:WorkflowTimestepType" use="optional">
+			<annotation>
+				<documentation>
+					The timestep within workflow execution at which this invocation is made.
+					32bit integer. Timestep is a numerically ordered monotonically increasing sequence
+					within wf execution that allows relative ordering of invocations.
+					It is unique within the workflowID for each invocation in the workflow.
+				</documentation>
+			</annotation>
+		</attribute>
+	</complexType>
 
-    </complexType>
+	<!-- base type for all notifications -->
+	<complexType name="BaseNotificationType">
+		<annotation>
+			<documentation>This is the base type for all notification activities that are produced</documentation>
+		</annotation>
+		<sequence>
 
+			<element name="notificationSource" type="wft:BaseIDType">
+				<annotation>
+					<documentation>
+						This identifies the entity/invocation context from which this notifcation is being sent.
+					</documentation>
+				</annotation>
+			</element>
+
+			<element name="timestamp" type="dateTime" />
+
+			<element name="description" type="string" minOccurs="0">
+				<annotation>
+					<documentation>Optional human friendly description of this notification.</documentation>
+				</annotation>
+			</element>
+
+			<element name="annotation" type="anyType" minOccurs="0">
+				<annotation>
+					<documentation>Optional additional metadata for this notification. See common.AnnotationConsts file.
+					</documentation>
+				</annotation>
+			</element>
 
-    <complexType name="MessageType">
-	<sequence>
-	    <element name="header" type="anyType" minOccurs="0" /> <!-- e.g. soap:header -->
-	    <element name="body" type="anyType" minOccurs="0" /> <!-- e.g. soap:body --> <!-- fixme: change to message -->
-	</sequence>
-    </complexType>
-
-    <complexType name="FaultMessageType">
-	<complexContent>
-	    <extension base="wft:MessageType" />
-	</complexContent>
-    </complexType>
-
-    <complexType name="InvocationMessageType">
-	<complexContent>
-	    <extension base="wft:MessageType" />
-	</complexContent>
-    </complexType>
-
-
-    <complexType name="FailureMessageType">
-	<sequence>
-	    <element name="trace" type="anyType" minOccurs="0" maxOccurs="unbounded" />
-	</sequence>
-    </complexType>
-
-
-    <!-- ========================================================================================== -->
-    <!--                           workflow provenance types                                        -->
-    <!-- ========================================================================================== -->
-
-    <!-- sent when the service is first created and is ready to accept invocations -->
-    <element name="serviceInitialized" type="wft:BaseNotificationType" />
-
-    <!-- sent when the service is terminated and will not accept any further invocations -->
-    <element name="serviceTerminated" type="wft:BaseNotificationType" />
-
-    <!-- sent when the workflow is first created and is ready to accept invocations -->
-    <!--element name="workflowInitialized" type="wft:BaseNotificationType"-->
-    <element name="workflowInitialized">
-	<complexType>
-	    <complexContent>
-		<extension base="wft:BaseNotificationType">
-		    <sequence>
-			<element name="initialPriority" type="string" minOccurs="0" />
-			<element name="workflowTemplateId" type="wft:ServiceIDType" minOccurs="0" />
-			<element name="workflowCreatorDn" type="string" minOccurs="0" />
-		    </sequence>
-		</extension>
-	    </complexContent>
-	</complexType>
-    </element>
-
-    <!-- sent when the workflow is terminated and will not accept any further invocations -->
-    <element name="workflowTerminated" type="wft:BaseNotificationType" />
-
-    <!-- sent when the workflow execution is paused: invocations will be accepted but no new messages will be sent by the workflow -->
-    <element name="workflowPaused" type="wft:BaseNotificationType" />
-
-    <!-- sent when the workflow execution is resumed -->
-    <element name="workflowResumed" type="wft:BaseNotificationType" />
-
-    <!-- workflow priority tracking -->
-    <element name="workflowPriorityChanged">
-	<complexType>
-	    <complexContent>
-		<extension base="wft:BaseNotificationType">
-		    <sequence>
-			<element name="newPriority" type="string" />
-			<element name="oldPriority" type="string" />
-		    </sequence>
-		</extension>
-	    </complexContent>
-	</complexType>
-    </element>
-
-    <!-- ========================================================================================== -->
-
-    <complexType name="InvocationRequestType" abstract="true">
-        <complexContent>
-	    <extension base="wft:BaseNotificationType">
-		<sequence>
-		    <element name="request" type="wft:InvocationMessageType" minOccurs="0" />
 		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
-
-    <complexType name="RequestInitiatorType">
-        <complexContent>
-	    <extension base="wft:InvocationRequestType">
-		<sequence>
-		    <!-- used by wf (client) to set service info, when invoking service -->
-		    <element name="receiver" type="wft:BaseIDType" minOccurs="0" />
-		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
-
-    <complexType name="RequestReceiverType">
-        <complexContent>
-	    <extension base="wft:InvocationRequestType">
-		<sequence>
-		    <!-- used by service to set workflow(client) info, when invoked by workflow (client) -->
-		    <element name="initiator" type="wft:BaseIDType" minOccurs="0" />
-		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
 
+		<attribute name="infoModelVersion" form="unqualified" type="NMTOKEN" use="required">
+			<!-- we set form as unqualified to allow WS-Messenger YFilter to match it -->
+			<!-- NMToken := (Letter | Digit | '.' | '-' | '_' | ':')+ -->
+			<annotation>
+				<documentation>
+					String identifying notification schema version (used for verifying compatible schema and filtering).
+				</documentation>
+			</annotation>
+		</attribute>
+
+	</complexType>
 
-    <!-- ========================================================================================== -->
 
-    <complexType name="AcknowledgementType" abstract="true">
-	<complexContent>
-	    <extension base="wft:BaseNotificationType" >
+	<complexType name="MessageType">
 		<sequence>
-		    <element name="receiver" type="wft:BaseIDType" minOccurs="0" /> <!-- target of the action that succeeded -->
+			<element name="header" type="anyType" minOccurs="0" /> <!-- e.g. soap:header -->
+			<element name="body" type="anyType" minOccurs="0" /> <!-- e.g. soap:body --> <!-- fixme: change to message -->
 		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
-
-    <complexType name="AcknowledgeSuccessType">
-	<complexContent>
-	    <extension base="wft:AcknowledgementType" />
-	</complexContent>
-    </complexType>
-
-    <complexType name="AcknowledgeFailureType">
-        <complexContent>
-	    <extension base="wft:AcknowledgementType">
+	</complexType>
+
+	<complexType name="FaultMessageType">
+		<complexContent>
+			<extension base="wft:MessageType" />
+		</complexContent>
+	</complexType>
+
+	<complexType name="InvocationMessageType">
+		<complexContent>
+			<extension base="wft:MessageType" />
+		</complexContent>
+	</complexType>
+
+
+	<complexType name="FailureMessageType">
 		<sequence>
-		    <element name="failure" type="wft:FailureMessageType" minOccurs="0" />
+			<element name="trace" type="anyType" minOccurs="0" maxOccurs="unbounded" />
 		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
+	</complexType>
 
-    <!-- ========================================================================================== -->
 
-    <!-- sent by workflow when a service is invoked by it. -->
-    <element name="invokingService" type="wft:RequestInitiatorType" />
+	<!-- ========================================================================================== -->
+	<!-- workflow provenance types -->
+	<!-- ========================================================================================== -->
+
+	<!-- sent when the service is first created and is ready to accept invocations -->
+	<element name="serviceInitialized" type="wft:BaseNotificationType" />
+
+	<!-- sent when the service is terminated and will not accept any further invocations -->
+	<element name="serviceTerminated" type="wft:BaseNotificationType" />
+
+	<!-- sent when the workflow is first created and is ready to accept invocations -->
+	<!--element name="workflowInitialized" type="wft:BaseNotificationType" -->
+	<element name="workflowInitialized">
+		<complexType>
+			<complexContent>
+				<extension base="wft:BaseNotificationType">
+					<sequence>
+						<element name="initialPriority" type="string" minOccurs="0" />
+						<element name="workflowTemplateId" type="wft:ServiceIDType" minOccurs="0" />
+						<element name="workflowCreatorDn" type="string" minOccurs="0" />
+					</sequence>
+				</extension>
+			</complexContent>
+		</complexType>
+	</element>
+
+	<!-- sent when the workflow is terminated and will not accept any further invocations -->
+	<element name="workflowTerminated" type="wft:BaseNotificationType" />
+
+	<!-- sent when the workflow execution is paused: invocations will be accepted but no new messages will be sent by the workflow -->
+	<element name="workflowPaused" type="wft:BaseNotificationType" />
+
+	<!-- sent when the workflow execution is resumed -->
+	<element name="workflowResumed" type="wft:BaseNotificationType" />
+
+	<!-- workflow priority tracking -->
+	<element name="workflowPriorityChanged">
+		<complexType>
+			<complexContent>
+				<extension base="wft:BaseNotificationType">
+					<sequence>
+						<element name="newPriority" type="string" />
+						<element name="oldPriority" type="string" />
+					</sequence>
+				</extension>
+			</complexContent>
+		</complexType>
+	</element>
+
+	<!-- ========================================================================================== -->
+
+	<complexType name="InvocationRequestType" abstract="true">
+		<complexContent>
+			<extension base="wft:BaseNotificationType">
+				<sequence>
+					<element name="request" type="wft:InvocationMessageType" minOccurs="0" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
 
+	<complexType name="RequestInitiatorType">
+		<complexContent>
+			<extension base="wft:InvocationRequestType">
+				<sequence>
+					<!-- used by wf (client) to set service info, when invoking service -->
+					<element name="receiver" type="wft:BaseIDType" minOccurs="0" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
 
-    <!-- sent by workflow when it is invoked. -->
-    <element name="workflowInvoked" type="wft:RequestReceiverType" />
+	<complexType name="RequestReceiverType">
+		<complexContent>
+			<extension base="wft:InvocationRequestType">
+				<sequence>
+					<!-- used by service to set workflow(client) info, when invoked by workflow (client) -->
+					<element name="initiator" type="wft:BaseIDType" minOccurs="0" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
 
-    <!-- sent by service when it is invoked. -->
-    <element name="serviceInvoked" type="wft:RequestReceiverType" />
 
+	<!-- ========================================================================================== -->
 
-    <!-- sent by workflow when it invoked a service successfully. -->
-    <element name="invokingServiceSucceeded" type="wft:AcknowledgeSuccessType" />
+	<complexType name="AcknowledgementType" abstract="true">
+		<complexContent>
+			<extension base="wft:BaseNotificationType">
+				<sequence>
+					<element name="receiver" type="wft:BaseIDType" minOccurs="0" /> <!-- target of the action that succeeded -->
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
 
-    <!-- sent by workflow when it failed to invoke a service successfully. -->
-    <element name="invokingServiceFailed" type="wft:AcknowledgeFailureType" />
+	<complexType name="AcknowledgeSuccessType">
+		<complexContent>
+			<extension base="wft:AcknowledgementType" />
+		</complexContent>
+	</complexType>
 
+	<complexType name="AcknowledgeFailureType">
+		<complexContent>
+			<extension base="wft:AcknowledgementType">
+				<sequence>
+					<element name="failure" type="wft:FailureMessageType" minOccurs="0" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
 
-    <!-- ========================================================================================== -->
+	<!-- ========================================================================================== -->
 
-    <complexType name="InvocationResultType" abstract="true">
-        <complexContent>
-	    <extension base="wft:BaseNotificationType">
-		<sequence>
-		    <element name="result" type="wft:InvocationMessageType" minOccurs="0" />
-		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
-
-    <complexType name="InvocationFaultType" abstract="true">
-        <complexContent>
-	    <extension base="wft:BaseNotificationType">
-		<sequence>
-		    <element name="fault" type="wft:FaultMessageType" minOccurs="0" />
-		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
-
-    <complexType name="ResultReceiverType">
-        <complexContent>
-	    <extension base="wft:InvocationResultType">
-		<sequence>
-		    <!-- used by wf (client) to set service info, when receiving result from service -->
-		    <element name="responder" type="wft:BaseIDType" />
-		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
-
-    <complexType name="FaultReceiverType">
-        <complexContent>
-	    <extension base="wft:InvocationFaultType">
-		<sequence>
-		    <!-- used by wf (client) to set service info, when receiving result from service -->
-		    <element name="responder" type="wft:BaseIDType" />
-		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
-
-    <complexType name="ResultResponderType">
-        <complexContent>
-	    <extension base="wft:InvocationResultType">
-		<sequence>
-		    <!-- used by service to set workflow(client) info, when returning result to workflow (client) -->
-		    <element name="receiver" type="wft:BaseIDType" minOccurs="0" />
-		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
-
-    <complexType name="FaultResponderType">
-        <complexContent>
-	    <extension base="wft:InvocationFaultType">
-		<sequence>
-		    <!-- used by service to set workflow(client) info, when returning result to workflow (client) -->
-		    <element name="receiver" type="wft:BaseIDType" minOccurs="0" />
-		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
+	<!-- sent by workflow when a service is invoked by it. -->
+	<element name="invokingService" type="wft:RequestInitiatorType" />
 
-    <!-- ========================================================================================== -->
 
-    <!-- sent by service when it returns the result for an invocation. -->
-    <element name="sendingResult" type="wft:ResultResponderType" /> <!-- add workflowSendingResult -->
+	<!-- sent by workflow when it is invoked. -->
+	<element name="workflowInvoked" type="wft:RequestReceiverType" />
 
-    <!-- sent by service when it returns a fault for an invocation. -->
-    <element name="sendingFault" type="wft:FaultResponderType" /> <!-- add workflowSendingFault -->
+	<!-- sent by service when it is invoked. -->
+	<element name="serviceInvoked" type="wft:RequestReceiverType" />
 
 
-    <!-- sent by workflow when it receives the result for an invocation. -->
-    <element name="receivedResult" type="wft:ResultReceiverType" /> <!-- add workflowReceivedResult -->
+	<!-- sent by workflow when it invoked a service successfully. -->
+	<element name="invokingServiceSucceeded" type="wft:AcknowledgeSuccessType" />
 
-    <!-- sent by workflow when it receives a fault for an invocation. -->
-    <element name="receivedFault" type="wft:FaultReceiverType" /> <!-- add workflowFaultResult -->
+	<!-- sent by workflow when it failed to invoke a service successfully. -->
+	<element name="invokingServiceFailed" type="wft:AcknowledgeFailureType" />
 
 
-    <!-- sent by service when it has successfully sent the result for an invocation. -->
-    <element name="sendingResponseSucceeded" type="wft:AcknowledgeSuccessType" />
+	<!-- ========================================================================================== -->
 
-    <!-- sent by service when it has successfully sent a fault for an invocation. -->
-    <element name="sendingResponseFailed" type="wft:AcknowledgeFailureType" />
+	<complexType name="InvocationResultType" abstract="true">
+		<complexContent>
+			<extension base="wft:BaseNotificationType">
+				<sequence>
+					<element name="result" type="wft:InvocationMessageType" minOccurs="0" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
 
-    <!-- ========================================================================================== -->
+	<complexType name="InvocationFaultType" abstract="true">
+		<complexContent>
+			<extension base="wft:BaseNotificationType">
+				<sequence>
+					<element name="fault" type="wft:FaultMessageType" minOccurs="0" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
 
+	<complexType name="ResultReceiverType">
+		<complexContent>
+			<extension base="wft:InvocationResultType">
+				<sequence>
+					<!-- used by wf (client) to set service info, when receiving result from service -->
+					<element name="responder" type="wft:BaseIDType" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
 
-    <!-- ========================================================================================== -->
-    <!--                            data provenance types                                           -->
-    <!-- ========================================================================================== -->
+	<complexType name="FaultReceiverType">
+		<complexContent>
+			<extension base="wft:InvocationFaultType">
+				<sequence>
+					<!-- used by wf (client) to set service info, when receiving result from service -->
+					<element name="responder" type="wft:BaseIDType" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
 
-    <!-- general complex data types -->
-    <complexType name="DataProductType">
-	<sequence>
-	    <element name="id" type="wft:DataProductIDType" />
-	    <element name="location" type="anyURI" minOccurs="0" maxOccurs="unbounded" />
-	    <element name="sizeInBytes" type="long" minOccurs="0" />
-	    <element name="timestamp" type="dateTime" minOccurs="0" /> <!-- context sensitive. time at which data product was produced or consumed. -->
-	    <element name="description" type="string" minOccurs="0">
-		<annotation>
-		    <documentation>Optional human friendly description of this data product.</documentation>
-		</annotation>
-	    </element>
-	    <element name="annotation" type="anyType" minOccurs="0">
-		<annotation>
-		    <documentation>Optional additional metadata for this data product.</documentation>
-		</annotation>
-	    </element>
-	</sequence>
-    </complexType>
-
-    <complexType name="DataProductNotificationType">
-	<complexContent>
-	    <extension base="wft:BaseNotificationType">
-		<sequence>
-		    <element name="dataProduct" type="wft:DataProductType" minOccurs="0" maxOccurs="unbounded" />
-		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
+	<complexType name="ResultResponderType">
+		<complexContent>
+			<extension base="wft:InvocationResultType">
+				<sequence>
+					<!-- used by service to set workflow(client) info, when returning result to workflow (client) -->
+					<element name="receiver" type="wft:BaseIDType" minOccurs="0" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
 
-    <!-- sent when a file is used by the jython app. -->
-    <element name="dataConsumed" type="wft:DataProductNotificationType" />
+	<complexType name="FaultResponderType">
+		<complexContent>
+			<extension base="wft:InvocationFaultType">
+				<sequence>
+					<!-- used by service to set workflow(client) info, when returning result to workflow (client) -->
+					<element name="receiver" type="wft:BaseIDType" minOccurs="0" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
 
-    <!-- sent when a file is generated by the jython app. -->
-    <element name="dataProduced" type="wft:DataProductNotificationType" />
+	<!-- ========================================================================================== -->
 
+	<!-- sent by service when it returns the result for an invocation. -->
+	<element name="sendingResult" type="wft:ResultResponderType" /> <!-- add workflowSendingResult -->
 
-    <!-- ========================================================================================== -->
-    <!--                                   performance audit types                                  -->
-    <!-- ========================================================================================== -->
+	<!-- sent by service when it returns a fault for an invocation. -->
+	<element name="sendingFault" type="wft:FaultResponderType" /> <!-- add workflowSendingFault -->
 
 
-    <!--  sent when the application launches a GRAM job, to facilitate -->
-    <!--  auditing and accounting of TeraGrid jobs -->
-    <!-- SJ The type name needed Type added at the end -->
-    <complexType name="ApplicationAuditType">
-	<complexContent>
-	    <extension base="wft:BaseNotificationType">
-		<sequence>
-		    <element name="name" type="string" />
-		    <element name="jobHandle" type="anyURI"/>
-		    <element name="host" type="string" />
-		    <element name="queueName" type="string" minOccurs="0"/>
-		    <element name="jobId" type="string" minOccurs="0"/>
-		    <element name="distinguishedName" type="string" />
-		    <element name="projectId" type="string" minOccurs="0"/>
-		    <element name="rsl" type="string"/>
-		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
-
-    <element name="applicationAudit" type="wft:ApplicationAuditType" />
-
-
-    <!-- sent at the end of a computational block in the jython app -->
-    <!-- with the time in milliseconds taken for that computational block -->
-    <element name="computationDuration">
-	<complexType>
-	    <complexContent>
-		<extension base="wft:BaseNotificationType">
-		    <sequence>
-			<element name="durationInMillis" type="long" />
-		    </sequence>
-		</extension>
-	    </complexContent>
-	</complexType>
-    </element>
-
-    <!-- sent at the end of sending a file to remote location (thro' gridftp?) by the jython app -->
-    <!-- with the time in milliseconds taken to send that file -->
-    <!-- TODO: later add support for time for multiple files in a single notification? -->
-    <complexType name="DataTransferDurationType">
-	<complexContent>
-	    <extension base="wft:BaseNotificationType">
-		<sequence>
-		    <element name="id" type="wft:DataProductIDType" />
-		    <element name="source" type="anyURI" />
-		    <element name="target" type="anyURI" />
-		    <element name="sizeInBytes" type="long" minOccurs="0" default="-1" />
-		    <element name="durationInMillis" type="long" default="-1" />
-		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
-
-    <element name="dataSendDuration" type="wft:DataTransferDurationType" />
-    <element name="dataReceiveDuration" type="wft:DataTransferDurationType" />
-
-    <!-- ========================================================================================== -->
-    <!--                               generic log message types                                    -->
-    <!-- ========================================================================================== -->
-
-
-    <!-- sent when an interesting file is created by the jython app that can be viewed thro' a URL -->
-    <!-- used to display as a link on the portal -->
-    <element name="publishURL">
-	<complexType>
-	    <complexContent>
-		<extension base="wft:BaseNotificationType">
-		    <sequence>
-			<element name="title" type="string" minOccurs="0" />
-			<element name="location" type="anyURI" />
-		    </sequence>
-		</extension>
-	    </complexContent>
-	</complexType>
-    </element>
-
-    <!-- generic log message at different levels of importance that can be produced by the jython app -->
-    <element name="logInfo" type="wft:BaseNotificationType" />
-    <element name="logException" type="wft:BaseNotificationType" />
-    <element name="logWarning" type="wft:BaseNotificationType" />
-    <element name="logDebug" type="wft:BaseNotificationType" />
-
-
-    <!-- ========================================================================================== -->
-    <!--                              resource broker message types                                 -->
-    <!-- ========================================================================================== -->
-
-    <complexType name="ResourceMappingType">
-	<complexContent>
-	    <extension base="wft:BaseNotificationType">
-		<sequence>
-		    <element name="mappedResource" type="string" />
-		    <element name="retryStatusCount" type="int" default="0" />
-		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
-
-    <complexType name="JobStatusType">
-	<complexContent>
-	    <extension base="wft:BaseNotificationType">
+	<!-- sent by workflow when it receives the result for an invocation. -->
+	<element name="receivedResult" type="wft:ResultReceiverType" /> <!-- add workflowReceivedResult -->
+
+	<!-- sent by workflow when it receives a fault for an invocation. -->
+	<element name="receivedFault" type="wft:FaultReceiverType" /> <!-- add workflowFaultResult -->
+
+
+	<!-- sent by service when it has successfully sent the result for an invocation. -->
+	<element name="sendingResponseSucceeded" type="wft:AcknowledgeSuccessType" />
+
+	<!-- sent by service when it has successfully sent a fault for an invocation. -->
+	<element name="sendingResponseFailed" type="wft:AcknowledgeFailureType" />
+
+	<!-- ========================================================================================== -->
+
+
+	<!-- ========================================================================================== -->
+	<!-- data provenance types -->
+	<!-- ========================================================================================== -->
+
+	<!-- general complex data types -->
+	<complexType name="DataProductType">
 		<sequence>
-		    <element name="jobStatus" type="string" />
-		    <element name="retryCount" type="int" default="0" />
+			<element name="id" type="wft:DataProductIDType" />
+			<element name="location" type="anyURI" minOccurs="0" maxOccurs="unbounded" />
+			<element name="sizeInBytes" type="long" minOccurs="0" />
+			<element name="timestamp" type="dateTime" minOccurs="0" /> <!-- context sensitive. time at which data product was produced or consumed. -->
+			<element name="description" type="string" minOccurs="0">
+				<annotation>
+					<documentation>Optional human friendly description of this data product.</documentation>
+				</annotation>
+			</element>
+			<element name="annotation" type="anyType" minOccurs="0">
+				<annotation>
+					<documentation>Optional additional metadata for this data product.</documentation>
+				</annotation>
+			</element>
 		</sequence>
-	    </extension>
-	</complexContent>
-    </complexType>
+	</complexType>
+
+	<complexType name="DataProductNotificationType">
+		<complexContent>
+			<extension base="wft:BaseNotificationType">
+				<sequence>
+					<element name="dataProduct" type="wft:DataProductType" minOccurs="0" maxOccurs="unbounded" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
+
+	<!-- sent when a file is used by the jython app. -->
+	<element name="dataConsumed" type="wft:DataProductNotificationType" />
+
+	<!-- sent when a file is generated by the jython app. -->
+	<element name="dataProduced" type="wft:DataProductNotificationType" />
+
+
+	<!-- ========================================================================================== -->
+	<!-- performance audit types -->
+	<!-- ========================================================================================== -->
+
+
+	<!-- sent when the application launches a GRAM job, to facilitate -->
+	<!-- auditing and accounting of TeraGrid jobs -->
+	<!-- SJ The type name needed Type added at the end -->
+	<complexType name="ApplicationAuditType">
+		<complexContent>
+			<extension base="wft:BaseNotificationType">
+				<sequence>
+					<element name="name" type="string" />
+					<element name="jobHandle" type="anyURI" />
+					<element name="host" type="string" />
+					<element name="queueName" type="string" minOccurs="0" />
+					<element name="jobId" type="string" minOccurs="0" />
+					<element name="distinguishedName" type="string" />
+					<element name="projectId" type="string" minOccurs="0" />
+					<element name="rsl" type="string" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
+
+	<element name="applicationAudit" type="wft:ApplicationAuditType" />
+
+
+	<!-- sent at the end of a computational block in the jython app -->
+	<!-- with the time in milliseconds taken for that computational block -->
+	<element name="computationDuration">
+		<complexType>
+			<complexContent>
+				<extension base="wft:BaseNotificationType">
+					<sequence>
+						<element name="durationInMillis" type="long" />
+					</sequence>
+				</extension>
+			</complexContent>
+		</complexType>
+	</element>
+
+	<!-- sent at the end of sending a file to remote location (thro' gridftp?) by the jython app -->
+	<!-- with the time in milliseconds taken to send that file -->
+	<!-- TODO: later add support for time for multiple files in a single notification? -->
+	<complexType name="DataTransferDurationType">
+		<complexContent>
+			<extension base="wft:BaseNotificationType">
+				<sequence>
+					<element name="id" type="wft:DataProductIDType" />
+					<element name="source" type="anyURI" />
+					<element name="target" type="anyURI" />
+					<element name="sizeInBytes" type="long" minOccurs="0" default="-1" />
+					<element name="durationInMillis" type="long" default="-1" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
+
+	<element name="dataSendDuration" type="wft:DataTransferDurationType" />
+	<element name="dataReceiveDuration" type="wft:DataTransferDurationType" />
+
+	<!-- ========================================================================================== -->
+	<!-- generic log message types -->
+	<!-- ========================================================================================== -->
+
+
+	<!-- sent when an interesting file is created by the jython app that can be viewed thro' a URL -->
+	<!-- used to display as a link on the portal -->
+	<element name="publishURL">
+		<complexType>
+			<complexContent>
+				<extension base="wft:BaseNotificationType">
+					<sequence>
+						<element name="title" type="string" minOccurs="0" />
+						<element name="location" type="anyURI" />
+					</sequence>
+				</extension>
+			</complexContent>
+		</complexType>
+	</element>
+
+	<!-- generic log message at different levels of importance that can be produced by the jython app -->
+	<element name="logInfo" type="wft:BaseNotificationType" />
+	<element name="logException" type="wft:BaseNotificationType" />
+	<element name="logWarning" type="wft:BaseNotificationType" />
+	<element name="logDebug" type="wft:BaseNotificationType" />
+
+
+	<!-- ========================================================================================== -->
+	<!-- resource broker message types -->
+	<!-- ========================================================================================== -->
+
+	<complexType name="ResourceMappingType">
+		<complexContent>
+			<extension base="wft:BaseNotificationType">
+				<sequence>
+					<element name="mappedResource" type="string" />
+					<element name="retryStatusCount" type="int" default="0" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
+
+	<complexType name="JobStatusType">
+		<complexContent>
+			<extension base="wft:BaseNotificationType">
+				<sequence>
+					<element name="jobStatus" type="string" />
+					<element name="retryCount" type="int" default="0" />
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
 
-    <element name="resourceMapping" type="wft:ResourceMappingType" />
-    <element name="jobStatus" type="wft:JobStatusType" />
+	<element name="resourceMapping" type="wft:ResourceMappingType" />
+	<element name="jobStatus" type="wft:JobStatusType" />
 
 </schema>

Modified: incubator/airavata/trunk/modules/commons/workflow-tracking/schemas/workflow_tracking_types.xsdconfig
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/workflow-tracking/schemas/workflow_tracking_types.xsdconfig?rev=1197986&r1=1197985&r2=1197986&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/workflow-tracking/schemas/workflow_tracking_types.xsdconfig (original)
+++ incubator/airavata/trunk/modules/commons/workflow-tracking/schemas/workflow_tracking_types.xsdconfig Sat Nov  5 16:47:49 2011
@@ -1,3 +1,11 @@
+<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file 
+	distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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. -->
+
 <!-- An xsdconfig file must begin with a "config" element in the
         http://www.bea.com/2002/09/xbean/config namespace. Also, be sure
         to declare any namespaces used to qualify types in your schema (here,

Modified: incubator/airavata/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/pom.xml?rev=1197986&r1=1197985&r2=1197986&view=diff
==============================================================================
--- incubator/airavata/trunk/pom.xml (original)
+++ incubator/airavata/trunk/pom.xml Sat Nov  5 16:47:49 2011
@@ -1,244 +1,241 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor 
-    license agreements. See the NOTICE file distributed with this work for additional 
-    information regarding copyright ownership. The ASF licenses this file to 
-    you 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. -->
+<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file 
+	distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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. -->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.apache.airavata</groupId>
-    <artifactId>airavata</artifactId>
-    <version>0.0.1-SNAPSHOT</version>
-    <packaging>pom</packaging>
-    <name>Airavata</name>
-    <url>http://incubator.apache.org/airavata/</url>
-
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-        <airavata.version>0.0.1-SNAPSHOT</airavata.version>
-        <axis2.version>1.5.1</axis2.version>
-        <derby.version>10.7.1.1</derby.version>
-        <jackrabbit.version>2.2.7</jackrabbit.version>
-        <logback.version>0.9.20</logback.version>
-        <org.slf4j.version>1.6.1</org.slf4j.version>
-        <log4j.version>1.2.16</log4j.version>
-        <axiom.version>1.2.8</axiom.version>
-        <surefire.version>2.10</surefire.version>
-    </properties>
-
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>org.slf4j</groupId>
-                <artifactId>slf4j-api</artifactId>
-                <version>${org.slf4j.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.axis2</groupId>
-                <artifactId>axis2</artifactId>
-                <version>${axis2.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>log4j</groupId>
-                <artifactId>log4j</artifactId>
-                <version>${log4j.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>javax.jcr</groupId>
-                <artifactId>jcr</artifactId>
-                <version>2.0</version>
-            </dependency>
-            <dependency>
-                <groupId>xmlbeans</groupId>
-                <artifactId>xbean</artifactId>
-                <version>2.5.0</version>
-            </dependency>
-            <dependency>
-                <groupId>junit</groupId>
-                <artifactId>junit</artifactId>
-                <version>4.7</version>
-            </dependency>
-            <dependency>
-                <groupId>xerces</groupId>
-                <artifactId>xercesImpl</artifactId>
-                <version>2.9.1</version>
-            </dependency>
-            <dependency>
-                <groupId>xpp3</groupId>
-                <artifactId>xpp3</artifactId>
-                <version>1.1.3_7</version>
-            </dependency>
-            <dependency>
-                <groupId>org.slf4j</groupId>
-                <artifactId>slf4j-simple</artifactId>
-                <version>${org.slf4j.version}</version>
-            </dependency>
-
-            <dependency>
-                <groupId>xsul</groupId>
-                <artifactId>xsul</artifactId>
-                <version>2.10.5_b</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.jackrabbit</groupId>
-                <artifactId>jackrabbit-core</artifactId>
-                <version>${jackrabbit.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.jackrabbit</groupId>
-                <artifactId>jackrabbit-jcr-rmi</artifactId>
-                <version>${jackrabbit.version}</version>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-    <repositories>
-        <repository>
-            <name>ogce.m2.all</name>
-            <id>ogce.m2.all</id>
-            <url>http://community.ucs.indiana.edu:9090/archiva/repository/ogce.m2.all</url>
-            <snapshots>
-                <updatePolicy>daily</updatePolicy>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>m2-snapshot-repository</id>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-            </releases>
-            <snapshots>
-                <enabled>false</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>ibiblio</id>
-            <name>ibiblio Repository</name>
-            <url>http://mirrors.ibiblio.org/pub/mirrors/maven2
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>org.apache.airavata</groupId>
+	<artifactId>airavata</artifactId>
+	<version>0.0.1-SNAPSHOT</version>
+	<packaging>pom</packaging>
+	<name>Airavata</name>
+	<url>http://incubator.apache.org/airavata/</url>
+
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+		<airavata.version>0.0.1-SNAPSHOT</airavata.version>
+		<axis2.version>1.5.1</axis2.version>
+		<derby.version>10.7.1.1</derby.version>
+		<jackrabbit.version>2.2.7</jackrabbit.version>
+		<logback.version>0.9.20</logback.version>
+		<org.slf4j.version>1.6.1</org.slf4j.version>
+		<log4j.version>1.2.16</log4j.version>
+		<axiom.version>1.2.8</axiom.version>
+		<surefire.version>2.10</surefire.version>
+	</properties>
+
+	<dependencyManagement>
+		<dependencies>
+			<dependency>
+				<groupId>org.slf4j</groupId>
+				<artifactId>slf4j-api</artifactId>
+				<version>${org.slf4j.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.axis2</groupId>
+				<artifactId>axis2</artifactId>
+				<version>${axis2.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>log4j</groupId>
+				<artifactId>log4j</artifactId>
+				<version>${log4j.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>javax.jcr</groupId>
+				<artifactId>jcr</artifactId>
+				<version>2.0</version>
+			</dependency>
+			<dependency>
+				<groupId>xmlbeans</groupId>
+				<artifactId>xbean</artifactId>
+				<version>2.5.0</version>
+			</dependency>
+			<dependency>
+				<groupId>junit</groupId>
+				<artifactId>junit</artifactId>
+				<version>4.7</version>
+			</dependency>
+			<dependency>
+				<groupId>xerces</groupId>
+				<artifactId>xercesImpl</artifactId>
+				<version>2.9.1</version>
+			</dependency>
+			<dependency>
+				<groupId>xpp3</groupId>
+				<artifactId>xpp3</artifactId>
+				<version>1.1.3_7</version>
+			</dependency>
+			<dependency>
+				<groupId>org.slf4j</groupId>
+				<artifactId>slf4j-simple</artifactId>
+				<version>${org.slf4j.version}</version>
+			</dependency>
+
+			<dependency>
+				<groupId>xsul</groupId>
+				<artifactId>xsul</artifactId>
+				<version>2.10.5_b</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.jackrabbit</groupId>
+				<artifactId>jackrabbit-core</artifactId>
+				<version>${jackrabbit.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.jackrabbit</groupId>
+				<artifactId>jackrabbit-jcr-rmi</artifactId>
+				<version>${jackrabbit.version}</version>
+			</dependency>
+		</dependencies>
+	</dependencyManagement>
+	<repositories>
+		<repository>
+			<name>ogce.m2.all</name>
+			<id>ogce.m2.all</id>
+			<url>http://community.ucs.indiana.edu:9090/archiva/repository/ogce.m2.all</url>
+			<snapshots>
+				<updatePolicy>daily</updatePolicy>
+			</snapshots>
+		</repository>
+		<repository>
+			<id>m2-snapshot-repository</id>
+			<url>http://people.apache.org/repo/m2-snapshot-repository</url>
+			<releases>
+			</releases>
+			<snapshots>
+				<enabled>false</enabled>
+			</snapshots>
+		</repository>
+		<repository>
+			<id>ibiblio</id>
+			<name>ibiblio Repository</name>
+			<url>http://mirrors.ibiblio.org/pub/mirrors/maven2
             </url>
-        </repository>
-        <repository>
-            <id>maven 2 java.net</id>
-            <name>2 java.net Maven Repository</name>
-            <url>http://download.java.net/maven/2/
+		</repository>
+		<repository>
+			<id>maven 2 java.net</id>
+			<name>2 java.net Maven Repository</name>
+			<url>http://download.java.net/maven/2/
             </url>
-            <layout>default</layout>
-        </repository>
-        <repository>
-            <id>apache-repo</id>
-            <name>Apache Yfilter repo</name>
-            <url>http://people.apache.org/~lahiru/maven-repo</url>
-        </repository>
-        <repository>
-            <id>OW2</id>
-            <name>OW2 Repository</name>
-            <url>http://maven.ow2.org/maven2</url>
-        </repository>
-    </repositories>
-    <profiles>
-        <profile>
-            <id>profile-test-suite</id>
-            <activation>
-                <property>
-                    <name>module</name>
-                    <value>test-suite</value>
-                </property>
-            </activation>
-            <modules>
-                <module>modules/test-suite</module>
-            </modules>
-        </profile>
-        <profile>
-            <id>profile-gfac</id>
-            <activation>
-                <property>
-                    <name>module</name>
-                    <value>gfac</value>
-                </property>
-            </activation>
-            <modules>
-                <module>modules/gfac-core</module>
-                <module>modules/gfac-axis2</module>
-                <module>modules/commons</module>
-            </modules>
-        </profile>
-        <profile>
-            <id>profile-wsmessaging</id>
-            <activation>
-                <property>
-                    <name>module</name>
-                    <value>wsmessaging</value>
-                </property>
-            </activation>
-            <modules>
-                <module>modules/ws-messenger</module>
-            </modules>
-        </profile>
-        <profile>
-            <id>profile-workflow-interpreter</id>
-            <activation>
-                <property>
-                    <name>module</name>
-                    <value>workflow-interpreter</value>
-                </property>
-            </activation>
-            <modules>
-                <module>modules/commons</module>
-                <module>modules/ws-messenger</module>
-                <module>modules/xbaya-gui</module>
-                <module>modules/workflow-interpreter</module>
-            </modules>
-        </profile>
-
-        <profile>
-            <id>profile-workflow-tracking</id>
-            <activation>
-                <property>
-                    <name>module</name>
-                    <value>workflow-tracking</value>
-                </property>
-            </activation>
-            <modules>
-                <module>modules/commons</module>
-            </modules>
-        </profile>
-
-        <profile>
-            <id>profile-xbaya</id>
-            <activation>
-                <property>
-                    <name>module</name>
-                    <value>xbaya</value>
-                </property>
-            </activation>
-            <modules>
-                <module>modules/commons</module>
-                <module>modules/xbaya-gui</module>
-            </modules>
-        </profile>
-        <profile>
-            <id>default</id>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-            </activation>
-            <modules>
-                <module>modules/gfac-core</module>
-                <module>modules/gfac-axis2</module>
-                <module>modules/ws-messenger</module>
-                <module>modules/xbaya-gui</module>
-                <module>modules/commons</module>
-	        <module>samples/simple-math-service</module>
-                <module>modules/distribution</module>
-                <module>modules/test-suite</module>
-            </modules>
-        </profile>
-    </profiles>
+			<layout>default</layout>
+		</repository>
+		<repository>
+			<id>apache-repo</id>
+			<name>Apache Yfilter repo</name>
+			<url>http://people.apache.org/~lahiru/maven-repo</url>
+		</repository>
+		<repository>
+			<id>OW2</id>
+			<name>OW2 Repository</name>
+			<url>http://maven.ow2.org/maven2</url>
+		</repository>
+	</repositories>
+	<profiles>
+		<profile>
+			<id>profile-test-suite</id>
+			<activation>
+				<property>
+					<name>module</name>
+					<value>test-suite</value>
+				</property>
+			</activation>
+			<modules>
+				<module>modules/test-suite</module>
+			</modules>
+		</profile>
+		<profile>
+			<id>profile-gfac</id>
+			<activation>
+				<property>
+					<name>module</name>
+					<value>gfac</value>
+				</property>
+			</activation>
+			<modules>
+				<module>modules/gfac-core</module>
+				<module>modules/gfac-axis2</module>
+				<module>modules/commons</module>
+			</modules>
+		</profile>
+		<profile>
+			<id>profile-wsmessaging</id>
+			<activation>
+				<property>
+					<name>module</name>
+					<value>wsmessaging</value>
+				</property>
+			</activation>
+			<modules>
+				<module>modules/ws-messenger</module>
+			</modules>
+		</profile>
+		<profile>
+			<id>profile-workflow-interpreter</id>
+			<activation>
+				<property>
+					<name>module</name>
+					<value>workflow-interpreter</value>
+				</property>
+			</activation>
+			<modules>
+				<module>modules/commons</module>
+				<module>modules/ws-messenger</module>
+				<module>modules/xbaya-gui</module>
+				<module>modules/workflow-interpreter</module>
+			</modules>
+		</profile>
+
+		<profile>
+			<id>profile-workflow-tracking</id>
+			<activation>
+				<property>
+					<name>module</name>
+					<value>workflow-tracking</value>
+				</property>
+			</activation>
+			<modules>
+				<module>modules/commons</module>
+			</modules>
+		</profile>
+
+		<profile>
+			<id>profile-xbaya</id>
+			<activation>
+				<property>
+					<name>module</name>
+					<value>xbaya</value>
+				</property>
+			</activation>
+			<modules>
+				<module>modules/commons</module>
+				<module>modules/xbaya-gui</module>
+			</modules>
+		</profile>
+		<profile>
+			<id>default</id>
+			<activation>
+				<activeByDefault>true</activeByDefault>
+			</activation>
+			<modules>
+				<module>modules/gfac-core</module>
+				<module>modules/gfac-axis2</module>
+				<module>modules/ws-messenger</module>
+				<module>modules/xbaya-gui</module>
+				<module>modules/commons</module>
+				<module>samples/simple-math-service</module>
+				<module>modules/distribution</module>
+				<module>modules/test-suite</module>
+			</modules>
+		</profile>
+	</profiles>
 </project>