<?xml version="1.0" encoding="UTF-8"?>
<Resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<ID></ID>
	<Type>Service</Type>
	<Profile>
		<Description>Refextract Service</Description>
		<Class>Execution</Class>
		<Name>RefextractService</Name>
		<Version>1.0.0</Version>
		<Packages>
			<Main>
			
				<Description>Refextract Service</Description>
                <Name>RefextractService-service</Name>
                <Version>1.0.2</Version>
                <Mandatory level="VO"/>
                <Shareable level="VO"/>
                <GHNRequirements>
                        <Requirement category="RunTimeEnv" operator="eq" requirement="Variable" value="java1.6" />
                        <Requirement category="RUNTIME_ENV_STRING" requirement="GLOBUS_LOCATION" operator="exist"  value="" />
                </GHNRequirements>
                
				<Dependencies>
				
					<Dependency>
						<Service>
							<Class>Execution</Class>
							<Name>RefextractService</Name>
			 		   		<Version>1.0.1</Version>
						</Service>
						<Package>RefextractService-stubs</Package>
						<Version>[1.0.0,2.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
							
					<Dependency>
						<Service>
							<Class>Execution</Class>
							<Name>WorkflowEngineService</Name>
							<Version>1.0.0</Version>
						</Service>
						<Package>WorkflowEngineService-stubs</Package>
						<Version>[1.0.0,2.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
					
					<Dependency>
						<Service>
 							<Class>Execution</Class>
   					        <Name>EnvironmentLibrariesSet</Name>
                			<Version>1.0.0</Version>
						</Service>
						<Package>InformationSystemLibrary</Package>
						<Version>[1.0.0,2.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
					<Dependency>
						<Service>
 							<Class>Execution</Class>
   					        <Name>EnvironmentLibrariesSet</Name>
                			<Version>1.0.0</Version>
						</Service>
						<Package>EnvironmentProviderLibrary</Package>
						<Version>[1.0.0,2.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
					<Dependency>
						<Service>
 							<Class>Execution</Class>
   					        <Name>EnvironmentLibrariesSet</Name>
                			<Version>1.0.0</Version>
						</Service>
						<Package>GCubeEnvironmentProviderLibrary</Package>
						<Version>[1.0.0,2.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
				
					
					<Dependency>
						<Service>
 							<Class>Application</Class>
   					        <Name>RefExtract-script</Name>
                			<Version>1.0.0</Version>
						</Service>
						<Package>RefExtract-script</Package>
						<Version>[1.0.0,2.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
				
				
				</Dependencies>
				<GARArchive>org.gcube.execution.refextractservice.gar</GARArchive>
				<PortType>
					<Name>gcube/execution/refextractservice/RefextractService</Name>
					<WSDL>

<definitions name="RefextractServiceFactory"
    targetNamespace="http://gcube-system.org/namespaces/execution/RefextractServiceFactory" 
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://gcube-system.org/namespaces/execution/RefextractServiceFactory"
    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <wsdl:import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>

<!--============================================================

                      T Y P E S
                      
  ============================================================-->
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/execution/RefextractServiceFactory"
    xmlns:tns="http://gcube-system.org/namespaces/execution/RefextractServiceFactory"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">

	
	<xsd:import
	    namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing"                
	    schemaLocation="../ws/addressing/WS-Addressing.xsd" />
	

	<xsd:complexType name="InputResource">
		<xsd:sequence>
			<xsd:element maxOccurs="1" minOccurs="1" name="resourceKey" type="xsd:string"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="resourceAccess" type="xsd:string"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="resourceReference" type="xsd:string"/>
			<xsd:element maxOccurs="unbounded" minOccurs="0" name="inMessageBytePayload" type="xsd:byte"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="inMessageStringPayload" type="xsd:string"/>
		</xsd:sequence>
	</xsd:complexType>
				
				
	<!-- REQUESTS -->
	<xsd:element name="submit">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="jobName"			type="xsd:string"/>
				<xsd:element name="owner"			type="xsd:string"/>
				<xsd:element name="inputResource" 	type="tns:InputResource"/>
				<xsd:element maxOccurs="unbounded" minOccurs="0" name="gridProxy" type="xsd:byte" />
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	
	
	<!-- RESPONSE -->	
	<xsd:element name="submitResponse">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="wsa:EndpointReference"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

</xsd:schema>
</types>


<!--============================================================

                       M E S S A G E S
                      
  ============================================================-->
<message name="SubmitRequest">
	<part name="request" element="tns:submit"/>
</message>
<message name="SubmitResponse">
	<part name="response" element="tns:submitResponse"/>
</message>


<!--============================================================

                       P O R T T Y P E
                      
  ============================================================-->

<portType name="RefextractServiceFactoryPortType">

	<operation name="submit">
		<input message="tns:SubmitRequest"/>
		<output message="tns:SubmitResponse"/>
		<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"></fault>
	</operation>

	<operation name="submitJDL">
		<input message="tns:SubmitRequest"/>
		<output message="tns:SubmitResponse"/>
		<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"></fault>
	</operation>
	
	<operation name="submitGrid">
		<input message="tns:SubmitRequest"/>
		<output message="tns:SubmitResponse"/>
		<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"></fault>
	</operation>
	
</portType>

</definitions></WSDL>
				</PortType>
				<PortType>
					<Name>gcube/execution/refextractservice/RefextractServiceFactory</Name>
					<WSDL>

<definitions name="RefextractServiceFactory"
    targetNamespace="http://gcube-system.org/namespaces/execution/RefextractServiceFactory" 
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://gcube-system.org/namespaces/execution/RefextractServiceFactory"
    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <wsdl:import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>

<!--============================================================

                      T Y P E S
                      
  ============================================================-->
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/execution/RefextractServiceFactory"
    xmlns:tns="http://gcube-system.org/namespaces/execution/RefextractServiceFactory"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">

	
	<xsd:import
	    namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing"                
	    schemaLocation="../ws/addressing/WS-Addressing.xsd" />
	

	<xsd:complexType name="InputResource">
		<xsd:sequence>
			<xsd:element maxOccurs="1" minOccurs="1" name="resourceKey" type="xsd:string"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="resourceAccess" type="xsd:string"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="resourceReference" type="xsd:string"/>
			<xsd:element maxOccurs="unbounded" minOccurs="0" name="inMessageBytePayload" type="xsd:byte"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="inMessageStringPayload" type="xsd:string"/>
		</xsd:sequence>
	</xsd:complexType>
				
				
	<!-- REQUESTS -->
	<xsd:element name="submit">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="jobName"			type="xsd:string"/>
				<xsd:element name="owner"			type="xsd:string"/>
				<xsd:element name="inputResource" 	type="tns:InputResource"/>
				<xsd:element maxOccurs="unbounded" minOccurs="0" name="gridProxy" type="xsd:byte" />
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	
	
	<!-- RESPONSE -->	
	<xsd:element name="submitResponse">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="wsa:EndpointReference"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

</xsd:schema>
</types>


<!--============================================================

                       M E S S A G E S
                      
  ============================================================-->
<message name="SubmitRequest">
	<part name="request" element="tns:submit"/>
</message>
<message name="SubmitResponse">
	<part name="response" element="tns:submitResponse"/>
</message>


<!--============================================================

                       P O R T T Y P E
                      
  ============================================================-->

<portType name="RefextractServiceFactoryPortType">

	<operation name="submit">
		<input message="tns:SubmitRequest"/>
		<output message="tns:SubmitResponse"/>
		<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"></fault>
	</operation>

	<operation name="submitJDL">
		<input message="tns:SubmitRequest"/>
		<output message="tns:SubmitResponse"/>
		<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"></fault>
	</operation>
	
	<operation name="submitGrid">
		<input message="tns:SubmitRequest"/>
		<output message="tns:SubmitResponse"/>
		<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"></fault>
	</operation>
	
</portType>

</definitions></WSDL>
				</PortType>

					
			</Main>
			
			
			<Software  deployable="true">
				<Description>Refextract Service Stubs</Description>
                <Name>RefextractService-stubs</Name>
                <Version>1.0.0</Version>
                <MultiVersion value="true"/>
                <Mandatory level="VO"/>
                <Shareable level="VO"/>
                <Type>library</Type>
                <Files>
                   <File>org.gcube.execution.refextractservice.stubs.jar</File>
                </Files>			
			</Software>
			
<!-- 			<Software deployable="true"> -->
<!-- 				<Description>Refextract Service Test Suite</Description> -->
<!-- 				<Name>RefextractService-test-suite</Name> -->
<!-- 				<Version>1.0.0</Version> -->
<!-- 				<Files> -->
<!-- 					<File>readme.txt</File> -->
<!-- 					<File>TestRefextractService.java</File> -->
<!-- 				</Files> -->
<!-- 			</Software> -->
			
		</Packages>
	</Profile>
</Resource>