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
4
votes
1 answer

VBA HTTP GET request - cookies with colons

I am trying to send an HTTP GET request in VBA which includes a cookie containing a colon character, like so: objReq.Open "GET", "http://my.url.com?foo=bar", False objReq.setRequestHeader "Cookie",…
wlgreg
  • 451
  • 4
  • 8
4
votes
1 answer

msxml server-side classic ASP and certificate

I have a classic ASP application that does a pretty simple server-side GET. I have used the same code for years and across hundreds of users without a problem. But, now just one user reports the following error: msxml3.dll error '80072f06' The host…
donchanger
  • 61
  • 1
  • 5
3
votes
0 answers

VB 6.0 - ServerXMLHTTP - An error occured in the secure channel support

Public Sub GetAPIToken(aUserName As String, aPassword As String, aResponse As String) Dim WinHttpReq As Object Dim strURL As String, strJSON As String Set WinHttpReq = CreateObject("MSXML2.ServerXMLHTTP") strURL =…
3
votes
0 answers

MSXML2.ServerXMLHTTP HTTPS "The connection with the server was terminated abnormally "

I have the following test code in VBA in an EXCEL spreadsheet. I am attempting to use MSXML2.ServerXMLHTTP to retrieve JSON from a remote service (the final might require storing and sending cookies to create a session to get the date so I am…
hairy_marmite
  • 129
  • 2
  • 8
3
votes
1 answer

VBA ServerXMLHTTP code works in Windows 7 but fails in Windows 10

Using VBA in Microsoft Access, I am sending XML to a server to get a response string. It works fine in Windows 7. Recently, some users have upgraded to Windows 10, and this no longers works (all users on Office 16). The specific error…
av155
  • 31
  • 2
3
votes
1 answer

VBscript Asynchronous XMLHttp Call

for a project I'm working on I'm attempting to do a Asynchronous XMLHTTP Call. I'm using the following code: soapmessage = _ ""& vbcrlf& vbcrlf & _ "
Dirk R.
  • 171
  • 1
  • 13
3
votes
2 answers

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…
Henry E Taylor
3
votes
1 answer

Identifying correct client certificate for ServerXMLHTTP.SetOption

I have three client certificates installed in Windows 7 and need to use a specific one to authenticate a ServerXMLHTTP60 call using VBA. Calling ServerXMLHTTP60.SetOption with the friendly name of the certificate returns with no error. But the…
3
votes
1 answer

same server, get url: vbscript msxml3.dll 80004005 unspecified error, or msxml6.dll error '80072ee6' System error: -2147012890

What's the correct way to get the output of an asp page located on the same server? <% GetUrl "/route/to/abc/123/" Function GetUrl(url) Set objXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP.3.0") objXMLHTTP.open "GET", URL, false …
frumbert
  • 2,323
  • 5
  • 30
  • 61
3
votes
1 answer

MSXML2.ServerXMLHTTP late binding "send" method with BSTR fails with "the parameter is incorrect"

I'm having a VERY strange behavior with MSXML2.ServerXMLHTTP/MSXML2.XMLHTTP.3.0. The problem is with the send method. which can accept BSTR/SAFEARRAY/XMLDOC object/IStream This code works fine and worked for years (the usage of FServiceUrl, FReqXML…
kobik
  • 21,001
  • 4
  • 61
  • 121
3
votes
3 answers

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…
Colin Ramsay
  • 16,086
  • 9
  • 52
  • 57
3
votes
3 answers

server is giving me the following error msxml3.dll

I'm using classic ASP and Server.XMLHTTP. My code has been working for years and all of a sudden today, across different servers, i get this error: msxml3.dll error 80072f7d All the multiple servers are all calling the same server that's called the…
Damien
  • 4,093
  • 9
  • 39
  • 52
3
votes
2 answers

What is the prefix of an XML document which does not have a prefix defined?

Update Thanks to florent I now realize I used the wrong term in the question (originally: 'What is the namespace of an XML document which does not have a namespace defined?'). Also, I think now I am asking two questions: 1. can one assign a prefix…
Sander_P
  • 1,787
  • 1
  • 13
  • 37
3
votes
0 answers

XML-RPC HTTPS POST USING MSXML2.ServerXMLHTTP.6.0 VB 6

RPC using MSXML2.ServerXMLHTTP.6.0 in VB6 the server I am communicating with is using SSL trough port 40052 and a self signed CA, I have tried to make it work for about 2 days now before posting, I hope someone can help. My problem is when i call…
dsylebee
  • 31
  • 1
  • 1
  • 3
2
votes
0 answers

How to track down ServerXMLHTTP memory leaks / calls?

We are monitoring the execution of database job using a in-house tool which requires an URL call after the job has been finished. For our SQL jobs we use custom function (to be found here) that creates an MSXML2.ServerXMLHTTP.3.0 Object to send the…
1
2
3
8 9