<?xml version="1.0"?>
<definitions name="GorIV_Service" 
 targetNamespace="http://gbio.ibcp.fr:8090/GorIV_Service"  
 xmlns:tns="http://gbio.ibcp.fr:8090/GorIV_Service"   
 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
 xmlns="http://schemas.xmlsoap.org/wsdl/">

    <message name="submitGorIVRequest">
        <part name="Sequences" type="xsd:string"/>
    </message>
    <message name="submitGorIVResponse">
        <part name="JobId" type="xsd:string"/>
    </message>
    
    <message name="checkStatusGorIVRequest">
        <part name="JobId" type="xsd:string"/>
    </message>
    <message name="checkStatusGorIVResponse">
        <part name="Status" type="xsd:string"/>
    </message>
    
    <message name="getResultsGorIVRequest">
        <part name="JobId" type="xsd:string"/>
    </message>
    <message name="getResultsGorIVResponse">
        <part name="SecStructure" type="xsd:string"/>
		<part name="Logout" type="xsd:string"/>
    </message>
    
    <message name="cancelGorIVRequest">
        <part name="JobId" type="xsd:string"/>
    </message>
    <message name="cancelGorIVResponse">
        <part name="Status" type="xsd:string"/>
    </message>

    <portType name="GorIVPortType">
        <operation name="submitGorIV">
            <documentation>Submit a sequence an get a jobID</documentation>
            <input message="tns:submitGorIVRequest"/>
            <output message="tns:submitGorIVResponse"/>
        </operation>
        <operation name="checkStatusGorIV">
            <documentation>Submit a jobID and get the status</documentation>
            <input message="tns:checkStatusGorIVRequest"/>
            <output message="tns:checkStatusGorIVResponse"/>
        </operation>
        <operation name="getResultsGorIV">
            <documentation>When job is finish, submit a jobid and get the results</documentation>
            <input message="tns:getResultsGorIVRequest"/>
            <output message="tns:getResultsGorIVResponse"/>
        </operation>
        <operation name="cancelGorIV">
            <documentation>When some thing is wrong, cancel your job</documentation>
            <input message="tns:cancelGorIVRequest"/>
            <output message="tns:cancelGorIVResponse"/>
        </operation>
    </portType>

    <binding name="GorIVBinding" type="tns:GorIVPortType">
        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="submitGorIV">
            <soap:operation
             soapAction="urn:GorIVWS.wsdl#submitGorIV"/>
            <input>
                <soap:body use="encoded" namespace="urn:GorIV_Service" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </input>
            <output>
                <soap:body use="encoded" namespace="urn:GorIV_Service" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </output>
        </operation>
        <operation name="checkStatusGorIV">
            <soap:operation
             soapAction="urn:GorIVWS.wsdl#checkStatusGorIV"/>
            <input>
                <soap:body use="encoded" namespace="urn:GorIV_Service" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </input>
            <output>
                <soap:body use="encoded" namespace="urn:GorIV_Service" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </output>
        </operation>
        <operation name="getResultsGorIV">
            <soap:operation
             soapAction="urn:GorIVWS.wsdl#getResultsGorIV"/>
            <input>
                <soap:body use="encoded" namespace="urn:GorIV_Service" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </input>
            <output>
                <soap:body use="encoded" namespace="urn:GorIV_Service" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </output>
        </operation>
        <operation name="cancelGorIV">
            <soap:operation
             soapAction="urn:GorIVWS.wsdl#cancelGorIV"/>
            <input>
                <soap:body use="encoded" namespace="urn:GorIV_Service" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </input>
            <output>
                <soap:body use="encoded" namespace="urn:GorIV_Service" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </output>
        </operation>
    </binding>
    
    <service name="GorIV_Service">
        <documentation>GorIV @ IBCP (http://gbio-pbil.ibcp.fr)</documentation>
        <port name="GorIVPort" binding="tns:GorIVBinding">
            <soap:address location="http://gbio.ibcp.fr:8090/GorIV_Service"/>
        </port>
    </service>
    
</definitions>
