<?xml version="1.0" encoding="UTF-8"?>
<definitions targetNamespace="http://sma.uni.lu/rubisServer/Version1" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/wsdl/soap/encodings" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://sma.uni.lu/rubisServer/Version1">
  <types>
    <xsd:schema targetNamespace="http://sma.uni.lu/rubisServer/Version1">
     <xsd:element name="hello">
	<xsd:complexType>
            <xsd:sequence>
	    <xsd:element name="message" minOccurs="0" maxOccurs="1" type="xsd:string"/>  
	   </xsd:sequence>
	</xsd:complexType>
     </xsd:element>
     <xsd:element name="helloResponse">
	<xsd:complexType>
           <xsd:sequence>
	    <xsd:element name="message" minOccurs="0" maxOccurs="1" type="xsd:string"/>  
	   </xsd:sequence>
	</xsd:complexType>
     </xsd:element>
     <xsd:element name="submitProblem">
	<xsd:complexType>
            <xsd:sequence>
	    <xsd:element name="xmlProblemFile" minOccurs="0" maxOccurs="1" type="xsd:string"/>  
	   </xsd:sequence>
	</xsd:complexType>
     </xsd:element>
     <xsd:element name="submitProblemResponse">
	<xsd:complexType>
           <xsd:sequence>
	    <xsd:element name="message" minOccurs="0" maxOccurs="1" type="xsd:string"/>  
	    <xsd:element name="ticket" minOccurs="0" maxOccurs="1" type="xsd:int"/>  
	   </xsd:sequence>
	</xsd:complexType>
     </xsd:element>
     <xsd:element name="requestOutrankingDigraph">
	<xsd:complexType>
            <xsd:sequence>
	    <xsd:element name="ticket" minOccurs="0" maxOccurs="1" type="xsd:int"/>  
	   </xsd:sequence>
	</xsd:complexType>
     </xsd:element>
     <xsd:element name="requestOutrankingDigraphResponse">
	<xsd:complexType>
           <xsd:sequence>
	    <xsd:element name="ticket" minOccurs="0" maxOccurs="1" type="xsd:id"/>  
	    <xsd:element name="message" minOccurs="0" maxOccurs="1" type="xsd:string"/>  
	    <xsd:element name="solution" minOccurs="0" maxOccurs="1" type="xsd:string"/>  
	   </xsd:sequence>
	</xsd:complexType>
     </xsd:element>
    </xsd:schema>
  </types>
  <message name="hello">
   <part name="message" element="tns:hello"/>
  </message>
  <message name="helloResponse">
    <part name="message" element="tns:helloResponse"/>
  </message>
  <message name="submitProblem">
   <part name="xmlProblemFile" element="tns:submitProblem"/>
  </message>
  <message name="submitProblemResponse">
    <part name="message" element="tns:submitProblemResponse"/>
    <part name="ticket" element="tns:submitProblemResponse"/>
  </message>
  <message name="requestOutrankingDigraph">
   <part name="ticket" element="tns:requestOutrankingDigraph"/>
  </message>
  <message name="requestOutrankingDigraphResponse">
    <part name="ticket" element="tns:requestOutrankingDigraphResponse"/>
    <part name="message" element="tns:requestOutrankingDigraphResponse"/>
    <part name="solution" element="tns:requestOutrankingDigraphResponse"/>
  </message>
<portType name="rubisServerPortType">
    <operation name="hello">
      <documentation>Returns the D3-Rubis server greetings.</documentation>	
      <input message="tns:hello" name="hello"/>
      <output message="tns:helloResponse" name="helloResponse"/>
    </operation>
    <operation name="submitProblem">
      <documentation>Submit a Rubis performance tableau. Get a ticket in return.</documentation>	
      <input message="tns:submitProblem" name="submitProblem"/>
      <output message="tns:submitProblemResponse" name="submitProblemResponse"/>
    </operation>
    <operation name="requestOutrankingDigraph">
      <documentation>Request a Rubis outranking digraph with a given ticket.</documentation>	
      <input message="tns:requestOutrankingDigraph" name="requestOutrankingDigraph"/>
      <output message="tns:requestOutrankingDigraphResponse" name="requestOutrankingDigraphResponse"/>
    </operation>
  </portType>
  <binding name="rubisServerBinding" type="tns:rubisServerPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="hello">
      <soap:operation soapAction="hello"/>
      <input name="hello">
   	  <soap:body use="literal"/> 
      </input>
      <output name="helloResponse">
	  <soap:body use="literal"/> 
      </output>
    </operation>
    <operation name="submitProblem">
      <soap:operation soapAction="submitProblem"/>
      <input name="submitProblem">
   	  <soap:body use="literal"/> 
      </input>
      <output name="submitProblemResponse">
	  <soap:body use="literal"/> 
      </output>
    </operation>
    <operation name="requestOutrankingDigraph">
      <soap:operation soapAction="requestOutrankingDigraph"/>
      <input name="requestOutrankingDigraph">
   	  <soap:body use="literal"/> 
      </input>
      <output name="requestOutrankingDigraphResponse">
	  <soap:body use="literal"/> 
      </output>
    </operation>
  </binding>
  <service name="rubisServer">
    <port name="rubisServerPortType" binding="tns:rubisServerBinding">
      <soap:address location="http://sma.uni.lu/cgi-bin/rubisServer.py"/>
    </port>
  </service>
</definitions>