serverxmlhttp

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

What VBA code is required to peform an HTTP POST from an Excel spreadsheet? Accepted Answer Note: For greater control over the HTTP request you can use "WinHttp.WinHttpRequest.5.1" in place of "MSXML2.ServerXMLHTTP" ...

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 Authorization header of the original request. Is there a way I can prevent the automatic redire...

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 oXHttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded;charset:ISO-8859-1;" sPost = SOME_F...

receiving xml from another website's call to ServerXMLHTTP post in classic asp

I am writing both sides of an asp-webpage to asp-webpage conversation in which the originating webpage pushs information to the receiving webpage which then processes it and sends back a response. The originating webpage must use the code below to start the converstation... url = "www.receivingwebsite.com\asp\receivingwebpage.asp" info...

What is MSXML2.ServerXMLHTTP's default Content-Type?

In my previous question, I was accidentally sending token/value pairs with an text/xml content-type which resulted in nothing being sent. Tim C's insight into that problem was extremely helpful. Thanks again, Tim!Looking back at the original sending code, I now realize that the setting of the ServerXMLHTTP's content-type to text/xml wa...

How should a http-handler fill the calling xmlhttp object's responsetext property?

Hi Everyone, I'm trying to implement a http handle (.ashx) using asp.net for an environment where the clients will be using serverxmlhttp to request information from the handler. Here is the code so far... CLIENT.ASPX <%@ Page Language="VB" %> <% On Error Resume Next Dim myserver_url As String = "http://mydomain.com/Server.a...

ServerXMLHTTP Error: Cannot find window class.

I am getting an error using the MsXml.ServerXmlHttp object from JScript under classic ASP when the call is asynchronous. The error message is "cannot find window class" The environment is: Windows Server 2003 SP2; IIS v6; Classic ASP; JScript When ServerXmlHttp.open is called with asynch = true the error occurs on the send method. Wh...

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 (WinInet). ServerXMLHTTP is designed for server applications and relies on a new HTTP clie...

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 xmlhttp : set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.Open "POST", ur...

Referrer not forwarded

We have the following probe query that works for a while, but it’s broken after most recent deploy onto a new set of machines. I debugged into our ISAPI Extension code and found out that the REFERRER was not forwarded over as expected. I checked the IIS settings, there is no difference between the machines showed problem and the produ...

XML and ServerXMLHTTP problem

Error Type: msxml3.dll (0x80072F0C) A certificate is required to complete client authentication I am sending an XML file to a remote server putUrl =https://www.myweb.com/test/drhandler.php xml_put = "<?xml version=""1.0""?><subscription id=""" & "14" &"""><status>" &"das" & "</status></subscription>" Public Function SendBatch(xml_p...

Replacement for ServerXMLHTTP30

Hello all, What is the best replacement for ServerXMLHTTP30 in .NET 3.5. Is HttpWebRequest good candidate? I am in the process of creating an application that will get a XML stream as a response to a request. Appreciate any tips/help or guidence. thank you. --Ranjit ...

xmlHttp, XML request,asp

Just to confirm When sending XML data with asp to https://www .site.com I am getting msxml3.dll (0x80072F0C) A certificate is required to complete client authentication I Talk to https://www .site.com IT and they said that they don't have to provide any certificate to install. IS it correct? here is the function Set xmlhttp = Server...

ASP/VBScript ServerXmlHttp Encoding

I'm pulling an RSS feed from a remote location using ServerXmlHttp: Dim httpRequest set httpRequest = server.createObject("Msxml2.ServerXMLHTTP.6.0") httpRequest.open "GET", "http://www.someurl.com/feed.xml", false httpRequest.send() response.write httpRequest.responseXML.xml However there must be encoding issues somewhere along the l...

How to decompress/inflate an XML response from ASP

Can anyone provide some insight into how i'd go about decompressing an XML response in classic ASP. We've been handed some code and asked to get it working: Set oXMLHttp = Server.CreateObject("MSXML2.ServerXMLHTTP") URL = HttpServer + re_domain + ".do;jsessionid=" + ue_session + "?" + data oXMLHttp.setTimeouts 5000, 60000, 1200000, 1200...

Access denied error with MSXML2.ServerXMLHTTP

I'm receiving an intermittent "msxml3.dll error '80070005' Access is denied." error. The object always posts back to the same domain. I don't quite know why it works sometimes and why it fails other times. This is Classic ASP - VBScript set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "POST", "http://xxxx.com/GetCache...

Classic ASP MSXML2.ServerHTTP Post - Youtube Api

I am trying to build an application where i can upload files to youtube. I have gotten OAuth working, and Youtube is returning a session! The problem i am having is, youtube requires i make an XMLHTTP POST to get a url where i can upload through my web page. I have no idea how to make an XMLHTTP Post with the extra parameters youtube r...

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 beginning or refresh the page should it time out. I'm using classic asp and jscript. Here's my...