"Sasha" <no@no.com> wrote in message
news:ur**************@TK2MSFTNGP10.phx.gbl...
Hi,
I need to send xml file to an asp page.. I have no idea how to do it... I
only know that I need to do HTTPRequest Post... Could someone help? Maybe
there are some examples on the Web?
Thank you,
Sash
Use something like this in an asp script (where strXML is your xml in a
string)
<%
Dim strXML
strXML = "<SendXML><node>Hello world</node></SendXML>"
Dim xmlhttp
'use the ServerXMLHTTP object, if called from an asp page
'because xmlhttp uses winInet, and is not suitable for
'server applications
Set xmlhttp = Server.CreateObject("Msxml2.ServerXMLHTTP")
xmlhttp.Open "POST", "http://somewebsite.com/receive.asp", False 'make it
async
xmlhttp.send strXML
%>