<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns0="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns2="http://schemas.datacontract.org/2004/07/BP_Services.Results" xmlns:ns1="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModels" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:tns="http://tempuri.org/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" targetNamespace="http://tempuri.org/">
    <wsp:Policy wsu:Id="UTOverTransport">
        <wsp:ExactlyOne>
            <wsp:All>
                <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
                    <wsp:Policy>
                        <sp:TransportToken>
                            <wsp:Policy>
                                <sp:HttpsToken RequireClientCertificate="false"/>
                            </wsp:Policy>
                        </sp:TransportToken>
                        <sp:AlgorithmSuite>
                            <wsp:Policy>
                                <sp:Basic256/>
                            </wsp:Policy>
                        </sp:AlgorithmSuite>
                        <sp:Layout>
                            <wsp:Policy>
                                <sp:Lax/>
                            </wsp:Policy>
                        </sp:Layout>
                        <sp:IncludeTimestamp/>
                    </wsp:Policy>
                </sp:TransportBinding>
                <sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
                    <wsp:Policy>
                        <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"/>
                    </wsp:Policy>
                </sp:SignedSupportingTokens>
            </wsp:All>
        </wsp:ExactlyOne>
    </wsp:Policy>
    <wsdl:types>
        <xsd:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
            <xsd:import namespace="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModels"/>
            <xsd:import namespace="http://schemas.datacontract.org/2004/07/BP_Services.Results"/>
            <xsd:element name="GetOilAllocation">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element minOccurs="0" name="input" nillable="true" type="ns1:EngineOilAllocationInput"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="GetOilAllocationResponse">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element minOccurs="0" name="GetOilAllocationResult" nillable="true" type="ns2:EngineOilAllocationResultDtosResult"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="GetOilSaleOrder">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element minOccurs="0" name="input" nillable="true" type="ns1:EngineOilOrderInput"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="GetOilSaleOrderResponse">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element minOccurs="0" name="GetOilSaleOrderResult" nillable="true" type="ns2:EngineOilOrderResultDtosResult"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="CancelOrderOilOrTire">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element minOccurs="0" name="input" nillable="true" type="ns1:CancelOrderOilOrTireInputDto"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="CancelOrderOilOrTireResponse">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element minOccurs="0" name="CancelOrderOilOrTireResult" nillable="true" type="ns2:VoidResult"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
        </xsd:schema>
        <xsd:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/">
            <xsd:element name="anyType" nillable="true" type="xsd:anyType"/>
            <xsd:element name="anyURI" nillable="true" type="xsd:anyURI"/>
            <xsd:element name="base64Binary" nillable="true" type="xsd:base64Binary"/>
            <xsd:element name="boolean" nillable="true" type="xsd:boolean"/>
            <xsd:element name="byte" nillable="true" type="xsd:byte"/>
            <xsd:element name="dateTime" nillable="true" type="xsd:dateTime"/>
            <xsd:element name="decimal" nillable="true" type="xsd:decimal"/>
            <xsd:element name="double" nillable="true" type="xsd:double"/>
            <xsd:element name="float" nillable="true" type="xsd:float"/>
            <xsd:element name="int" nillable="true" type="xsd:int"/>
            <xsd:element name="long" nillable="true" type="xsd:long"/>
            <xsd:element name="QName" nillable="true" type="xsd:QName"/>
            <xsd:element name="short" nillable="true" type="xsd:short"/>
            <xsd:element name="string" nillable="true" type="xsd:string"/>
            <xsd:element name="unsignedByte" nillable="true" type="xsd:unsignedByte"/>
            <xsd:element name="unsignedInt" nillable="true" type="xsd:unsignedInt"/>
            <xsd:element name="unsignedLong" nillable="true" type="xsd:unsignedLong"/>
            <xsd:element name="unsignedShort" nillable="true" type="xsd:unsignedShort"/>
            <xsd:element name="char" nillable="true" type="ns0:char"/>
            <xsd:simpleType name="char">
                <xsd:restriction base="xsd:int"/>
            </xsd:simpleType>
            <xsd:element name="duration" nillable="true" type="ns0:duration"/>
            <xsd:simpleType name="duration">
                <xsd:restriction base="xsd:duration">
                    <xsd:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/>
                    <xsd:minInclusive value="-P10675199DT2H48M5.4775808S"/>
                    <xsd:maxInclusive value="P10675199DT2H48M5.4775807S"/>
                </xsd:restriction>
            </xsd:simpleType>
            <xsd:element name="guid" nillable="true" type="ns0:guid"/>
            <xsd:simpleType name="guid">
                <xsd:restriction base="xsd:string">
                    <xsd:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/>
                </xsd:restriction>
            </xsd:simpleType>
            <xsd:attribute name="FactoryType" type="xsd:QName"/>
            <xsd:attribute name="Id" type="xsd:ID"/>
            <xsd:attribute name="Ref" type="xsd:IDREF"/>
        </xsd:schema>
        <xsd:schema xmlns:tns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModels" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModels">
            <xsd:complexType name="EngineOilAllocationInput">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="CustomerInfo" nillable="true" type="ns1:CustomerOilInput"/>
                    <xsd:element minOccurs="0" name="FleetInfoInput" nillable="true" type="ns1:FleetInfoOilInput"/>
                    <xsd:element minOccurs="0" name="Password" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="UserName" nillable="true" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:element name="EngineOilAllocationInput" nillable="true" type="ns1:EngineOilAllocationInput"/>
            <xsd:complexType name="CustomerOilInput">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="MobileNo" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="NationalCode" nillable="true" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:element name="CustomerOilInput" nillable="true" type="ns1:CustomerOilInput"/>
            <xsd:complexType name="FleetInfoOilInput">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="ChassisNo" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="EngineNo" nillable="true" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:element name="FleetInfoOilInput" nillable="true" type="ns1:FleetInfoOilInput"/>
            <xsd:complexType name="EngineOilAllocationResultDtos">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="Allocation" type="xsd:double"/>
                    <xsd:element minOccurs="0" name="FleetType" nillable="true" type="xsd:int"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:element name="EngineOilAllocationResultDtos" nillable="true" type="ns1:EngineOilAllocationResultDtos"/>
            <xsd:complexType name="EngineOilOrderInput">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="CustomerInfo" nillable="true" type="ns1:CustomerInput"/>
                    <xsd:element minOccurs="0" name="Password" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="SaleInfo" nillable="true" type="ns1:EngineOilSaleInfo"/>
                    <xsd:element minOccurs="0" name="UserName" nillable="true" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:element name="EngineOilOrderInput" nillable="true" type="ns1:EngineOilOrderInput"/>
            <xsd:complexType name="CustomerInput">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="ChassisNo" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="EngineNo" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="MobileNo" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="NationalCode" nillable="true" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:element name="CustomerInput" nillable="true" type="ns1:CustomerInput"/>
            <xsd:complexType name="EngineOilSaleInfo">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="ProductCode" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="ProductPrice" type="xsd:long"/>
                    <xsd:element minOccurs="0" name="SaleAmount" type="xsd:double"/>
                    <xsd:element minOccurs="0" name="SellerCommercialCode" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="SellerNationalCode" nillable="true" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:element name="EngineOilSaleInfo" nillable="true" type="ns1:EngineOilSaleInfo"/>
            <xsd:complexType name="EngineOilOrderResultDtos">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="TrackingCode" type="xsd:double"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:element name="EngineOilOrderResultDtos" nillable="true" type="ns1:EngineOilOrderResultDtos"/>
            <xsd:complexType name="CancelOrderOilOrTireInputDto">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="Password" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="TrackingCode" type="xsd:decimal"/>
                    <xsd:element minOccurs="0" name="Username" nillable="true" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:element name="CancelOrderOilOrTireInputDto" nillable="true" type="ns1:CancelOrderOilOrTireInputDto"/>
        </xsd:schema>
        <xsd:schema xmlns:tns="http://schemas.datacontract.org/2004/07/BP_Services.Results" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/BP_Services.Results">
            <xsd:import namespace="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModels"/>
            <xsd:complexType name="EngineOilAllocationResultDtosResult">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="Obj" nillable="true" type="ns1:EngineOilAllocationResultDtos"/>
                    <xsd:element minOccurs="0" name="ResultCode" type="xsd:int"/>
                    <xsd:element minOccurs="0" name="ResultMessage" nillable="true" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:element name="EngineOilAllocationResultDtosResult" nillable="true" type="ns2:EngineOilAllocationResultDtosResult"/>
            <xsd:complexType name="EngineOilOrderResultDtosResult">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="Obj" nillable="true" type="ns1:EngineOilOrderResultDtos"/>
                    <xsd:element minOccurs="0" name="ResultCode" type="xsd:int"/>
                    <xsd:element minOccurs="0" name="ResultMessage" nillable="true" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:element name="EngineOilOrderResultDtosResult" nillable="true" type="ns2:EngineOilOrderResultDtosResult"/>
            <xsd:complexType name="VoidResult">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="ResultCode" type="xsd:int"/>
                    <xsd:element minOccurs="0" name="ResultMessage" nillable="true" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:element name="VoidResult" nillable="true" type="ns2:VoidResult"/>
        </xsd:schema>
    </wsdl:types>
    <wsdl:message name="IEngineOilService_CancelOrderOilOrTire_InputMessage">
        <wsdl:part name="parameters" element="tns:CancelOrderOilOrTire"/>
    </wsdl:message>
    <wsdl:message name="IEngineOilService_CancelOrderOilOrTire_OutputMessage">
        <wsdl:part name="parameters" element="tns:CancelOrderOilOrTireResponse"/>
    </wsdl:message>
    <wsdl:message name="IEngineOilService_GetOilSaleOrder_InputMessage">
        <wsdl:part name="parameters" element="tns:GetOilSaleOrder"/>
    </wsdl:message>
    <wsdl:message name="IEngineOilService_GetOilSaleOrder_OutputMessage">
        <wsdl:part name="parameters" element="tns:GetOilSaleOrderResponse"/>
    </wsdl:message>
    <wsdl:message name="IEngineOilService_GetOilAllocation_InputMessage">
        <wsdl:part name="parameters" element="tns:GetOilAllocation"/>
    </wsdl:message>
    <wsdl:message name="IEngineOilService_GetOilAllocation_OutputMessage">
        <wsdl:part name="parameters" element="tns:GetOilAllocationResponse"/>
    </wsdl:message>
    <wsdl:portType name="TireEngineOilServicePortType" wsp:PolicyURIs="#UTOverTransport">
        <wsdl:operation name="CancelOrderOilOrTire">
            <wsdl:input message="tns:IEngineOilService_CancelOrderOilOrTire_InputMessage" wsaw:Action="http://tempuri.org/IEngineOilService/CancelOrderOilOrTire"/>
            <wsdl:output message="tns:IEngineOilService_CancelOrderOilOrTire_OutputMessage" wsaw:Action="http://tempuri.org/IEngineOilService/CancelOrderOilOrTireResponse"/>
        </wsdl:operation>
        <wsdl:operation name="GetOilSaleOrder">
            <wsdl:input message="tns:IEngineOilService_GetOilSaleOrder_InputMessage" wsaw:Action="http://tempuri.org/IEngineOilService/GetOilSaleOrder"/>
            <wsdl:output message="tns:IEngineOilService_GetOilSaleOrder_OutputMessage" wsaw:Action="http://tempuri.org/IEngineOilService/GetOilSaleOrderResponse"/>
        </wsdl:operation>
        <wsdl:operation name="GetOilAllocation">
            <wsdl:input message="tns:IEngineOilService_GetOilAllocation_InputMessage" wsaw:Action="http://tempuri.org/IEngineOilService/GetOilAllocation"/>
            <wsdl:output message="tns:IEngineOilService_GetOilAllocation_OutputMessage" wsaw:Action="http://tempuri.org/IEngineOilService/GetOilAllocationResponse"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="TireEngineOilServiceSoap11Binding" type="tns:TireEngineOilServicePortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="CancelOrderOilOrTire">
            <soap:operation soapAction="http://tempuri.org/IEngineOilService/CancelOrderOilOrTire" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="GetOilSaleOrder">
            <soap:operation soapAction="http://tempuri.org/IEngineOilService/GetOilSaleOrder" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="GetOilAllocation">
            <soap:operation soapAction="http://tempuri.org/IEngineOilService/GetOilAllocation" 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="TireEngineOilServiceSoap12Binding" type="tns:TireEngineOilServicePortType">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="CancelOrderOilOrTire">
            <soap12:operation soapAction="http://tempuri.org/IEngineOilService/CancelOrderOilOrTire" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="GetOilSaleOrder">
            <soap12:operation soapAction="http://tempuri.org/IEngineOilService/GetOilSaleOrder" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="GetOilAllocation">
            <soap12:operation soapAction="http://tempuri.org/IEngineOilService/GetOilAllocation" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="TireEngineOilServiceHttpBinding" type="tns:TireEngineOilServicePortType">
        <http:binding verb="POST"/>
        <wsdl:operation name="CancelOrderOilOrTire">
            <http:operation location="CancelOrderOilOrTire"/>
            <wsdl:input>
                <mime:content type="text/xml" part="parameters"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" part="parameters"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="GetOilSaleOrder">
            <http:operation location="GetOilSaleOrder"/>
            <wsdl:input>
                <mime:content type="text/xml" part="parameters"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" part="parameters"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="GetOilAllocation">
            <http:operation location="GetOilAllocation"/>
            <wsdl:input>
                <mime:content type="text/xml" part="parameters"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" part="parameters"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="TireEngineOilService">
        <wsdl:port name="TireEngineOilServiceHttpsSoap11Endpoint" binding="tns:TireEngineOilServiceSoap11Binding">
            <soap:address location="https://sr-cix.ntsw.ir:443/services/TireEngineOilService.TireEngineOilServiceHttpsSoap11Endpoint"/>
        </wsdl:port>
        <wsdl:port name="TireEngineOilServiceHttpSoap11Endpoint" binding="tns:TireEngineOilServiceSoap11Binding">
            <soap:address location="http://sr-cix.ntsw.ir:80/services/TireEngineOilService.TireEngineOilServiceHttpSoap11Endpoint"/>
        </wsdl:port>
        <wsdl:port name="TireEngineOilServiceHttpSoap12Endpoint" binding="tns:TireEngineOilServiceSoap12Binding">
            <soap12:address location="http://sr-cix.ntsw.ir:80/services/TireEngineOilService.TireEngineOilServiceHttpSoap12Endpoint"/>
        </wsdl:port>
        <wsdl:port name="TireEngineOilServiceHttpsSoap12Endpoint" binding="tns:TireEngineOilServiceSoap12Binding">
            <soap12:address location="https://sr-cix.ntsw.ir:443/services/TireEngineOilService.TireEngineOilServiceHttpsSoap12Endpoint"/>
        </wsdl:port>
        <wsdl:port name="TireEngineOilServiceHttpsEndpoint" binding="tns:TireEngineOilServiceHttpBinding">
            <http:address location="https://sr-cix.ntsw.ir:443/services/TireEngineOilService.TireEngineOilServiceHttpsEndpoint"/>
        </wsdl:port>
        <wsdl:port name="TireEngineOilServiceHttpEndpoint" binding="tns:TireEngineOilServiceHttpBinding">
            <http:address location="http://sr-cix.ntsw.ir:80/services/TireEngineOilService.TireEngineOilServiceHttpEndpoint"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>