<?xml version="1.0" encoding="UTF-8"?>
<Resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<ID></ID>
	<Type>Service</Type>
	<Profile>
		<Description>Indexer Service</Description>
		<Class>Execution</Class>
		<Name>IndexerService</Name>
		<Version>1.0.0</Version>
		<Packages>
			<Main>
			
				<Description>Indexer Service</Description>
                <Name>IndexerService-service</Name>
                <Version>1.0.0</Version>
                <Mandatory level="VO"/>
                <Shareable level="VO"/>
                <GHNRequirements>
                        <Requirement category="RunTimeEnv" operator="eq" requirement="Variable" value="java1.6" />
                </GHNRequirements>
                
                
				<Dependencies>
				
					<Dependency>
						<Service>
							<Class>Execution</Class>
							<Name>IndexerService</Name>
			 		   		<Version>1.0.0</Version>
						</Service>
						<Package>IndexerService-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>ContentManagement</Class>
							<Name>GCubeModelLibrary</Name>
							<Version>1.0.0</Version>
						</Service>
						<Package>GCubeModelLibrary</Package>
						<Version>[2.0.0,3.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
				
					<Dependency>
						<Service>
							<Class>ContentManagement</Class>
							<Name>ContentManager</Name>
							<Version>1.0.0</Version>
						</Service>
						<Package>ContentManager-stubs</Package>
						<Version>[2.3.0,3.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>	
                
                <Dependency>
					<Service>
 						<Class>ContentManagement</Class>
 						<Name>SMSLibrary</Name>
 						<Version>1.0.0</Version>
                   	</Service>
 					<Package>SMSLibrary</Package>
 					<Version>[2.4.0,3.0.0)</Version>
                    <Scope level="GHN"/>
                    <Optional>false</Optional>
				</Dependency>
				
				<Dependency>
						<Service>
							<Class>Application</Class>
							<Name>ParallelIndexing</Name>
							<Version>1.0.0</Version>
						</Service>
						<Package>ParallelIndexing</Package>
						<Version>[1.0.0,2.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
				</Dependency>
					
				</Dependencies>
				<GARArchive>org.gcube.execution.indexerservice.gar</GARArchive>
				<PortType>
					<Name>gcube/execution/indexerservice/IndexerServiceFactory</Name>
					<WSDL>

<definitions name="IndexerServiceFactory"
    targetNamespace="http://gcube-system.org/namespaces/execution/IndexerServiceFactory" 
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://gcube-system.org/namespaces/execution/IndexerServiceFactory"
    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/IndexerServiceFactory"
    xmlns:tns="http://gcube-system.org/namespaces/execution/IndexerServiceFactory"
    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" />
	

	
	<!-- REQUESTS -->
	<xsd:element name="submit">
		<xsd:complexType>
			<xsd:sequence>	
				<xsd:element name="jobName"				type="xsd:string"  minOccurs="1" maxOccurs="1"/>
				<xsd:element name="inputLocation"   	type="xsd:string"  minOccurs="1" maxOccurs="1"/>
				<xsd:element name="outputLocation"		type="xsd:string"  minOccrus="1" maxOccurs="1"/>	
				<xsd:element name="shardsNumber"		type="xsd:int"     minOccurs="1" maxOccurs="1"/>		
				<xsd:element name="owner"				type="xsd:string"     minOccurs="1" maxOccurs="1"/>		
			</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="IndexerServiceFactoryPortType">

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

</portType>

</definitions></WSDL>
				</PortType>
				<PortType>
					<Name>gcube/execution/indexerservice/IndexerService</Name>
					<WSDL>

<definitions name="IndexerServiceFactory"
    targetNamespace="http://gcube-system.org/namespaces/execution/IndexerServiceFactory" 
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://gcube-system.org/namespaces/execution/IndexerServiceFactory"
    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/IndexerServiceFactory"
    xmlns:tns="http://gcube-system.org/namespaces/execution/IndexerServiceFactory"
    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" />
	

	
	<!-- REQUESTS -->
	<xsd:element name="submit">
		<xsd:complexType>
			<xsd:sequence>	
				<xsd:element name="jobName"				type="xsd:string"  minOccurs="1" maxOccurs="1"/>
				<xsd:element name="inputLocation"   	type="xsd:string"  minOccurs="1" maxOccurs="1"/>
				<xsd:element name="outputLocation"		type="xsd:string"  minOccrus="1" maxOccurs="1"/>	
				<xsd:element name="shardsNumber"		type="xsd:int"     minOccurs="1" maxOccurs="1"/>		
				<xsd:element name="owner"				type="xsd:string"     minOccurs="1" maxOccurs="1"/>		
			</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="IndexerServiceFactoryPortType">

	<operation name="submit">
		<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>Indexer Service Stubs</Description>
                <Name>IndexerService-stubs</Name>
                <Version>1.0.0</Version>
                <MultiVersion value="true"/>
                <Mandatory level="VO"/>
                <Shareable level="VO"/>
                <Type>library</Type>
                <Files>
                   <File>org.gcube.execution.indexerservice.stubs.jar</File>
                </Files>			
			</Software>
			
<!-- 			<Software deployable="true"> -->
<!-- 				<Description>Indexer Service Test Suite</Description> -->
<!-- 				<Name>IndexerService-test-suite</Name> -->
<!-- 				<Version>1.0.0</Version> -->
<!-- 				<Files> -->
<!-- 					<File>readme.txt</File> -->
<!-- 					<File>org/gcube/execution/indexerservice/tests/TestIndexerService.java</File> -->
<!-- 					<File>org/gcube/execution/indexerservice/tests/UploadIndexerJarClient.java</File> -->
<!-- 				</Files> -->
<!-- 			</Software> -->
			
		</Packages>
	</Profile>
</Resource>