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 20:36:08 UTC

svn commit: r1198032 - in /incubator/airavata/trunk/modules: commons/ xbaya-gui/src/main/resources/wsdls/ xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/

Author: smarru
Date: Sat Nov  5 19:36:08 2011
New Revision: 1198032

URL: http://svn.apache.org/viewvc?rev=1198032&view=rev
Log:
Adding missing license header to address AIRAVATA-188

Modified:
    incubator/airavata/trunk/modules/commons/pom.xml
    incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/TestCMD_Example1_AWSDL.xml
    incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/adder-awsdl.xml
    incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/eventing.wsdl
    incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/RegistryServiceTest.java

Modified: incubator/airavata/trunk/modules/commons/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/pom.xml?rev=1198032&r1=1198031&r2=1198032&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/pom.xml (original)
+++ incubator/airavata/trunk/modules/commons/pom.xml Sat Nov  5 19:36:08 2011
@@ -1,97 +1,106 @@
 <?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. -->
+
 <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">
+
+	<parent>
+		<groupId>org.apache.airavata</groupId>
+		<artifactId>airavata</artifactId>
+		<version>0.0.1-SNAPSHOT</version>
+		<relativePath>../../pom.xml</relativePath>
+	</parent>
+
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>commons</artifactId>
+	<groupId>org.apache.airavata</groupId>
+	<packaging>pom</packaging>
+	<name>Airavata Commons</name>
+	<url>http://www.airavata.org</url>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<version>2.0.2</version>
+				<configuration>
+					<source>1.5</source>
+					<target>1.5</target>
+				</configuration>
+			</plugin>
+
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-surefire-plugin</artifactId>
+				<configuration>
+					<skipTests>false</skipTests>
+				</configuration>
+				<version>${surefire.version}</version>
+			</plugin>
+		</plugins>
+	</build>
+	<profiles>
+		<profile>
+			<id>profile-workflow-tracking</id>
+			<activation>
+				<property>
+					<name>module</name>
+					<value>workflow-tracking</value>
+				</property>
+			</activation>
+			<modules>
+				<module>workflow-tracking</module>
+			</modules>
+		</profile>
+		<profile>
+			<id>profile-xbaya</id>
+			<activation>
+				<property>
+					<name>module</name>
+					<value>xbaya</value>
+				</property>
+			</activation>
+			<modules>
+				<module>workflow-tracking</module>
+			</modules>
+		</profile>
+		<profile>
+			<id>profile-gfac</id>
+			<activation>
+				<property>
+					<name>module</name>
+					<value>gfac</value>
+				</property>
+			</activation>
+			<modules>
+				<module>gfac-schema</module>
+			</modules>
+		</profile>
 
-    <parent>
-        <groupId>org.apache.airavata</groupId>
-        <artifactId>airavata</artifactId>
-        <version>0.0.1-SNAPSHOT</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>commons</artifactId>
-    <groupId>org.apache.airavata</groupId>
-    <packaging>pom</packaging>
-    <name>Airavata Commons</name>
-    <url>http://www.airavata.org</url>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.0.2</version>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <configuration>
-                    <skipTests>false</skipTests>
-                </configuration>
-                <version>${surefire.version}</version>
-            </plugin>
-        </plugins>
-    </build>
-    <profiles>
-        <profile>
-            <id>profile-workflow-tracking</id>
-            <activation>
-                <property>
-                    <name>module</name>
-                    <value>workflow-tracking</value>
-                </property>
-            </activation>
-            <modules>
-                <module>workflow-tracking</module>
-            </modules>
-        </profile>
-        <profile>
-            <id>profile-xbaya</id>
-            <activation>
-                <property>
-                    <name>module</name>
-                    <value>xbaya</value>
-                </property>
-            </activation>
-            <modules>
-                <module>workflow-tracking</module>
-            </modules>
-        </profile>
-        <profile>
-            <id>profile-gfac</id>
-            <activation>
-                <property>
-                    <name>module</name>
-                    <value>gfac</value>
-                </property>
-            </activation>
-            <modules>
-                <module>gfac-schema</module>
-            </modules>
-        </profile>
-
-        <profile>
-            <id>default</id>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-            </activation>
-            <modules>
-                <module>workflow-tracking</module>
-                <module>gfac-schema</module>
-                <module>utils</module>
-                <module>registry-api</module>
-		<module>workflow-execution-context</module>
-            </modules>
-        </profile>
-    </profiles>
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-    </properties>
+		<profile>
+			<id>default</id>
+			<activation>
+				<activeByDefault>true</activeByDefault>
+			</activation>
+			<modules>
+				<module>workflow-tracking</module>
+				<module>gfac-schema</module>
+				<module>utils</module>
+				<module>registry-api</module>
+				<module>workflow-execution-context</module>
+			</modules>
+		</profile>
+	</profiles>
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+	</properties>
 </project>

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/TestCMD_Example1_AWSDL.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/TestCMD_Example1_AWSDL.xml?rev=1198032&r1=1198031&r2=1198032&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/TestCMD_Example1_AWSDL.xml (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/TestCMD_Example1_AWSDL.xml Sat Nov  5 19:36:08 2011
@@ -1,47 +1,56 @@
 <?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. -->
+
 <wsdl:definitions name="TestCMD_Example1" targetNamespace="http://www.extreme.indiana.edu/lead"
-    xmlns:typens="http://www.extreme.indiana.edu/lead/TestCMD_Example1/xsd" xmlns:wsdlns="http://www.extreme.indiana.edu/lead" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
-  <wsdl:types>
-<schema elementFormDefault="unqualified" targetNamespace="http://www.extreme.indiana.edu/lead/TestCMD_Example1/xsd" xmlns="http://www.w3.org/2001/XMLSchema">
-      <element name="Run_InputParams" type="typens:Run_InputParamsType" />
-      <complexType name="Run_InputParamsType">
-        <sequence>
-          <element name="InputParam1" type="xsd:int">
-            <annotation>
-              <documentation>An input parameter</documentation>
-              <metadata />
-            </annotation>
-          </element>
-        </sequence>
-      </complexType>
-      <element name="Run_OutputParams" type="typens:Run_OutputParamsType" />
-      <complexType name="Run_OutputParamsType">
-        <sequence>
-          <element name="OutputParam1" type="xsd:string">
-            <annotation>
-              <documentation>An output parameter</documentation>
-            </annotation>
-          </element>
-        </sequence>
-      </complexType>
-    </schema>
-  </wsdl:types>
-  <wsdl:message name="Run_RequestMessage">
-    <wsdl:part name="parameters" element="typens:Run_InputParams" />
-  </wsdl:message>
-  <wsdl:message name="Run_ResponseMessage">
-    <wsdl:part name="parameters" element="typens:Run_OutputParams" />
-  </wsdl:message>
-  <wsdl:portType name="TestCMD_Example1">
-<wsdl:documentation />
-    <wsdl:operation name="Run">
-<wsdl:documentation>Run the service</wsdl:documentation>
-      <wsdl:input name="Run_RequestMessage" message="wsdlns:Run_RequestMessage" />
-      <wsdl:output name="Run_ResponseMessage" message="wsdlns:Run_ResponseMessage" />
-    </wsdl:operation>
-  </wsdl:portType>
-    <n:factoryServices
-      xmlns:n="http://www.extreme.indiana.edu/namespaces/2004/01/gFac">
-    <n:factoryService location="http://rainier.extreme.indiana.edu:12345" operation="n:CreateService" portType="n:GenericFactory" />
-  </n:factoryServices>
+	xmlns:typens="http://www.extreme.indiana.edu/lead/TestCMD_Example1/xsd" xmlns:wsdlns="http://www.extreme.indiana.edu/lead"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+	<wsdl:types>
+		<schema elementFormDefault="unqualified" targetNamespace="http://www.extreme.indiana.edu/lead/TestCMD_Example1/xsd"
+			xmlns="http://www.w3.org/2001/XMLSchema">
+			<element name="Run_InputParams" type="typens:Run_InputParamsType" />
+			<complexType name="Run_InputParamsType">
+				<sequence>
+					<element name="InputParam1" type="xsd:int">
+						<annotation>
+							<documentation>An input parameter</documentation>
+						</annotation>
+					</element>
+				</sequence>
+			</complexType>
+			<element name="Run_OutputParams" type="typens:Run_OutputParamsType" />
+			<complexType name="Run_OutputParamsType">
+				<sequence>
+					<element name="OutputParam1" type="xsd:string">
+						<annotation>
+							<documentation>An output parameter</documentation>
+						</annotation>
+					</element>
+				</sequence>
+			</complexType>
+		</schema>
+	</wsdl:types>
+	<wsdl:message name="Run_RequestMessage">
+		<wsdl:part name="parameters" element="typens:Run_InputParams" />
+	</wsdl:message>
+	<wsdl:message name="Run_ResponseMessage">
+		<wsdl:part name="parameters" element="typens:Run_OutputParams" />
+	</wsdl:message>
+	<wsdl:portType name="TestCMD_Example1">
+		<wsdl:documentation />
+		<wsdl:operation name="Run">
+			<wsdl:documentation>Run the service</wsdl:documentation>
+			<wsdl:input name="Run_RequestMessage" message="wsdlns:Run_RequestMessage" />
+			<wsdl:output name="Run_ResponseMessage" message="wsdlns:Run_ResponseMessage" />
+		</wsdl:operation>
+	</wsdl:portType>
+	<n:factoryServices xmlns:n="http://www.extreme.indiana.edu/namespaces/2004/01/gFac">
+		<n:factoryService location="http://rainier.extreme.indiana.edu:12345" operation="n:CreateService"
+			portType="n:GenericFactory" />
+	</n:factoryServices>
 </wsdl:definitions>

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/adder-awsdl.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/adder-awsdl.xml?rev=1198032&r1=1198031&r2=1198032&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/adder-awsdl.xml (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/adder-awsdl.xml Sat Nov  5 19:36:08 2011
@@ -1,51 +1,63 @@
-<?xml version="1.0"?><definitions name="Adder" targetNamespace="http://www.extreme.indiana.edu/math/" xmlns:tns="http://www.extreme.indiana.edu/math/"
-  xmlns:typens="http://www.extreme.indiana.edu/math/adder/xsd/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
+<?xml version="1.0" encoding="UTF-8"?>
 
-  <documentation xml:lang="en">A service for adding two numbers</documentation>
+<!--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. -->
 
-  <types>
-    <schema elementFormDefault="unqualified" targetNamespace="http://www.extreme.indiana.edu/math/adder/xsd/" xmlns="http://www.w3.org/2001/XMLSchema">
-      <element name="AddInput" type="typens:AddInputType" />
-      <complexType name="AddInputType">
-        <sequence>
-          <element name="x" type="xsd:int">
-            <annotation>
-              <documentation xml:lang="en">This is the first input</documentation>
-            </annotation>
-          </element>
-          <element name="y" type="xsd:int">
-            <annotation>
-              <documentation xml:lang="en">This is the second input</documentation>
-            </annotation>
-          </element>
-        </sequence>
-      </complexType>
-      <element name="AddOutput" type="typens:AddOutputType" />
-      <complexType name="AddOutputType">
-        <sequence>
-          <element name="z" type="xsd:int">
-            <annotation>
-              <documentation xml:lang="en">This is the result</documentation>
-            </annotation>
-          </element>
-        </sequence>
-      </complexType>
-    </schema>
-  </types>
-  
-  <message name="AddInputMessage">
-    <part name="AddInputMessagePart" element="typens:AddInput" />
-  </message>
-  <message name="AddOutputMessage">
-    <part name="AddOutputMessagePart" element="typens:AddOutput" />
-  </message>
-
-  <portType name="Adder">
-    <documentation xml:lang="en" />
-    <operation name="add">
-      <documentation xml:lang="en">Run the adder</documentation>
-      <input name="AddInput" message="tns:AddInputMessage" />
-      <output name="AddOutput" message="tns:AddOutputMessage" />
-    </operation>
-  </portType>
+<definitions name="Adder" targetNamespace="http://www.extreme.indiana.edu/math/" xmlns:tns="http://www.extreme.indiana.edu/math/"
+	xmlns:typens="http://www.extreme.indiana.edu/math/adder/xsd/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+	xmlns="http://schemas.xmlsoap.org/wsdl/">
+
+	<documentation xml:lang="en">A service for adding two numbers</documentation>
+
+	<types>
+		<schema elementFormDefault="unqualified" targetNamespace="http://www.extreme.indiana.edu/math/adder/xsd/"
+			xmlns="http://www.w3.org/2001/XMLSchema">
+			<element name="AddInput" type="typens:AddInputType" />
+			<complexType name="AddInputType">
+				<sequence>
+					<element name="x" type="xsd:int">
+						<annotation>
+							<documentation xml:lang="en">This is the first input</documentation>
+						</annotation>
+					</element>
+					<element name="y" type="xsd:int">
+						<annotation>
+							<documentation xml:lang="en">This is the second input</documentation>
+						</annotation>
+					</element>
+				</sequence>
+			</complexType>
+			<element name="AddOutput" type="typens:AddOutputType" />
+			<complexType name="AddOutputType">
+				<sequence>
+					<element name="z" type="xsd:int">
+						<annotation>
+							<documentation xml:lang="en">This is the result</documentation>
+						</annotation>
+					</element>
+				</sequence>
+			</complexType>
+		</schema>
+	</types>
+
+	<message name="AddInputMessage">
+		<part name="AddInputMessagePart" element="typens:AddInput" />
+	</message>
+	<message name="AddOutputMessage">
+		<part name="AddOutputMessagePart" element="typens:AddOutput" />
+	</message>
+
+	<portType name="Adder">
+		<documentation xml:lang="en" />
+		<operation name="add">
+			<documentation = en ">Run the adder</documentation>
+			<input name="AddInput" message="tns:AddInputMessage" />
+			<output name="AddOutput" message="tns:AddOutputMessage" />
+		</operation>
+	</portType>
 </definitions>
\ No newline at end of file

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/eventing.wsdl
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/eventing.wsdl?rev=1198032&r1=1198031&r2=1198032&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/eventing.wsdl (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/resources/wsdls/eventing.wsdl Sat Nov  5 19:36:08 2011
@@ -1,403 +1,332 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- 
-(c) 2004 BEA Systems Inc., International Business Machines Corporation, Microsoft Corporation, Inc, Sun Microsytems, Inc, and TIBCO Software Inc. All rights reserved.
-
-BEA Systems Inc., International Business Machines Corporation, Microsoft Corporation, Inc, Sun Microsystems, Inc, and TIBCO Software Inc (collectively, the "Authors") hereby grant you permission to copy and display the WS-Eventing Specification (the "Specification", which includes WSDL and schema documents), in any medium without fee or royalty, provided that you include the following on ALL copies of the Specification, that you make:
-
-1.	A link or URL to the WS-Eventing Specification at one of the Authors' websites 
-2.	The copyright notice as shown in the WS-Eventing Specification. 
-
-BEA, IBM, Microsoft, Sun, and TIBCO (collectively, the "Authors") each agree to grant you a license, under royalty-free and otherwise reasonable, non-discriminatory terms and conditions, to their respective essential patent claims that they deem necessary to implement the Specification. 
-
-THE SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. 
-
-THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION. 
-
-The name and trademarks of the Authors may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with the Authors. 
-
-No other rights are granted by implication, estoppel or otherwise.
--->
-<wsdl:definitions
-    targetNamespace='http://schemas.xmlsoap.org/ws/2004/08/eventing'
-    xmlns:wse='http://schemas.xmlsoap.org/ws/2004/08/eventing'
-    xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
-    xmlns:xs='http://www.w3.org/2001/XMLSchema' >
-
-  <wsdl:types>
-<!--
-    <xs:schema
-        targetNamespace='http://schemas.xmlsoap.org/ws/2004/08/eventing' >
-      <xs:include schemaLocation='eventing.xsd' />
-    </xs:schema>
--->
-
-<!-- 
-(c) 2004 BEA Systems Inc., International Business Machines Corporation, Microsoft Corporation, Inc, Sun Microsystems, Inc, and TIBCO Software Inc. All rights reserved.
-
-BEA Systems Inc., International Business Machines Corporation, Microsoft Corporation, Inc, Sun Microsystems, Inc, and TIBCO Software Inc (collectively, the "Authors") hereby grant you permission to copy and display the WS-Eventing Specification (the "Specification", which includes WSDL and schema documents), in any medium without fee or royalty, provided that you include the following on ALL copies of the Specification, that you make:
-
-1.	A link or URL to the WS-Eventing Specification at one of the Authors' websites 
-2.	The copyright notice as shown in the WS-Eventing Specification. 
-
-BEA, IBM, Microsoft, Sun, and TIBCO (collectively, the "Authors") each agree to grant you a license, under royalty-free and otherwise reasonable, non-discriminatory terms and conditions, to their respective essential patent claims that they deem necessary to implement the Specification. 
-
-THE SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. 
-
-THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION. 
-
-The name and trademarks of the Authors may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with the Authors. 
-
-No other rights are granted by implication, estoppel or otherwise.
--->
-<xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/eventing" xmlns:tns="http://schemas.xmlsoap.org/ws/2004/08/eventing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" blockDefault="#all">
-  
-  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
-
-  <xs:import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" schemaLocation="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
-
-  <!-- Types and global elements -->
-  <xs:complexType name="DeliveryType" mixed="true">
-    <xs:sequence>
-      <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="Mode" type="xs:anyURI" use="optional"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-  </xs:complexType>
-
-  <xs:element name="NotifyTo" type="wsa:EndpointReferenceType"/>
-
-  <xs:simpleType name="NonNegativeDurationType">
-    <xs:restriction base="xs:duration">
-      <xs:minInclusive value="P0Y0M0DT0H0M0S"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="ExpirationType">
-      <xs:union memberTypes="xs:dateTime tns:NonNegativeDurationType"/>
-  </xs:simpleType>
-
-  <xs:complexType name="FilterType" mixed="true">
-    <xs:sequence>
-      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="Dialect" type="xs:anyURI" use="optional"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-  </xs:complexType>
-
-  <xs:complexType name="LanguageSpecificStringType">
-    <xs:simpleContent>
-      <xs:extension base="xs:string">
-        <xs:attribute ref="xml:lang"/>
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:extension>
-    </xs:simpleContent>
-  </xs:complexType>
-
-  <!-- Subscribe request -->
-  <xs:element name="Subscribe">
-    <xs:complexType>
-      <xs:sequence>
-        <xs:element name="EndTo" type="wsa:EndpointReferenceType" minOccurs="0"/>
-        <xs:element name="Delivery" type="tns:DeliveryType"/>
-        <xs:element name="Expires" type="tns:ExpirationType" minOccurs="0"/>
-        <xs:element name="Filter" type="tns:FilterType" minOccurs="0"/>
-        <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-      <xs:anyAttribute namespace="##other" processContents="lax"/>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:element name="Identifier" type="xs:anyURI"/>
- 
-  <!-- Subscribe response -->
-  <xs:element name="SubscribeResponse">
-    <xs:complexType>
-      <xs:sequence>
-	  <xs:element name="SubscriptionManager" type="wsa:EndpointReferenceType"/>
-        <xs:element name="Expires" type="tns:ExpirationType"/>
-        <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-      <xs:anyAttribute namespace="##other" processContents="lax"/>
-    </xs:complexType>
-  </xs:element>
-
-  <!-- Used in a fault if there's an unsupported dialect -->
-  <xs:element name="SupportedDialect" type="xs:anyURI"/>
-
-  <!-- Used in a fault if there's an unsupported delivery mode -->
-  <xs:element name="SupportedDeliveryMode" type="xs:anyURI"/>
-
-  <!-- Renew request -->
-  <xs:element name="Renew">
-    <xs:complexType>
-      <xs:sequence>
-        <xs:element name="Expires" type="tns:ExpirationType" minOccurs="0"/>
-        <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-      <xs:anyAttribute namespace="##other" processContents="lax"/>
-    </xs:complexType>
-  </xs:element>
-
-  <!-- Renew response -->
-  <xs:element name="RenewResponse">
-    <xs:complexType>
-      <xs:sequence>
-        <xs:element name="Expires" type="tns:ExpirationType" minOccurs="0"/>
-        <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-      <xs:anyAttribute namespace="##other" processContents="lax"/>
-    </xs:complexType>
-  </xs:element>
-
-  <!-- GetStatus request -->
-  <xs:element name="GetStatus">
-    <xs:complexType>
-      <xs:sequence>
-        <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-      <xs:anyAttribute namespace="##other" processContents="lax"/>
-    </xs:complexType>
-  </xs:element>
-
-  <!-- GetStatus response -->
-  <xs:element name="GetStatusResponse">
-    <xs:complexType>
-      <xs:sequence>
-        <xs:element name="Expires" type="tns:ExpirationType" minOccurs="0"/>
-        <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-      <xs:anyAttribute namespace="##other" processContents="lax"/>
-    </xs:complexType>
-  </xs:element>
-
-  <!-- Unsubscribe request -->
-  <xs:element name="Unsubscribe">
-    <xs:complexType>
-      <xs:sequence>
-        <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-      <xs:anyAttribute namespace="##other" processContents="lax"/>
-    </xs:complexType>
-  </xs:element>
-
-  <!-- count(/s:Envelope/s:Body/*) = 0 for Unsubscribe response -->
-
-  <!-- SubscriptionEnd message -->
-  <xs:element name="SubscriptionEnd">
-    <xs:complexType>
-      <xs:sequence>
-        <xs:element name="SubscriptionManager" type="wsa:EndpointReferenceType"/>
-        <xs:element name="Status" type="tns:OpenSubscriptionEndCodeType"/>
-        <xs:element name="Reason" type="tns:LanguageSpecificStringType" minOccurs="0" maxOccurs="unbounded"/>
-        <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-      <xs:anyAttribute namespace="##other" processContents="lax"/>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:simpleType name="SubscriptionEndCodeType">
-    <xs:restriction base="xs:anyURI">
-      <xs:enumeration value="http://schemas.xmlsoap.org/ws/2004/08/eventing/DeliveryFailure"/>
-      <xs:enumeration value="http://schemas.xmlsoap.org/ws/2004/08/eventing/SourceShuttingDown"/>
-      <xs:enumeration value="http://schemas.xmlsoap.org/ws/2004/08/eventing/SourceCancelling"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="OpenSubscriptionEndCodeType">
-    <xs:union memberTypes="tns:SubscriptionEndCodeType xs:anyURI"/>
-  </xs:simpleType>
-
-  <xs:attribute name="EventSource" type="xs:boolean"/>
-
-</xs:schema>
-
-<!-- 
-Copyright © 2002-2004 BEA Systems Inc., International Business Machines Corporation, 
-Microsoft Corporation, Inc, SAP AG, and Sun Microsystems, Inc.. All rights reserved. 
-
-Permission to copy, display, perform, modify and distribute the WS-Addressing Specification, 
-and to authorize others to do the foregoing, in any medium without fee or royalty is hereby
-granted for the purpose of developing and evaluating the WS-Addressing Specification.
-
-BEA, IBM, Microsoft, SAP AG, and Sun Microsystems (collectively, the "Authors") each agree 
-to grant a license to third parties, under royalty-free  and otherwise reasonable, 
-non-discriminatory terms and conditions, to their respective essential patent claims that
-they deem necessary to implement the WS-Addressing Specification.
-
-DISCLAIMERS:
-
-THE WS-Addressing Specification IS PROVIDED "AS IS", AND THE AUTHORS MAKE NO REPRESENTATIONS
-OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF 
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE 
-CONTENTS OF THE WS-Addressing Specification IS SUITABLE FOR ANY PURPOSE; NOR THAT THE 
-IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, 
-TRADEMARKS OR OTHER RIGHTS.
-
-THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL 
-DAMAGES ARISING OUT OF ANY USE OF THE WS-Addressing Specification OR THE PERFORMANCE OR 
-IMPLEMENTATION OF THE CONTENTS THEREOF.
-
-You may remove these disclaimers from your modified versions of the WS-Addressing 
-Specification provided that you effectively disclaim all warranties and liabilities on behalf 
-of all copyright holders in the copies of any such modified versions you distribute.
-
-The name and trademarks of the Authors may NOT be used in any manner, including advertising 
-or publicity pertaining to the WS-Addressing Specification or its contents without specific, 
-written prior permission. Title to copyright in the WS-Addressing Specification will at all 
-times remain with the Authors.
-
-No other rights are granted by implication, estoppel or otherwise.
-
--->
-<xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" elementFormDefault="qualified" blockDefault="#all">
-  <!-- //////////////////// WS-Addressing //////////////////// -->
-  <!-- Endpoint reference -->
-  <xs:element name="EndpointReference" type="wsa:EndpointReferenceType"/>
-  <xs:complexType name="EndpointReferenceType">
-    <xs:sequence>
-      <xs:element name="Address" type="wsa:AttributedURI"/>
-      <xs:element name="ReferenceProperties" type="wsa:ReferencePropertiesType" minOccurs="0"/>
-      <xs:element name="ReferenceParameters" type="wsa:ReferenceParametersType" minOccurs="0"/>
-      <xs:element name="PortType" type="wsa:AttributedQName" minOccurs="0"/>
-      <xs:element name="ServiceName" type="wsa:ServiceNameType" minOccurs="0"/>
-      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
-        <xs:annotation>
-          <xs:documentation>
-					 If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements).
-					</xs:documentation>
-        </xs:annotation>
-      </xs:any>
-    </xs:sequence>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-  </xs:complexType>
-  <xs:complexType name="ReferencePropertiesType">
-    <xs:sequence>
-      <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-  </xs:complexType>
-  <xs:complexType name="ReferenceParametersType">
-    <xs:sequence>
-      <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-  </xs:complexType>
-  <xs:complexType name="ServiceNameType">
-    <xs:simpleContent>
-      <xs:extension base="xs:QName">
-        <xs:attribute name="PortName" type="xs:NCName"/>
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:extension>
-    </xs:simpleContent>
-  </xs:complexType>
-  <!-- Message information header blocks -->
-  <xs:element name="MessageID" type="wsa:AttributedURI"/>
-  <xs:element name="RelatesTo" type="wsa:Relationship"/>
-  <xs:element name="To" type="wsa:AttributedURI"/>
-  <xs:element name="Action" type="wsa:AttributedURI"/>
-  <xs:element name="From" type="wsa:EndpointReferenceType"/>
-  <xs:element name="ReplyTo" type="wsa:EndpointReferenceType"/>
-  <xs:element name="FaultTo" type="wsa:EndpointReferenceType"/>
-  <xs:complexType name="Relationship">
-    <xs:simpleContent>
-      <xs:extension base="xs:anyURI">
-        <xs:attribute name="RelationshipType" type="xs:QName" use="optional"/>
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:extension>
-    </xs:simpleContent>
-  </xs:complexType>
-  <xs:simpleType name="RelationshipTypeValues">
-    <xs:restriction base="xs:QName">
-      <xs:enumeration value="wsa:Reply"/>
-    </xs:restriction>
-  </xs:simpleType>
-  <xs:element name="ReplyAfter" type="wsa:ReplyAfterType"/>
-  <xs:complexType name="ReplyAfterType">
-    <xs:simpleContent>
-      <xs:extension base="xs:nonNegativeInteger">
-        <xs:anyAttribute namespace="##other"/>
-      </xs:extension>
-    </xs:simpleContent>
-  </xs:complexType>
-  <xs:simpleType name="FaultSubcodeValues">
-    <xs:restriction base="xs:QName">
-      <xs:enumeration value="wsa:InvalidMessageInformationHeader"/>
-      <xs:enumeration value="wsa:MessageInformationHeaderRequired"/>
-      <xs:enumeration value="wsa:DestinationUnreachable"/>
-      <xs:enumeration value="wsa:ActionNotSupported"/>
-      <xs:enumeration value="wsa:EndpointUnavailable"/>
-    </xs:restriction>
-  </xs:simpleType>
-  <xs:attribute name="Action" type="xs:anyURI"/>
-  <!-- Common declarations and definitions -->
-  <xs:complexType name="AttributedQName">
-    <xs:simpleContent>
-      <xs:extension base="xs:QName">
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:extension>
-    </xs:simpleContent>
-  </xs:complexType>
-  <xs:complexType name="AttributedURI">
-    <xs:simpleContent>
-      <xs:extension base="xs:anyURI">
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:extension>
-    </xs:simpleContent>
-  </xs:complexType>
-</xs:schema>
-
-  </wsdl:types>
-
-  <wsdl:message name='SubscribeMsg' >
-    <wsdl:part name='body' element='wse:Subscribe' />
-  </wsdl:message>
-  <wsdl:message name='SubscribeResponseMsg' >
-    <wsdl:part name='body' element='wse:SubscribeResponse' />
-  </wsdl:message>
-
-  <wsdl:message name='RenewMsg' >
-    <wsdl:part name='body' element='wse:Renew' />
-  </wsdl:message>
-  <wsdl:message name='RenewResponseMsg' >
-    <wsdl:part name='body' element='wse:RenewResponse' />
-  </wsdl:message>
-
-  <wsdl:message name='GetStatusMsg' >
-    <wsdl:part name='body' element='wse:GetStatus' />
-  </wsdl:message>
-  <wsdl:message name='GetStatusResponseMsg' >
-    <wsdl:part name='body' element='wse:GetStatusResponse' />
-  </wsdl:message>
-
-  <wsdl:message name='UnsubscribeMsg' >
-    <wsdl:part name='body' element='wse:Unsubscribe' />
-  </wsdl:message>
-  <wsdl:message name='UnsubscribeResponseMsg' />
-
-  <wsdl:message name='SubscriptionEnd' >
-    <wsdl:part name='body' element='wse:SubscriptionEnd' />
-  </wsdl:message>
-
-  <wsdl:portType name='EventSource' >
-    <wsdl:operation name='SubscribeOp' >
-      <wsdl:input message='wse:SubscribeMsg' />
-      <wsdl:output message='wse:SubscribeResponseMsg' />
-    </wsdl:operation>
-    <wsdl:operation name='SubscriptionEnd' >
-      <wsdl:output message='wse:SubscriptionEnd' />
-    </wsdl:operation>
-  </wsdl:portType>
-
-  <wsdl:portType name='SubscriptionManager' >
-    <wsdl:operation name='RenewOp' >
-      <wsdl:input message='wse:RenewMsg' />
-      <wsdl:output message='wse:RenewResponseMsg' />
-    </wsdl:operation>
-    <wsdl:operation name='GetStatusOp' >
-      <wsdl:input message='wse:GetStatusMsg' />
-      <wsdl:output message='wse:GetStatusResponseMsg' />
-    </wsdl:operation>
-    <wsdl:operation name='UnsubscribeOp' >
-      <wsdl:input message='wse:UnsubscribeMsg' />
-      <wsdl:output message='wse:UnsubscribeResponseMsg' />
-    </wsdl:operation>
-  </wsdl:portType>
+<!--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. -->
+
+<wsdl:definitions targetNamespace='http://schemas.xmlsoap.org/ws/2004/08/eventing' xmlns:wse='http://schemas.xmlsoap.org/ws/2004/08/eventing'
+	xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+
+	<wsdl:types>
+
+		<xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/eventing" xmlns:tns="http://schemas.xmlsoap.org/ws/2004/08/eventing"
+			xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema"
+			elementFormDefault="qualified" blockDefault="#all">
+
+			<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd" />
+
+			<xs:import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" schemaLocation="http://schemas.xmlsoap.org/ws/2004/08/addressing" />
+
+			<!-- Types and global elements -->
+			<xs:complexType name="DeliveryType" mixed="true">
+				<xs:sequence>
+					<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+				</xs:sequence>
+				<xs:attribute name="Mode" type="xs:anyURI" use="optional" />
+				<xs:anyAttribute namespace="##other" processContents="lax" />
+			</xs:complexType>
+
+			<xs:element name="NotifyTo" type="wsa:EndpointReferenceType" />
+
+			<xs:simpleType name="NonNegativeDurationType">
+				<xs:restriction base="xs:duration">
+					<xs:minInclusive value="P0Y0M0DT0H0M0S" />
+				</xs:restriction>
+			</xs:simpleType>
+
+			<xs:simpleType name="ExpirationType">
+				<xs:union memberTypes="xs:dateTime tns:NonNegativeDurationType" />
+			</xs:simpleType>
+
+			<xs:complexType name="FilterType" mixed="true">
+				<xs:sequence>
+					<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+				</xs:sequence>
+				<xs:attribute name="Dialect" type="xs:anyURI" use="optional" />
+				<xs:anyAttribute namespace="##other" processContents="lax" />
+			</xs:complexType>
+
+			<xs:complexType name="LanguageSpecificStringType">
+				<xs:simpleContent>
+					<xs:extension base="xs:string">
+						<xs:attribute ref="xml:lang" />
+						<xs:anyAttribute namespace="##other" processContents="lax" />
+					</xs:extension>
+				</xs:simpleContent>
+			</xs:complexType>
+
+			<!-- Subscribe request -->
+			<xs:element name="Subscribe">
+				<xs:complexType>
+					<xs:sequence>
+						<xs:element name="EndTo" type="wsa:EndpointReferenceType" minOccurs="0" />
+						<xs:element name="Delivery" type="tns:DeliveryType" />
+						<xs:element name="Expires" type="tns:ExpirationType" minOccurs="0" />
+						<xs:element name="Filter" type="tns:FilterType" minOccurs="0" />
+						<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+					</xs:sequence>
+					<xs:anyAttribute namespace="##other" processContents="lax" />
+				</xs:complexType>
+			</xs:element>
+
+			<xs:element name="Identifier" type="xs:anyURI" />
+
+			<!-- Subscribe response -->
+			<xs:element name="SubscribeResponse">
+				<xs:complexType>
+					<xs:sequence>
+						<xs:element name="SubscriptionManager" type="wsa:EndpointReferenceType" />
+						<xs:element name="Expires" type="tns:ExpirationType" />
+						<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+					</xs:sequence>
+					<xs:anyAttribute namespace="##other" processContents="lax" />
+				</xs:complexType>
+			</xs:element>
+
+			<!-- Used in a fault if there's an unsupported dialect -->
+			<xs:element name="SupportedDialect" type="xs:anyURI" />
+
+			<!-- Used in a fault if there's an unsupported delivery mode -->
+			<xs:element name="SupportedDeliveryMode" type="xs:anyURI" />
+
+			<!-- Renew request -->
+			<xs:element name="Renew">
+				<xs:complexType>
+					<xs:sequence>
+						<xs:element name="Expires" type="tns:ExpirationType" minOccurs="0" />
+						<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+					</xs:sequence>
+					<xs:anyAttribute namespace="##other" processContents="lax" />
+				</xs:complexType>
+			</xs:element>
+
+			<!-- Renew response -->
+			<xs:element name="RenewResponse">
+				<xs:complexType>
+					<xs:sequence>
+						<xs:element name="Expires" type="tns:ExpirationType" minOccurs="0" />
+						<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+					</xs:sequence>
+					<xs:anyAttribute namespace="##other" processContents="lax" />
+				</xs:complexType>
+			</xs:element>
+
+			<!-- GetStatus request -->
+			<xs:element name="GetStatus">
+				<xs:complexType>
+					<xs:sequence>
+						<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+					</xs:sequence>
+					<xs:anyAttribute namespace="##other" processContents="lax" />
+				</xs:complexType>
+			</xs:element>
+
+			<!-- GetStatus response -->
+			<xs:element name="GetStatusResponse">
+				<xs:complexType>
+					<xs:sequence>
+						<xs:element name="Expires" type="tns:ExpirationType" minOccurs="0" />
+						<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+					</xs:sequence>
+					<xs:anyAttribute namespace="##other" processContents="lax" />
+				</xs:complexType>
+			</xs:element>
+
+			<!-- Unsubscribe request -->
+			<xs:element name="Unsubscribe">
+				<xs:complexType>
+					<xs:sequence>
+						<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+					</xs:sequence>
+					<xs:anyAttribute namespace="##other" processContents="lax" />
+				</xs:complexType>
+			</xs:element>
+
+			<!-- count(/s:Envelope/s:Body/*) = 0 for Unsubscribe response -->
+
+			<!-- SubscriptionEnd message -->
+			<xs:element name="SubscriptionEnd">
+				<xs:complexType>
+					<xs:sequence>
+						<xs:element name="SubscriptionManager" type="wsa:EndpointReferenceType" />
+						<xs:element name="Status" type="tns:OpenSubscriptionEndCodeType" />
+						<xs:element name="Reason" type="tns:LanguageSpecificStringType" minOccurs="0" maxOccurs="unbounded" />
+						<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+					</xs:sequence>
+					<xs:anyAttribute namespace="##other" processContents="lax" />
+				</xs:complexType>
+			</xs:element>
+
+			<xs:simpleType name="SubscriptionEndCodeType">
+				<xs:restriction base="xs:anyURI">
+					<xs:enumeration value="http://schemas.xmlsoap.org/ws/2004/08/eventing/DeliveryFailure" />
+					<xs:enumeration value="http://schemas.xmlsoap.org/ws/2004/08/eventing/SourceShuttingDown" />
+					<xs:enumeration value="http://schemas.xmlsoap.org/ws/2004/08/eventing/SourceCancelling" />
+				</xs:restriction>
+			</xs:simpleType>
+
+			<xs:simpleType name="OpenSubscriptionEndCodeType">
+				<xs:union memberTypes="tns:SubscriptionEndCodeType xs:anyURI" />
+			</xs:simpleType>
+
+			<xs:attribute name="EventSource" type="xs:boolean" />
+
+		</xs:schema>
+
+		<xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema"
+			xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" elementFormDefault="qualified" blockDefault="#all">
+			<!-- //////////////////// WS-Addressing //////////////////// -->
+			<!-- Endpoint reference -->
+			<xs:element name="EndpointReference" type="wsa:EndpointReferenceType" />
+			<xs:complexType name="EndpointReferenceType">
+				<xs:sequence>
+					<xs:element name="Address" type="wsa:AttributedURI" />
+					<xs:element name="ReferenceProperties" type="wsa:ReferencePropertiesType" minOccurs="0" />
+					<xs:element name="ReferenceParameters" type="wsa:ReferenceParametersType" minOccurs="0" />
+					<xs:element name="PortType" type="wsa:AttributedQName" minOccurs="0" />
+					<xs:element name="ServiceName" type="wsa:ServiceNameType" minOccurs="0" />
+					<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
+						<xs:annotation>
+							<xs:documentation>
+								If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must
+								appear first (before any extensibility elements).
+							</xs:documentation>
+						</xs:annotation>
+					</xs:any>
+				</xs:sequence>
+				<xs:anyAttribute namespace="##other" processContents="lax" />
+			</xs:complexType>
+			<xs:complexType name="ReferencePropertiesType">
+				<xs:sequence>
+					<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+				</xs:sequence>
+			</xs:complexType>
+			<xs:complexType name="ReferenceParametersType">
+				<xs:sequence>
+					<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+				</xs:sequence>
+			</xs:complexType>
+			<xs:complexType name="ServiceNameType">
+				<xs:simpleContent>
+					<xs:extension base="xs:QName">
+						<xs:attribute name="PortName" type="xs:NCName" />
+						<xs:anyAttribute namespace="##other" processContents="lax" />
+					</xs:extension>
+				</xs:simpleContent>
+			</xs:complexType>
+			<!-- Message information header blocks -->
+			<xs:element name="MessageID" type="wsa:AttributedURI" />
+			<xs:element name="RelatesTo" type="wsa:Relationship" />
+			<xs:element name="To" type="wsa:AttributedURI" />
+			<xs:element name="Action" type="wsa:AttributedURI" />
+			<xs:element name="From" type="wsa:EndpointReferenceType" />
+			<xs:element name="ReplyTo" type="wsa:EndpointReferenceType" />
+			<xs:element name="FaultTo" type="wsa:EndpointReferenceType" />
+			<xs:complexType name="Relationship">
+				<xs:simpleContent>
+					<xs:extension base="xs:anyURI">
+						<xs:attribute name="RelationshipType" type="xs:QName" use="optional" />
+						<xs:anyAttribute namespace="##other" processContents="lax" />
+					</xs:extension>
+				</xs:simpleContent>
+			</xs:complexType>
+			<xs:simpleType name="RelationshipTypeValues">
+				<xs:restriction base="xs:QName">
+					<xs:enumeration value="wsa:Reply" />
+				</xs:restriction>
+			</xs:simpleType>
+			<xs:element name="ReplyAfter" type="wsa:ReplyAfterType" />
+			<xs:complexType name="ReplyAfterType">
+				<xs:simpleContent>
+					<xs:extension base="xs:nonNegativeInteger">
+						<xs:anyAttribute namespace="##other" />
+					</xs:extension>
+				</xs:simpleContent>
+			</xs:complexType>
+			<xs:simpleType name="FaultSubcodeValues">
+				<xs:restriction base="xs:QName">
+					<xs:enumeration value="wsa:InvalidMessageInformationHeader" />
+					<xs:enumeration value="wsa:MessageInformationHeaderRequired" />
+					<xs:enumeration value="wsa:DestinationUnreachable" />
+					<xs:enumeration value="wsa:ActionNotSupported" />
+					<xs:enumeration value="wsa:EndpointUnavailable" />
+				</xs:restriction>
+			</xs:simpleType>
+			<xs:attribute name="Action" type="xs:anyURI" />
+			<!-- Common declarations and definitions -->
+			<xs:complexType name="AttributedQName">
+				<xs:simpleContent>
+					<xs:extension base="xs:QName">
+						<xs:anyAttribute namespace="##other" processContents="lax" />
+					</xs:extension>
+				</xs:simpleContent>
+			</xs:complexType>
+			<xs:complexType name="AttributedURI">
+				<xs:simpleContent>
+					<xs:extension base="xs:anyURI">
+						<xs:anyAttribute namespace="##other" processContents="lax" />
+					</xs:extension>
+				</xs:simpleContent>
+			</xs:complexType>
+		</xs:schema>
+
+	</wsdl:types>
+
+	<wsdl:message name='SubscribeMsg'>
+		<wsdl:part name='body' element='wse:Subscribe' />
+	</wsdl:message>
+	<wsdl:message name='SubscribeResponseMsg'>
+		<wsdl:part name='body' element='wse:SubscribeResponse' />
+	</wsdl:message>
+
+	<wsdl:message name='RenewMsg'>
+		<wsdl:part name='body' element='wse:Renew' />
+	</wsdl:message>
+	<wsdl:message name='RenewResponseMsg'>
+		<wsdl:part name='body' element='wse:RenewResponse' />
+	</wsdl:message>
+
+	<wsdl:message name='GetStatusMsg'>
+		<wsdl:part name='body' element='wse:GetStatus' />
+	</wsdl:message>
+	<wsdl:message name='GetStatusResponseMsg'>
+		<wsdl:part name='body' element='wse:GetStatusResponse' />
+	</wsdl:message>
+
+	<wsdl:message name='UnsubscribeMsg'>
+		<wsdl:part name='body' element='wse:Unsubscribe' />
+	</wsdl:message>
+	<wsdl:message name='UnsubscribeResponseMsg' />
+
+	<wsdl:message name='SubscriptionEnd'>
+		<wsdl:part name='body' element='wse:SubscriptionEnd' />
+	</wsdl:message>
+
+	<wsdl:portType name='EventSource'>
+		<wsdl:operation name='SubscribeOp'>
+			<wsdl:input message='wse:SubscribeMsg' />
+			<wsdl:output message='wse:SubscribeResponseMsg' />
+		</wsdl:operation>
+		<wsdl:operation name='SubscriptionEnd'>
+			<wsdl:output message='wse:SubscriptionEnd' />
+		</wsdl:operation>
+	</wsdl:portType>
+
+	<wsdl:portType name='SubscriptionManager'>
+		<wsdl:operation name='RenewOp'>
+			<wsdl:input message='wse:RenewMsg' />
+			<wsdl:output message='wse:RenewResponseMsg' />
+		</wsdl:operation>
+		<wsdl:operation name='GetStatusOp'>
+			<wsdl:input message='wse:GetStatusMsg' />
+			<wsdl:output message='wse:GetStatusResponseMsg' />
+		</wsdl:operation>
+		<wsdl:operation name='UnsubscribeOp'>
+			<wsdl:input message='wse:UnsubscribeMsg' />
+			<wsdl:output message='wse:UnsubscribeResponseMsg' />
+		</wsdl:operation>
+	</wsdl:portType>
 </wsdl:definitions>

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/RegistryServiceTest.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/RegistryServiceTest.java?rev=1198032&r1=1198031&r2=1198032&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/RegistryServiceTest.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/RegistryServiceTest.java Sat Nov  5 19:36:08 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.xbaya.interpreter;
 
 import org.apache.airavata.commons.gfac.type.ApplicationDeploymentDescription;
@@ -23,7 +44,7 @@ import static org.junit.Assert.*;
 
 public class RegistryServiceTest {
     @Rule
-	public ExpectedException exception = ExpectedException.none();
+    public ExpectedException exception = ExpectedException.none();
 
     public JCRRegistry jcrRegistry = null;
 
@@ -31,9 +52,8 @@ public class RegistryServiceTest {
     public void testExecute() throws RegistryException {
 
         try {
-            jcrRegistry = new JCRRegistry(null,
-                    "org.apache.jackrabbit.core.RepositoryFactoryImpl", "admin",
-                    "admin", null);
+            jcrRegistry = new JCRRegistry(null, "org.apache.jackrabbit.core.RepositoryFactoryImpl", "admin", "admin",
+                    null);
         } catch (RepositoryException e) {
             fail("Failed creating the JCR Registry");
         }
@@ -47,26 +67,22 @@ public class RegistryServiceTest {
         input.setParameterName("echo_input");
         input.setParameterType(StringParameterType.Factory.newInstance());
         inputList.add(input);
-        InputParameterType[] inputParamList = inputList.toArray(new InputParameterType[inputList
-                .size()]);
+        InputParameterType[] inputParamList = inputList.toArray(new InputParameterType[inputList.size()]);
 
         List<OutputParameterType> outputList = new ArrayList<OutputParameterType>();
         OutputParameterType output = OutputParameterType.Factory.newInstance();
         output.setParameterName("echo_output");
         input.setParameterType(StringParameterType.Factory.newInstance());
         outputList.add(output);
-        OutputParameterType[] outputParamList = outputList
-                .toArray(new OutputParameterType[outputList.size()]);
+        OutputParameterType[] outputParamList = outputList.toArray(new OutputParameterType[outputList.size()]);
 
         serv.getType().setInputParametersArray(inputParamList);
         serv.getType().setOutputParametersArray(outputParamList);
 
         jcrRegistry.saveHostDescription(host);
-        jcrRegistry.saveDeploymentDescription(serv.getType().getName(), host
-                .getType().getHostName(), appDesc);
+        jcrRegistry.saveDeploymentDescription(serv.getType().getName(), host.getType().getHostName(), appDesc);
         jcrRegistry.saveServiceDescription(serv);
-        jcrRegistry.deployServiceOnHost(serv.getType().getName(), host
-                .getType().getHostName());
+        jcrRegistry.deployServiceOnHost(serv.getType().getName(), host.getType().getHostName());
 
     }
 
@@ -86,7 +102,8 @@ public class RegistryServiceTest {
     private ApplicationDeploymentDescription createAppDeploymentDescription() {
         ApplicationDeploymentDescription appDesc = new ApplicationDeploymentDescription();
         ApplicationDeploymentDescriptionType app = appDesc.getType();
-        ApplicationDeploymentDescriptionType.ApplicationName name = ApplicationDeploymentDescriptionType.ApplicationName.Factory.newInstance();
+        ApplicationDeploymentDescriptionType.ApplicationName name = ApplicationDeploymentDescriptionType.ApplicationName.Factory
+                .newInstance();
         name.setStringValue("EchoLocal");
         app.setApplicationName(name);
         app.setExecutableLocation("/bin/echo");