<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IRMDOWebServicePurchaseOrdersservice" 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="TStringResult">
        <sequence xmlns="http://www.w3.org/2001/XMLSchema">
          <xs:element name="Value" type="xs:string"/>
          <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="GetPurchaseOrders0Request">
    <part name="ASessionID" type="xs:int"/>
    <part name="APurchaseOrderID" type="xs:int"/>
    <part name="AjobID" type="xs:int"/>
    <part name="ASupplierID" type="xs:int"/>
  </message>
  <message name="GetPurchaseOrders0Response">
    <part name="return" type="ns1:TResultset"/>
  </message>
  <message name="AddPurchaseOrder1Request">
    <part name="ASessionID" type="xs:int"/>
    <part name="ASupplierID" type="xs:int"/>
    <part name="AComments" type="xs:string"/>
    <part name="AjobID" type="xs:int"/>
  </message>
  <message name="AddPurchaseOrder1Response">
    <part name="return" type="ns1:TStringResult"/>
  </message>
  <message name="AddPurchaseOrderItem2Request">
    <part name="ASessionID" type="xs:int"/>
    <part name="APurchaseOrderID" type="xs:int"/>
    <part name="AItemID" type="xs:string"/>
    <part name="AQuantity" type="xs:float"/>
    <part name="ADescription" type="xs:string"/>
    <part name="ARate" type="xs:double"/>
    <part name="ATax" type="xs:float"/>
  </message>
  <message name="AddPurchaseOrderItem2Response">
    <part name="return" type="ns1:TIntegerResult"/>
  </message>
  <portType name="IRMDOWebServicePurchaseOrders">
    <operation name="GetPurchaseOrders">
      <input message="tns:GetPurchaseOrders0Request"/>
      <output message="tns:GetPurchaseOrders0Response"/>
    </operation>
    <operation name="AddPurchaseOrder">
      <input message="tns:AddPurchaseOrder1Request"/>
      <output message="tns:AddPurchaseOrder1Response"/>
    </operation>
    <operation name="AddPurchaseOrderItem">
      <input message="tns:AddPurchaseOrderItem2Request"/>
      <output message="tns:AddPurchaseOrderItem2Response"/>
    </operation>
  </portType>
  <binding name="IRMDOWebServicePurchaseOrdersbinding" type="tns:IRMDOWebServicePurchaseOrders">
    <binding xmlns="http://schemas.xmlsoap.org/wsdl/soap/" style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetPurchaseOrders">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:RMDOWebServicePurchaseOrdersIntf-IRMDOWebServicePurchaseOrders#GetPurchaseOrders" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServicePurchaseOrdersIntf-IRMDOWebServicePurchaseOrders"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServicePurchaseOrdersIntf-IRMDOWebServicePurchaseOrders"/>
      </output>
    </operation>
    <operation name="AddPurchaseOrder">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:RMDOWebServicePurchaseOrdersIntf-IRMDOWebServicePurchaseOrders#AddPurchaseOrder" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServicePurchaseOrdersIntf-IRMDOWebServicePurchaseOrders"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServicePurchaseOrdersIntf-IRMDOWebServicePurchaseOrders"/>
      </output>
    </operation>
    <operation name="AddPurchaseOrderItem">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:RMDOWebServicePurchaseOrdersIntf-IRMDOWebServicePurchaseOrders#AddPurchaseOrderItem" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServicePurchaseOrdersIntf-IRMDOWebServicePurchaseOrders"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RMDOWebServicePurchaseOrdersIntf-IRMDOWebServicePurchaseOrders"/>
      </output>
    </operation>
  </binding>
  <service name="IRMDOWebServicePurchaseOrdersservice">
    <port name="IRMDOWebServicePurchaseOrdersPort" binding="tns:IRMDOWebServicePurchaseOrdersbinding">
      <address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://rentman.haulmore.com.au:9191/soap/IRMDOWebServicePurchaseOrders"/>
    </port>
  </service>
</definitions>

