<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IBAHAMASWSservice" 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:BAHAMASWSIntf">
  <types>
    <xs:schema targetNamespace="urn:BAHAMASWSIntf" xmlns="urn:BAHAMASWSIntf">
      <xs:simpleType name="StorageBases">
        <xs:restriction base="xs:string">
          <xs:enumeration value="sbMonthly"/>
          <xs:enumeration value="sbDaily"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="LoanFormTypes">
        <xs:restriction base="xs:string">
          <xs:enumeration value="dtopCOTTON_A"/>
          <xs:enumeration value="dtopCOTTON_A1"/>
          <xs:enumeration value="dtopCCC_605"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:schema>
  </types>
  <message name="NewContract0Request">
    <part name="Validation" type="xs:string"/>
    <part name="ElectronicSignupInfo" type="xs:string"/>
  </message>
  <message name="NewContract0Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="UpdateContract1Request">
    <part name="Validation" type="xs:string"/>
    <part name="ElectronicSignupInfo" type="xs:string"/>
  </message>
  <message name="UpdateContract1Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="UpdateGinPayment2Request">
    <part name="Validation" type="xs:string"/>
    <part name="ElectronicSignupInfo" type="xs:string"/>
  </message>
  <message name="UpdateGinPayment2Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="SignupOrRenew3Request">
    <part name="Validation" type="xs:string"/>
    <part name="ElectronicSignupInfo" type="xs:string"/>
  </message>
  <message name="SignupOrRenew3Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="LSAContractLookup4Request">
    <part name="Validation" type="xs:string"/>
    <part name="LSAID" type="xs:string"/>
    <part name="SubmitterID" type="xs:string"/>
    <part name="MemberID" type="xs:string"/>
    <part name="StateCode" type="xs:int"/>
    <part name="CountyCode" type="xs:int"/>
    <part name="FarmNum" type="xs:int"/>
  </message>
  <message name="LSAContractLookup4Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="ContractLookup5Request">
    <part name="Validation" type="xs:string"/>
    <part name="MemberID" type="xs:string"/>
    <part name="StateCode" type="xs:int"/>
    <part name="CountyCode" type="xs:int"/>
    <part name="FarmNum" type="xs:int"/>
  </message>
  <message name="ContractLookup5Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="GetAWPJSON6Request"/>
  <message name="GetAWPJSON6Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="UploadLSACompanionFile7Request">
    <part name="Validation" type="xs:string"/>
    <part name="LSAID" type="xs:string"/>
    <part name="SubmitterID" type="xs:string"/>
    <part name="ContractID" type="xs:string"/>
    <part name="Action" type="xs:string"/>
    <part name="BaleListAsString" type="xs:string"/>
  </message>
  <message name="UploadLSACompanionFile7Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="UploadCompanionFile8Request">
    <part name="GinID" type="xs:string"/>
    <part name="Validation" type="xs:string"/>
    <part name="ContractID" type="xs:string"/>
    <part name="Action" type="xs:string"/>
    <part name="BaleListAsString" type="xs:string"/>
  </message>
  <message name="UploadCompanionFile8Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="UploadUserLSACompanionFile9Request">
    <part name="UserID" type="xs:string"/>
    <part name="UserPassword" type="xs:string"/>
    <part name="LSAID" type="xs:string"/>
    <part name="ContractID" type="xs:string"/>
    <part name="Action" type="xs:string"/>
    <part name="BaleListAsString" type="xs:string"/>
  </message>
  <message name="UploadUserLSACompanionFile9Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="UpdateWarehouseTariff10Request">
    <part name="Validation" type="xs:string"/>
    <part name="WarehouseID" type="xs:int"/>
    <part name="ReceivingRate" type="xs:double"/>
    <part name="CompressionRate" type="xs:double"/>
    <part name="LoadingRate" type="xs:double"/>
    <part name="StorageRate" type="xs:double"/>
    <part name="StorageBasis" type="ns1:StorageBases"/>
    <part name="StorageMin30Days" type="xs:boolean"/>
    <part name="ClassingRate" type="xs:double"/>
    <part name="MarkingRate" type="xs:double"/>
  </message>
  <message name="UpdateWarehouseTariff10Response">
    <part name="return" type="xs:boolean"/>
  </message>
  <message name="GetLoanFormXML11Request">
    <part name="Validation" type="xs:string"/>
    <part name="CMALSAID" type="xs:string"/>
    <part name="ContractID" type="xs:string"/>
    <part name="LoanDate" type="xs:dateTime"/>
    <part name="FormDocType" type="ns1:LoanFormTypes"/>
    <part name="TheCropYear" type="xs:int"/>
    <part name="LoanNumber" type="xs:int"/>
  </message>
  <message name="GetLoanFormXML11Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="UpdateWarehouseSupplementalTariff12Request">
    <part name="Validation" type="xs:string"/>
    <part name="WarehouseID" type="xs:int"/>
    <part name="GinID" type="xs:int"/>
    <part name="AdditionalReceivingRate" type="xs:double"/>
  </message>
  <message name="UpdateWarehouseSupplementalTariff12Response">
    <part name="return" type="xs:boolean"/>
  </message>
  <message name="GetYieldData13Request">
    <part name="Validation" type="xs:string"/>
    <part name="PoolNumber" type="xs:int"/>
  </message>
  <message name="GetYieldData13Response">
    <part name="return" type="xs:string"/>
  </message>
  <portType name="IBAHAMASWS">
    <operation name="NewContract">
      <input message="tns:NewContract0Request"/>
      <output message="tns:NewContract0Response"/>
    </operation>
    <operation name="UpdateContract">
      <input message="tns:UpdateContract1Request"/>
      <output message="tns:UpdateContract1Response"/>
    </operation>
    <operation name="UpdateGinPayment">
      <input message="tns:UpdateGinPayment2Request"/>
      <output message="tns:UpdateGinPayment2Response"/>
    </operation>
    <operation name="SignupOrRenew">
      <input message="tns:SignupOrRenew3Request"/>
      <output message="tns:SignupOrRenew3Response"/>
    </operation>
    <operation name="LSAContractLookup">
      <input message="tns:LSAContractLookup4Request"/>
      <output message="tns:LSAContractLookup4Response"/>
    </operation>
    <operation name="ContractLookup">
      <input message="tns:ContractLookup5Request"/>
      <output message="tns:ContractLookup5Response"/>
    </operation>
    <operation name="GetAWPJSON">
      <input message="tns:GetAWPJSON6Request"/>
      <output message="tns:GetAWPJSON6Response"/>
    </operation>
    <operation name="UploadLSACompanionFile">
      <input message="tns:UploadLSACompanionFile7Request"/>
      <output message="tns:UploadLSACompanionFile7Response"/>
    </operation>
    <operation name="UploadCompanionFile">
      <input message="tns:UploadCompanionFile8Request"/>
      <output message="tns:UploadCompanionFile8Response"/>
    </operation>
    <operation name="UploadUserLSACompanionFile">
      <input message="tns:UploadUserLSACompanionFile9Request"/>
      <output message="tns:UploadUserLSACompanionFile9Response"/>
    </operation>
    <operation name="UpdateWarehouseTariff">
      <input message="tns:UpdateWarehouseTariff10Request"/>
      <output message="tns:UpdateWarehouseTariff10Response"/>
    </operation>
    <operation name="GetLoanFormXML">
      <input message="tns:GetLoanFormXML11Request"/>
      <output message="tns:GetLoanFormXML11Response"/>
    </operation>
    <operation name="UpdateWarehouseSupplementalTariff">
      <input message="tns:UpdateWarehouseSupplementalTariff12Request"/>
      <output message="tns:UpdateWarehouseSupplementalTariff12Response"/>
    </operation>
    <operation name="GetYieldData">
      <input message="tns:GetYieldData13Request"/>
      <output message="tns:GetYieldData13Response"/>
    </operation>
  </portType>
  <binding name="IBAHAMASWSbinding" type="tns:IBAHAMASWS">
    <binding xmlns="http://schemas.xmlsoap.org/wsdl/soap/" style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="NewContract">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#NewContract" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="UpdateContract">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#UpdateContract" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="UpdateGinPayment">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#UpdateGinPayment" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="SignupOrRenew">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#SignupOrRenew" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="LSAContractLookup">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#LSAContractLookup" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="ContractLookup">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#ContractLookup" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="GetAWPJSON">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#GetAWPJSON" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="UploadLSACompanionFile">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#UploadLSACompanionFile" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="UploadCompanionFile">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#UploadCompanionFile" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="UploadUserLSACompanionFile">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#UploadUserLSACompanionFile" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="UpdateWarehouseTariff">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#UpdateWarehouseTariff" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="GetLoanFormXML">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#GetLoanFormXML" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="UpdateWarehouseSupplementalTariff">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#UpdateWarehouseSupplementalTariff" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
    <operation name="GetYieldData">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:BAHAMASWSIntf-IBAHAMASWS#GetYieldData" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BAHAMASWSIntf-IBAHAMASWS"/>
      </output>
    </operation>
  </binding>
  <service name="IBAHAMASWSservice">
    <port name="IBAHAMASWSPort" binding="tns:IBAHAMASWSbinding">
      <address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="https://secure.ecotton.com/WebServices/BAHAMASWS/BAHAMASWebService.dll/soap/IBAHAMASWS"/>
    </port>
  </service>
</definitions>

