使用dime传输大附件的设置(WSE & Soap toolkit)

前面一段时间弄WSE和Soap ToolKit与Delphi交互的问题
网上这方面资料很少,弄得焦头烂额的
在此总结几点,希望对看官有益
WSE 2.0中,在Web.config和App.config中加入
  <microsoft.web.services2>
      <messaging>
       <maxRequestLength>628000</maxRequestLength>
    </messaging>
    <diagnostics />
  </microsoft.web.services2>
注意:要在项目文件中的WSE2.0 Settings中选中第一页的项后
再修改

Soap ToolKit 3.0中,只能使用 Low Level API
通过修改DimePaser30的初始方法
HRESULT Initialize(
        [in, optional, defaultvalue("")] BSTR par_tempFolder,
        [in, optional, defaultvalue(10)] long par_maxSize);
中par_maxSize值,单位为mb

原文地址:https://www.cnblogs.com/calmzeal/p/311429.html