Differences between XMLHTTP and ServerXMLHTTP

后端 未结 4 912
心在旅途
心在旅途 2020-12-08 21:59

I\'m trying to write an Excel add-in that can get data from a web service into Excel.

To use it, the user just needs to type a function name provided by the add-in.

4条回答
  •  春和景丽
    2020-12-08 22:58

    The ServerXMLHTTP object utilises winhttp where as XMLHTTP utilises wininet.

    As wininet parses such matters as authentication and proxy configuration, such problems won't appear like they do when utilising ServerXMLHTTP. However the limited flexibility within XMLHTTP may force you to take-on the additional responsibilities with using ServerXMLHTTP, by having to negotiate server and destination end-point authentication mechanisms, although there are methods within winhttp to assist in this.

    When porting the more client based XMLHTTP to the more configurable robust ServerXMLHTTP object and classes, you may wonder why you hadn't done so long ago.

    Don't even get me started on the ill fated and now defunct WPAD support in either. :)

提交回复
热议问题