<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
      <s:element name="EnquiryPrice_Thai">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="oPrice" type="tns:siPrice" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="siPrice">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="RubberTypeID" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RubberMarketID" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PriceDate_Begin" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PriceDate_End" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="PageSize" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="PageIndex" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="UserName" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="EnquiryPrice_ThaiResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="EnquiryPrice_ThaiResult" type="tns:soPrice" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="soPrice">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="IsAuthorize" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="ReasonNotAllow" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="PageCount" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="RecordCount" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="PriceDataSet" type="tns:ArrayOfSoPriceDataSet" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfSoPriceDataSet">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="soPriceDataSet" nillable="true" type="tns:soPriceDataSet" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="soPriceDataSet">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="RecordNo" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PriceDate" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PriceBaht" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RubberTypeID" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RubberTypeName" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RubberMarketID" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RubberMarketName" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="EnquiryPrice_Inter">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="oPrice" type="tns:siPrice" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="EnquiryPrice_InterResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="EnquiryPrice_InterResult" type="tns:soPrice" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="EnquiryPrice_ThaiSoapIn">
    <wsdl:part name="parameters" element="tns:EnquiryPrice_Thai" />
  </wsdl:message>
  <wsdl:message name="EnquiryPrice_ThaiSoapOut">
    <wsdl:part name="parameters" element="tns:EnquiryPrice_ThaiResponse" />
  </wsdl:message>
  <wsdl:message name="EnquiryPrice_InterSoapIn">
    <wsdl:part name="parameters" element="tns:EnquiryPrice_Inter" />
  </wsdl:message>
  <wsdl:message name="EnquiryPrice_InterSoapOut">
    <wsdl:part name="parameters" element="tns:EnquiryPrice_InterResponse" />
  </wsdl:message>
  <wsdl:portType name="wsPriceSoap">
    <wsdl:operation name="EnquiryPrice_Thai">
      <wsdl:input message="tns:EnquiryPrice_ThaiSoapIn" />
      <wsdl:output message="tns:EnquiryPrice_ThaiSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="EnquiryPrice_Inter">
      <wsdl:input message="tns:EnquiryPrice_InterSoapIn" />
      <wsdl:output message="tns:EnquiryPrice_InterSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="wsPriceSoap" type="tns:wsPriceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="EnquiryPrice_Thai">
      <soap:operation soapAction="http://tempuri.org/EnquiryPrice_Thai" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="EnquiryPrice_Inter">
      <soap:operation soapAction="http://tempuri.org/EnquiryPrice_Inter" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="wsPriceSoap12" type="tns:wsPriceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="EnquiryPrice_Thai">
      <soap12:operation soapAction="http://tempuri.org/EnquiryPrice_Thai" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="EnquiryPrice_Inter">
      <soap12:operation soapAction="http://tempuri.org/EnquiryPrice_Inter" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="wsPrice">
    <wsdl:port name="wsPriceSoap" binding="tns:wsPriceSoap">
      <soap:address location="https://rubber.oie.go.th/wsPrice.asmx" />
    </wsdl:port>
    <wsdl:port name="wsPriceSoap12" binding="tns:wsPriceSoap12">
      <soap12:address location="https://rubber.oie.go.th/wsPrice.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>