Questions tagged [serverxmlhttp]

Object Model component on Windows systems that provides methods and properties that enable you to establish an HTTP connection between files or objects on different Web servers. It's part of MSXML services.

Can be used in .Net applications or in WSH script through MSXML2.ServerXMLHTTP ActiveX objects.

Documentation: MSDN

127 questions
166
votes
6 answers

How can I send an HTTP POST request to a server from Excel using VBA?

What VBA code is required to perform an HTTP POST from an Excel spreadsheet?
Matthew Murdoch
  • 30,874
  • 30
  • 96
  • 127
19
votes
1 answer

How do I use MSXML2.ServerXMLHTTP to grab data from another site?

We have the folowing link: http://mvp.sos.state.ga.us/ Rather than create a db to replicate information that MVP page, we would like to use our own form, and then behind the scenes, send information to the site above to get results back using…
Chidi Okeh
  • 1,537
  • 8
  • 28
  • 50
17
votes
3 answers

differences between Msxml2.ServerXMLHTTP and WinHttp.WinHttpRequest?

just when I finally understood the difference between Msxml2.XMLHTTP and Msxml2.ServerXMLHTTP http://support.microsoft.com/kb/290761 XMLHTTP is designed for client applications and relies on URLMon, which is built upon Microsoft Win32 Internet…
opensas
  • 60,462
  • 79
  • 252
  • 386
12
votes
1 answer

Can't connect to server over HTTPS which uses a SHA2 certificate using MSXML2.ServerXMLHTTP

We updated our SSL certificate to SHA2, but the intermediate certificate was SHA1. Chrome and other browsers have decided that the entire chain must be SHA2. Our customers were calling concerned about the yellow caution in the address bar. Rumor has…
9
votes
3 answers

msxml3.dll error '80072ee2' in ASP Page

We have just moved to a new dedicated server that has Windows 2008 and SQL Server 2008. I am trying to access an ASP page on the same server using Server.CreateObject("MSXML2.ServerXMLHTTP"). On our previous 2003 server this worked correctly,…
neojakey
  • 1,633
  • 4
  • 24
  • 36
7
votes
4 answers

IXMLHttpRequest.responseXml is empty, with no parse error, when responseText contains valid Xml

i am fetching some XML from a government web-site: http://www.bankofcanada.ca/stats/assets/rates_rss/noon/en_all.xml i am using the following, fairly simple code: var szUrl: string; http: IXMLHTTPRequest; begin szUrl :=…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
7
votes
4 answers

How do I fire an asynchronous call in asp classic and ignore the response?

Here's the gist: I have a call I want to make in asp, and I do not care about the response. I just want to fire the call and I do not want the page to wait for the response. According to the documentation, it should look something like this: dim…
Hexate
6
votes
2 answers

Setting a timeout for ServerXMLHTTP request

Does anyone know how to set up set up a default action for when a ServerXMLHTTP request times out? I'm using setTimeouts() to set the time out options according to the MSDN site. Ideally I would like to initialize the request again from the…
Choy
  • 2,087
  • 10
  • 37
  • 48
6
votes
1 answer

How do I prevent ServerXMLHTTP from automatically following redirects (HTTP 303 See Other responses)?

I am using ServerXMLHTTP to perform an HTTP POST. The response returned is a redirect (specifically 303 See Other). ServerXMLHTTP is automatically following this redirect but this is causing an authentication failure as is not propagating the…
Matthew Murdoch
  • 30,874
  • 30
  • 96
  • 127
5
votes
1 answer

msxml3.dll error '80072ee2' The operation timed out

I have a classic ASP page that is reading an external rss feed (xml document) and then displaying it on a web page. This was working fine until my website was moved to a new server. I think it is now Windows 2008. My script is now timing out. I…
Ben
  • 897
  • 2
  • 16
  • 34
5
votes
2 answers

CreateObject("MSXML2.serverXMLHTTP.6.0") and CreateObject("WinHttp.WinHttpRequest.5.1") crashes with 100+ objects/requests running at the same time

I am trying to create 100-300 HTTP objects/requests at the same time using MSXML2.serverXMLHTTP.6.0 or WinHttp.WinHttpRequest.5.1. These requests are created on separate threads using a test application. Everything works fine with up-to 90 create…
DoIt
  • 313
  • 3
  • 12
5
votes
2 answers

How do I set the character set using XMLHttp Object for a POST in classic ASP?

I have to use the XMLHttp object in classic ASP in order to send some data to another server via HTTP from server to server: sURL = SOME_URL Set oXHttp = Server.CreateObject("Msxml2.XMLHTTP") oXHttp.open "POST", sURL, false…
splattne
  • 102,760
  • 52
  • 202
  • 249
4
votes
1 answer

Unable to let my script run through the end

I've written a script in vba using ServerXMLHTTP requests in order to be able to use proxy along with setting timeout parameter within it. When I run the script, it appears to be working but the problem is - it gets stuck after using the first…
robots.txt
  • 96
  • 2
  • 10
  • 36
4
votes
1 answer

Custom header with MSXML2.ServerXMLHTTP

I am currently trying to use MSXML2.ServerXMLHTTP to send a POST http request. I need to add a custom header "Auth" so that my requests get authorized but it doesn't seem to work. Here is the code for my post function: Function post(path As String,…
Youcef Medjellakh
  • 118
  • 1
  • 1
  • 11
4
votes
1 answer

convert utf-8 to iso-8859-1 in classic asp

My site now works purely in UTF-8, but in order to send an SMS using serverXMLHTTP I need to convert my message from UTF-8 til ISO-8859-1 before sending it. The situation is parallel to this: a.asp:
PC-Gram
  • 81
  • 1
  • 2
  • 11
1
2 3
8 9