Hi!
I'm trying to send a xml to a webside og this should response with a
xml. But at my 'send-line' it gives me an exception:
The download of the specified resource has failed.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: The
download of the specified resource has failed.
Source Error:
Line 55: xmlServerHttp.open("POST",
"https://secure1.revilution.dk/api/index.php", False)
Line 56: xmlServerHttp.send(requestText)
Line 57: MsgBox(xmlServerHttp.responseXML.xml)
[COMException (0x800c0008): The download of the specified resource has
failed.]
MSXML2.XMLHTTPClass.send(Object varBody) +0
My code:
Dim requestText, serverResponseText As String
Dim xmlServerHttp As New MSXML2.XMLHTTPClass
requestText = functionToXML(methodName, paramList)
xmlServerHttp.open("POST",
"https://secure1.revilution.dk/api/index.php", False)
xmlServerHttp.send(requestText)
MsgBox(xmlServerHttp.responseXML.xml)
serverResponseText = xmlServerHttp.responseText
What do I do?
Haffe :)
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com