<?xml version="1.0" encoding="UTF-8"?>



<!DOCTYPE uridef [
  <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#">
  <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <!ENTITY owl "http://www.w3.org/2002/07/owl#">
  <!ENTITY service "http://www.daml.org/services/owl-s/1.1/Service.owl#">
  <!ENTITY profile "http://www.daml.org/services/owl-s/1.1/Profile.owl#">
  <!ENTITY process "http://www.daml.org/services/owl-s/1.1/Process.owl#">
  <!ENTITY grounding "http://www.daml.org/services/owl-s/1.1/Grounding.owl#">
  <!ENTITY xsd "http://www.w3.org/2001/XMLSchema">
  <!ENTITY mind "http://localhost:8080/OMSServices/OWLS/RegisterUnit.owl">
  <!ENTITY dir "http://localhost:8080/OMSServices/services/RegisterUnit?wsdl">
]>


<rdf:RDF xmlns:rdf="&rdf;" xmlns:rdfs="&rdfs;" xmlns:owl="&owl;" xmlns:xsd="&xsd;#" 
   xmlns:service="&service;" xmlns:process="&process;" xmlns:profile="&profile;" xmlns:grounding="&grounding;"
   xmlns:mind="&mind;#"      
   xml:base="http://localhost:8080/OMSServices/OWLS/RegisterUnit.owl">


<owl:Ontology>
    <owl:imports rdf:resource="&service;"/>
    <owl:imports rdf:resource="&profile;"/>
    <owl:imports rdf:resource="&process;"/>
    <owl:imports rdf:resource="&grounding;"/> 
</owl:Ontology>

<service:Service rdf:ID="RegisterUnitService">
        <service:presents rdf:resource="#RegisterUnitProfile"/>
        <service:describedBy rdf:resource="#RegisterUnitProcess"/>
	<service:supports rdf:resource="#RegisterUnitGrounding"/>
</service:Service>


       

<profile:Profile rdf:ID="RegisterUnitProfile">
    <service:isPresentedBy rdf:resource="#RegisterUnitService"/>
    <profile:serviceName xml:lang="en">RegisterUnit</profile:serviceName>



    <profile:hasInput rdf:resource="#UnitID"/>
    <profile:hasInput rdf:resource="#Type"/>
    <profile:hasInput rdf:resource="#Goal"/>
    <profile:hasInput rdf:resource="#ParentUnitID"/>
    <profile:hasOutput rdf:resource="#Status"/>
    <profile:hasOutput rdf:resource="#ErrorValue"/>   

</profile:Profile>

<process:AtomicProcess rdf:ID="RegisterUnitProcess">
	<service:describes rdf:resource="#RegisterUnitService"/>  	

      <process:hasInput rdf:resource="#UnitID"/>
      <process:hasInput rdf:resource="#Type"/>
      <process:hasInput rdf:resource="#Goal"/>
      <process:hasInput rdf:resource="#ParentUnitID"/>
	<process:hasOutput rdf:resource="#Status"/>
	<process:hasOutput rdf:resource="#ErrorValue"/>
</process:AtomicProcess>


<process:Input rdf:ID="UnitID">
     <rdfs:label>UnitID</rdfs:label>
     <process:parameterType rdf:datatype="&xsd;#anyURI">&xsd;#string</process:parameterType>
</process:Input>
<process:Input rdf:ID="Type">
     <rdfs:label>Type</rdfs:label>
     <process:parameterType rdf:datatype="&xsd;#anyURI">&xsd;#string</process:parameterType>
</process:Input>
<process:Input rdf:ID="Goal">
     <rdfs:label>Goal</rdfs:label>
     <process:parameterType rdf:datatype="&xsd;#anyURI">&xsd;#string</process:parameterType>
</process:Input>
<process:Input rdf:ID="ParentUnitID">
     <rdfs:label>ParentUnitID</rdfs:label>
     <process:parameterType rdf:datatype="&xsd;#anyURI">&xsd;#string</process:parameterType>
</process:Input>

<process:Output rdf:ID="Status">
    <rdfs:label>Status</rdfs:label>
    <process:parameterType rdf:datatype="&xsd;#anyURI">&xsd;#integer</process:parameterType>
</process:Output>  
<process:Output rdf:ID="ErrorValue">
    <rdfs:label>ErrorValue</rdfs:label>
    <process:parameterType rdf:datatype="&xsd;#anyURI">&xsd;#string</process:parameterType>
</process:Output>         

<grounding:WsdlGrounding rdf:ID="RegisterUnitGrounding">
	<service:supportedBy rdf:resource="#RegisterUnitService"/>
	<grounding:hasAtomicProcessGrounding rdf:resource="#RegisterUnitWsdlAtomicProcessGrounding"/>
</grounding:WsdlGrounding>

<grounding:WsdlAtomicProcessGrounding rdf:ID="RegisterUnitWsdlAtomicProcessGrounding">
	<grounding:owlsProcess rdf:resource="#RegisterUnitProcess"/>
	<grounding:wsdlDocument rdf:datatype="&xsd;anyURI">http://localhost:8080/OMSServices/services/RegisterUnit?wsdl</grounding:wsdlDocument>
	<grounding:wsdlOperation>
            <grounding:WsdlOperationRef>
                <grounding:portType rdf:datatype="&xsd;#anyURI">http://localhost:8080/OMSServices/services/RegisterUnitOperationsPortType</grounding:portType>
                <grounding:operation rdf:datatype="&xsd;#anyURI">http://localhost:8080/OMSServices/services/RegisterUnit</grounding:operation>
            </grounding:WsdlOperationRef>
        </grounding:wsdlOperation>

	<grounding:wsdlInputMessage rdf:datatype="&xsd;anyURI">http://localhost:8080/OMSServices/services/RegisterUnitMessage</grounding:wsdlInputMessage>
        <grounding:wsdlOutputMessage rdf:datatype="&xsd;anyURI">http://localhost:8080/OMSServices/services/RegisterUnitResponse</grounding:wsdlOutputMessage>
    
	<grounding:wsdlInput>
                  <grounding:WsdlInputMessageMap>
                    <grounding:owlsParameter rdf:resource="#UnitID"/>
                    <grounding:wsdlMessagePart rdf:datatype="&xsd;#anyURI">http://localhost:8080/OMSServices/services/RegisterUnit/UnitID</grounding:wsdlMessagePart>
                  </grounding:WsdlInputMessageMap>
        </grounding:wsdlInput>
	<grounding:wsdlInput>
                  <grounding:WsdlInputMessageMap>
                    <grounding:owlsParameter rdf:resource="#Type"/>
                    <grounding:wsdlMessagePart rdf:datatype="&xsd;#anyURI">http://localhost:8080/OMSServices/services/RegisterUnit/Type</grounding:wsdlMessagePart>
                  </grounding:WsdlInputMessageMap>
        </grounding:wsdlInput>
    <grounding:wsdlInput>
                  <grounding:WsdlInputMessageMap>
                    <grounding:owlsParameter rdf:resource="#Goal"/>
                    <grounding:wsdlMessagePart rdf:datatype="&xsd;#anyURI">http://localhost:8080/OMSServices/services/RegisterUnit/Goal</grounding:wsdlMessagePart>
                  </grounding:WsdlInputMessageMap>
        </grounding:wsdlInput>
	<grounding:wsdlInput>
                  <grounding:WsdlInputMessageMap>
                    <grounding:owlsParameter rdf:resource="#ParentUnitID"/>
                    <grounding:wsdlMessagePart rdf:datatype="&xsd;#anyURI">http://localhost:8080/OMSServices/services/RegisterUnit/ParentUnitID</grounding:wsdlMessagePart>
                  </grounding:WsdlInputMessageMap>
        </grounding:wsdlInput>        
        
       <grounding:wsdlOutput>
                  <grounding:WsdlOutputMessageMap>
		    <grounding:owlsParameter rdf:resource="#Status"/>
                    <grounding:wsdlMessagePart rdf:datatype="&xsd;#anyURI">http://localhost:8080/OMSServices/services/RegisterUnit/Status</grounding:wsdlMessagePart>
                  </grounding:WsdlOutputMessageMap>
        </grounding:wsdlOutput>

<grounding:wsdlOutput>
                  <grounding:WsdlOutputMessageMap>
		    <grounding:owlsParameter rdf:resource="#ErrorValue"/>
                    <grounding:wsdlMessagePart rdf:datatype="&xsd;#anyURI">http://localhost:8080/OMSServices/services/RegisterUnit/ErrorValue</grounding:wsdlMessagePart>
                  </grounding:WsdlOutputMessageMap>
        </grounding:wsdlOutput>

</grounding:WsdlAtomicProcessGrounding>

</rdf:RDF> 
