Ask a Question related to ASP Components, Design and Development.
-
deathtospam@gmail.com #1
MSXML2.ServerXMLHTTP yielding unrecognized response
'm using a VBScript/ASP page to submit a request to a (JSP) page on a
remote server, using "MSXML2.ServerXMLHTTP". Here's the main code I'm
using:
================================
....
Set oXmlServerHttp = Server.CreateObject("MSXML2.ServerXMLHTTP.3.0")
Call oXmlServerHttp.SetTimeouts(10000, 10000, 10000, 10000)
Call oXmlServerHttp.Open("GET", sRequestURL, True, Null, Null)
Call oXmlServerHttp.Send()
bResponseReceived = False
If (oXmlServerHttp.ReadyState = 4) Then
bResponseReceived = True
Else
bResponseReceived = oXmlServerHttp.WaitForResponse(30)
End If
....
================================
When I try to submit the call, I get the following error: "The server
returned an invalid or unrecognized response". The script is failing
on the line "bResponseReceived = oXmlServerHttp.WaitForResponse(30)" --
does anybody have an idea on why it is failing, and a possible solution?
deathtospam@gmail.com Guest
-
ServerXMLHTTP returns error 424
On a Windows Server 2003 SP1with MSXML 6 installed. No proxy server is used. Extraction of ASP code: Set objHTTP =... -
Yielding a flex app
I am creating a function with a loop that checks a variable to determine when to quit. The variable is updated when the user clicks on a UI object... -
DotNet WS from VB6 with MSXML2.XMLHTTP
I'm trying to consume a WS from Excel (Office 98), seems that I can't send arguments into the WS. In order to pinpoint the problem I've written the... -
Help: CDML based script search yielding 0 records returns ALL of them.
I have a database that from within FMPro 6, there's no problems. However when I transfer the simple command of doing scripted searches for certain... -
MSXML2.ServerXMLHTTP vs. Microsoft.XMLHTTP
> So I looked on google and found from some discussion board that I need No, you don't. This object is not safe for server-side requests. You... -
Brian Staff #2
Re: MSXML2.ServerXMLHTTP yielding unrecognized response
With an ASYNC call, I think you need to look at priming a callback function.
Maybe try a NON-ASYNC call and loop waiting for a "4" ReadyState.
Brian
Brian Staff Guest
-
deathtospam@gmail.com #3
Re: MSXML2.ServerXMLHTTP yielding unrecognized response
If you're doing a non-asynchronous call, it waits until
oXmlServerHttp.Send() finishes before it returns a result -- which
means you won't need a loop to poll the ReadyState value. And it still
returns the same error message.....
-= Tek Boy =-
deathtospam@gmail.com Guest
-
Brian Staff #4
Re: MSXML2.ServerXMLHTTP yielding unrecognized response
<VA.00000310.a974d0c5@bstaffw2k.jda.corp.local>
<1135107097.120031.164520@g43g2000cwa.googlegroups .com>
Newsgroups: microsoft.public.inetserver.asp.components
NNTP-Posting-Host: gw.jda.com 65.160.56.2
Path: number1.nntp.dca.giganews.com!border2.nntp.dca.gig anews.com!border1.nntp.dca.giganews.com!nntp.gigan ews.com!nx02.iad01.newshosting.com!newshosting.com !news.alt.net!msrtrans!TK2MSFTNGP08.phx.gbl!tk2msf tngp13.phx.gbl
Lines: 1
Xref: number1.nntp.dca.giganews.com microsoft.public.inetserver.asp.components:45797
you're right...my bad!> If you're doing a non-asynchronous call, it waits until
> oXmlServerHttp.Send() finishes before it returns a result -- which
> means you won't need a loop to poll the ReadyState value. And it still
> returns the same error message.....
Brian Staff Guest



Reply With Quote

