<?xml version="1.0" encoding="UTF-8"?>
<Resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<ID></ID>
	<Type>Service</Type>
	<Profile>
		<Description>Ontology Management Service</Description>
		<Class>OntologyManagement</Class>
		<Name>OntologyManagementService</Name>
		<Version>1.0.0</Version>
		<Packages>
			<Main>
				<Name>OntologyManagementService</Name>
				<Version>1.1.1</Version>
				<Dependencies>
					<Dependency>
						<Service>
							<Class>OntologyManagement</Class>
							<Name>OntologyManagementService</Name>
							<Version>1.0.0</Version>
						</Service>
						<Package>OntologyManagementServiceStubs</Package>
						<Version>1.1.0</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
					<Dependency>
						<Service>
 							<Class>ExternalSoftware</Class>
   					        <Name>jena</Name>
                			<Version>2.5.6</Version>
						</Service>
						<Package>jena</Package>
						<Version>2.5.6</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
					<Dependency>
						<Service>
 							<Class>ExternalSoftware</Class>
   					        <Name>derby</Name>
                			<Version>10.3.2</Version>
						</Service>
						<Package>derby</Package>
						<Version>10.3.2</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
				</Dependencies>
				<GARArchive>org.gcube.ontologymanagement.ontologymanagementservice.gar</GARArchive>
				<PortType>
					<Name>gcube/ontologymanagement/ontologymanagementservice/OntologyManager</Name>
					<WSDL>
<definitions name="OntologyManagerFactory"
    targetNamespace="http://gcube-system.org/namespaces/ontologymanagement/ontologymanagementservice"
    xmlns:tns="http://gcube-system.org/namespaces/ontologymanagement/ontologymanagementservice"
   	xmlns:coretypes="http://gcube-system.org/namespaces/common/core/types"
	xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    
    <import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>
   
 	<types>
		<xsd:schema targetNamespace="http://gcube-system.org/namespaces/ontologymanagement/ontologymanagementservice">
		
			<xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing" schemaLocation="../ws/addressing/WS-Addressing.xsd" />
			<xsd:import namespace="http://gcube-system.org/namespaces/common/core/types" schemaLocation="../gcube/common/core/types/GCUBETypes.xsd"/>

			<!-- Import Ontology -->
  			<xsd:element name="importOntologyURL" type="tns:OntologyDescriptionAndURL"/>

			<xsd:element name="importOntologyURLResponse" type="wsa:EndpointReferenceType"/>

			<!-- Getting Available Ontologies -->
			<xsd:element name="getAvailableOntologies">
				<xsd:complexType/>
			</xsd:element>

			<xsd:element name="getAvailableOntologiesResponse" type="tns:ArrayOfOntologyDescriptions" />

			<!-- Getting Ontology Manager EPR -->
			<xsd:element name="getOntologyManager" type="xsd:string" />

			<xsd:element name="getOntologyManagerResponse" type="wsa:EndpointReferenceType" />

			<!-- TYPES -->
			<xsd:complexType name="OntologyDescriptionAndURL">
  				<xsd:sequence>
					<xsd:element name="ontologyDescription" type="tns:OntologyDescription" />
					<xsd:element name="ontologyURL" type="xsd:string" />
				</xsd:sequence>
			</xsd:complexType>
			
			<xsd:complexType name="OntologyDescription">
				<xsd:sequence>
					<xsd:element name="ontologyURI" type="xsd:string" />
					<xsd:element name="ontologyName" type="xsd:string" />
				</xsd:sequence>
			</xsd:complexType>

			<xsd:complexType name="ArrayOfOntologyDescriptions">
				<xsd:sequence>
					<xsd:element name="ontologyDescriptions" type="tns:OntologyDescription"  minOccurs="0" maxOccurs="unbounded" />
				</xsd:sequence>
			</xsd:complexType>
				
		</xsd:schema>
	</types>

	<message name="importOntologyURLRequest">
		<part name="request" element="tns:importOntologyURL"/>
	</message>
	<message name="importOntologyURLResponse">
		<part name="response" element="tns:importOntologyURLResponse"/>
	</message>

	<wsdl:message name="getAvailableOntologiesRequest">
    	<wsdl:part name="request" element="tns:getAvailableOntologies"/>
    </wsdl:message>
    <wsdl:message name="getAvailableOntologiesResponse">
    	<wsdl:part name="response" element="tns:getAvailableOntologiesResponse"/>
    </wsdl:message>

	<wsdl:message name="getOntologyManagerRequest">
    	<wsdl:part name="request" element="tns:getOntologyManager"/>
    </wsdl:message>
    <wsdl:message name="getOntologyManagerResponse">
    	<wsdl:part name="response" element="tns:getOntologyManagerResponse"/>
    </wsdl:message>

	<portType name="OntologyManagerFactoryPortType">
		<wsdl:operation name="importOntologyURL">
        	<wsdl:input message="tns:importOntologyURLRequest"/>
        	<wsdl:output message="tns:importOntologyURLResponse"/>
        	<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"/>
			<fault name="fault" message="corefaults:GCUBERetrySameFaultMessage"/>
			<fault name="fault" message="corefaults:GCUBERetryEquivalentFaultMessage"/>
        </wsdl:operation>
        <wsdl:operation name="getAvailableOntologies">
        	<wsdl:input message="tns:getAvailableOntologiesRequest"/>
        	<wsdl:output message="tns:getAvailableOntologiesResponse"/>
        	<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"/>
			<fault name="fault" message="corefaults:GCUBERetrySameFaultMessage"/>
			<fault name="fault" message="corefaults:GCUBERetryEquivalentFaultMessage"/>
        </wsdl:operation>
        <wsdl:operation name="getOntologyManager">
        	<wsdl:input message="tns:getOntologyManagerRequest"/>
        	<wsdl:output message="tns:getOntologyManagerResponse"/>
        	<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"/>
			<fault name="fault" message="corefaults:GCUBERetrySameFaultMessage"/>
			<fault name="fault" message="corefaults:GCUBERetryEquivalentFaultMessage"/>
        </wsdl:operation>

	</portType>

</definitions></WSDL>
				</PortType>
				<PortType>
					<Name>gcube/ontologymanagement/ontologymanagementservice/OntologyManagerFactory</Name>
					<WSDL>
<definitions name="OntologyManagerFactory"
    targetNamespace="http://gcube-system.org/namespaces/ontologymanagement/ontologymanagementservice"
    xmlns:tns="http://gcube-system.org/namespaces/ontologymanagement/ontologymanagementservice"
   	xmlns:coretypes="http://gcube-system.org/namespaces/common/core/types"
	xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    
    <import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>
   
 	<types>
		<xsd:schema targetNamespace="http://gcube-system.org/namespaces/ontologymanagement/ontologymanagementservice">
		
			<xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing" schemaLocation="../ws/addressing/WS-Addressing.xsd" />
			<xsd:import namespace="http://gcube-system.org/namespaces/common/core/types" schemaLocation="../gcube/common/core/types/GCUBETypes.xsd"/>

			<!-- Import Ontology -->
  			<xsd:element name="importOntologyURL" type="tns:OntologyDescriptionAndURL"/>

			<xsd:element name="importOntologyURLResponse" type="wsa:EndpointReferenceType"/>

			<!-- Getting Available Ontologies -->
			<xsd:element name="getAvailableOntologies">
				<xsd:complexType/>
			</xsd:element>

			<xsd:element name="getAvailableOntologiesResponse" type="tns:ArrayOfOntologyDescriptions" />

			<!-- Getting Ontology Manager EPR -->
			<xsd:element name="getOntologyManager" type="xsd:string" />

			<xsd:element name="getOntologyManagerResponse" type="wsa:EndpointReferenceType" />

			<!-- TYPES -->
			<xsd:complexType name="OntologyDescriptionAndURL">
  				<xsd:sequence>
					<xsd:element name="ontologyDescription" type="tns:OntologyDescription" />
					<xsd:element name="ontologyURL" type="xsd:string" />
				</xsd:sequence>
			</xsd:complexType>
			
			<xsd:complexType name="OntologyDescription">
				<xsd:sequence>
					<xsd:element name="ontologyURI" type="xsd:string" />
					<xsd:element name="ontologyName" type="xsd:string" />
				</xsd:sequence>
			</xsd:complexType>

			<xsd:complexType name="ArrayOfOntologyDescriptions">
				<xsd:sequence>
					<xsd:element name="ontologyDescriptions" type="tns:OntologyDescription"  minOccurs="0" maxOccurs="unbounded" />
				</xsd:sequence>
			</xsd:complexType>
				
		</xsd:schema>
	</types>

	<message name="importOntologyURLRequest">
		<part name="request" element="tns:importOntologyURL"/>
	</message>
	<message name="importOntologyURLResponse">
		<part name="response" element="tns:importOntologyURLResponse"/>
	</message>

	<wsdl:message name="getAvailableOntologiesRequest">
    	<wsdl:part name="request" element="tns:getAvailableOntologies"/>
    </wsdl:message>
    <wsdl:message name="getAvailableOntologiesResponse">
    	<wsdl:part name="response" element="tns:getAvailableOntologiesResponse"/>
    </wsdl:message>

	<wsdl:message name="getOntologyManagerRequest">
    	<wsdl:part name="request" element="tns:getOntologyManager"/>
    </wsdl:message>
    <wsdl:message name="getOntologyManagerResponse">
    	<wsdl:part name="response" element="tns:getOntologyManagerResponse"/>
    </wsdl:message>

	<portType name="OntologyManagerFactoryPortType">
		<wsdl:operation name="importOntologyURL">
        	<wsdl:input message="tns:importOntologyURLRequest"/>
        	<wsdl:output message="tns:importOntologyURLResponse"/>
        	<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"/>
			<fault name="fault" message="corefaults:GCUBERetrySameFaultMessage"/>
			<fault name="fault" message="corefaults:GCUBERetryEquivalentFaultMessage"/>
        </wsdl:operation>
        <wsdl:operation name="getAvailableOntologies">
        	<wsdl:input message="tns:getAvailableOntologiesRequest"/>
        	<wsdl:output message="tns:getAvailableOntologiesResponse"/>
        	<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"/>
			<fault name="fault" message="corefaults:GCUBERetrySameFaultMessage"/>
			<fault name="fault" message="corefaults:GCUBERetryEquivalentFaultMessage"/>
        </wsdl:operation>
        <wsdl:operation name="getOntologyManager">
        	<wsdl:input message="tns:getOntologyManagerRequest"/>
        	<wsdl:output message="tns:getOntologyManagerResponse"/>
        	<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"/>
			<fault name="fault" message="corefaults:GCUBERetrySameFaultMessage"/>
			<fault name="fault" message="corefaults:GCUBERetryEquivalentFaultMessage"/>
        </wsdl:operation>

	</portType>

</definitions></WSDL>
				</PortType>
			</Main>
			<Software>
				<Description>Ontology Management Service Stubs</Description>
				<Name>OntologyManagementServiceStubs</Name>
				<Version>1.1.0</Version>
				<Type>library</Type>
				<Files><File>org.gcube.ontologymanagement.ontologymanagementservice.stubs.jar</File></Files>
			</Software>
		</Packages>
	</Profile>
</Resource>
