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.
I just got hit by a difference: When the Web Server (IIS) is configured to allow only Windows Authentication, not anonymous access, the ServerXMLHTTP calls fail with an authentication error whereas the XMLHTTP calls do not. It seems that the XMLHTTP object automatically handles sending the Windows Authentication credentials when needed. I suspect that adding NetworkCredentials to the ServerXMLHTTP object should be the best solution but I could only find Basic Authentication which explicitly passes plaintext uid/pwd (obviously unacceptable).