<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WcfFileStreamingService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsp:Policy wsu:Id="BasicHttpBinding_IWcfFileStreamingService_policy">
    <wsp:ExactlyOne>
      <wsp:All>
        <wsoma:OptimizedMimeSerialization xmlns:wsoma="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization" />
      </wsp:All>
    </wsp:ExactlyOne>
  </wsp:Policy>
  <wsdl:types>
    <xsd:schema targetNamespace="http://tempuri.org/Imports">
      <xsd:import schemaLocation="http://oscommerce.bechelon.com.hk:9100/Service.svc?xsd=xsd1" namespace="http://tempuri.org/" />
      <xsd:import schemaLocation="http://oscommerce.bechelon.com.hk:9100/Service.svc?xsd=xsd0" namespace="http://schemas.microsoft.com/Message" />
      <xsd:import schemaLocation="http://oscommerce.bechelon.com.hk:9100/Service.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
    </xsd:schema>
  </wsdl:types>
  <wsdl:message name="UploadRequest">
    <wsdl:part name="parameters" element="tns:UploadRequest" />
  </wsdl:message>
  <wsdl:message name="UploadRequest_Headers">
    <wsdl:part name="FileName" element="tns:FileName" />
  </wsdl:message>
  <wsdl:message name="UploadResponse">
    <wsdl:part name="parameters" element="tns:UploadResponse" />
  </wsdl:message>
  <wsdl:message name="CrmUploadRequest">
    <wsdl:part name="parameters" element="tns:CrmUploadRequest" />
  </wsdl:message>
  <wsdl:message name="CrmUploadRequest_Headers">
    <wsdl:part name="CampaignLeadGuid" element="tns:CampaignLeadGuid" />
    <wsdl:part name="FileName" element="tns:FileName" />
  </wsdl:message>
  <wsdl:portType name="IWcfFileStreamingService">
    <wsdl:operation name="Upload">
      <wsdl:input wsaw:Action="http://tempuri.org/IWcfFileStreamingService/Upload" name="UploadRequest" message="tns:UploadRequest" />
      <wsdl:output wsaw:Action="http://tempuri.org/IWcfFileStreamingService/UploadResponse" name="UploadResponse" message="tns:UploadResponse" />
    </wsdl:operation>
    <wsdl:operation name="CrmUpload">
      <wsdl:input wsaw:Action="http://tempuri.org/IWcfFileStreamingService/CrmUpload" name="CrmUploadRequest" message="tns:CrmUploadRequest" />
      <wsdl:output wsaw:Action="http://tempuri.org/IWcfFileStreamingService/CrmUploadResponse" name="UploadResponse" message="tns:UploadResponse" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="BasicHttpBinding_IWcfFileStreamingService" type="tns:IWcfFileStreamingService">
    <wsp:PolicyReference URI="#BasicHttpBinding_IWcfFileStreamingService_policy" />
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="Upload">
      <soap:operation soapAction="http://tempuri.org/IWcfFileStreamingService/Upload" style="document" />
      <wsdl:input name="UploadRequest">
        <soap:header message="tns:UploadRequest_Headers" part="FileName" use="literal" />
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output name="UploadResponse">
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CrmUpload">
      <soap:operation soapAction="http://tempuri.org/IWcfFileStreamingService/CrmUpload" style="document" />
      <wsdl:input name="CrmUploadRequest">
        <soap:header message="tns:CrmUploadRequest_Headers" part="CampaignLeadGuid" use="literal" />
        <soap:header message="tns:CrmUploadRequest_Headers" part="FileName" use="literal" />
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output name="UploadResponse">
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="WcfFileStreamingService">
    <wsdl:port name="BasicHttpBinding_IWcfFileStreamingService" binding="tns:BasicHttpBinding_IWcfFileStreamingService">
      <soap:address location="http://oscommerce.bechelon.com.hk:9100/Service.svc" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>