<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IRMDOWebServiceMessagingservice" targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns1="urn:RMDOWSCommonU">
  <types>
    <xs:schema targetNamespace="urn:RMDOWSCommonU" xmlns="urn:RMDOWSCommonU">
      <xs:complexType name="TResultset">
        <sequence xmlns="http://www.w3.org/2001/XMLSchema">
          <xs:element name="XML" type="xs:string"/>
          <xs:element name="Result" type="xs:boolean"/>
          <xs:element name="ErrorMessage" type="xs:string"/>
        </sequence>
      </xs:complexType>
      <xs:complexType name="TBooleanResult">
        <sequence xmlns="http://www.w3.org/2001/XMLSchema">
          <xs:element name="Value" type="xs:boolean"/>
          <xs:element name="Result" type="xs:boolean"/>
          <xs:element name="ErrorMessage" type="xs:string"/>
        </sequence>
      </xs:complexType>
      <xs:complexType name="TIntegerResult">
        <sequence xmlns="http://www.w3.org/2001/XMLSchema">
          <xs:element name="Value" type="xs:int"/>
          <xs:element name="Result" type="xs:boolean"/>
          <xs:element name="ErrorMessage" type="xs:string"/>
        </sequence>
      </xs:complexType>
    </xs:schema>
  </types>
  <message name="GetInbox0Request">
    <part name="ASessionID" type="xs:int"/>
    <part name="AUnreadOnly" type="xs:boolean"/>
  </message>
  <message name="GetInbox0Response">
    <part name="return" type="ns1:TResultset"/>
  </message>
  <message name="GetMessage1Request">
    <part name="ASessionID" type="xs:int"/>
    <part name="AMessageID" type="xs:int"/>
    <part name="AMarkAsRead" type="xs:boolean"/>
  </message>
  <message name="GetMessage1Response">
    <part name="return" type="ns1:TResultset"/>
  </message>
  <message name="MarkAsRead2Request">
    <part name="ASessionID" type="xs:int"/>
    <part name="AMessageID" type="xs:int"/>
  </message>
  <message name="MarkAsRead2Response">
    <part name="return" type="ns1:TBooleanResult"/>
  </message>
  <message name="MarkAsUnread3Request">
    <part name="ASessionID" type="xs:int"/>
    <part name="AMessageID" type="xs:int"/>
  </message>
  <message name="MarkAsUnread3Response">
    <part name="return" type="ns1:TBooleanResult"/>
  </message>
  <message name="GetUnreadCount4Request">
    <part name="ASessionID" type="xs:int"/>
  </message>
  <message name="GetUnreadCount4Response">
    <part name="return" type="ns1:TIntegerResult"/>
  </message>
  <message name="SendMessage5Request">
    <part name="ASessionID" type="xs:int"/>
    <part name="AToStaffID" type="xs:int"/>
    <part name="AMessage" type="xs:string"/>
  </message>
  <message name="SendMessage5Response">
    <part name="return" type="ns1:TBooleanResult"/>
  </message>
  <portType name="IRMDOWebServiceMessaging">
    <operation name="GetInbox">
      <input message="tns:GetInbox0Request"/>
      <output message="tns:GetInbox0Response"/>
    </operation>
    <operation name="GetMessage">
      <input message="tns:GetMessage1Request"/>
      <output message="tns:GetMessage1Response"/>
    </operation>
    <operation name="MarkAsRead">
      <input message="tns:MarkAsRead2Request"/>
      <output message="tns:MarkAsRead2Response"/>
    </operation>
    <operation name="MarkAsUnread">
      <input message="tns:MarkAsUnread3Request"/>
      <output message="tns:MarkAsUnread3Response"/>
    </operation>
    <operation name="GetUnreadCount">
      <input message="tns:GetUnreadCount4Request"/>
      <output message="tns:GetUnreadCount4Response"/>
    </operation>
    <operation name="SendMessage">
      <input message="tns:SendMessage5Request"/>
      <output message="tns:SendMessage5Response"/>
    </operation>
  </portType>
  <binding name="IRMDOWebServiceMessagingbinding" type="tns:IRMDOWebServiceMessaging">
    <binding xmlns="http://schemas.xmlsoap.org/wsdl/soap/" style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetInbox">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging#GetInbox" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging"/>
      </output>
    </operation>
    <operation name="GetMessage">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging#GetMessage" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging"/>
      </output>
    </operation>
    <operation name="MarkAsRead">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging#MarkAsRead" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging"/>
      </output>
    </operation>
    <operation name="MarkAsUnread">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging#MarkAsUnread" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging"/>
      </output>
    </operation>
    <operation name="GetUnreadCount">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging#GetUnreadCount" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging"/>
      </output>
    </operation>
    <operation name="SendMessage">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging#SendMessage" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServiceMessagingIntf-IRMDOWebServiceMessaging"/>
      </output>
    </operation>
  </binding>
  <service name="IRMDOWebServiceMessagingservice">
    <port name="IRMDOWebServiceMessagingPort" binding="tns:IRMDOWebServiceMessagingbinding">
      <address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://rentman.haulmore.com.au:9191/soap/IRMDOWebServiceMessaging"/>
    </port>
  </service>
</definitions>

