M
Marja de Vroed
I'm trying to build a page which is able to receive and process an XML message that is posted to it by some other page.
The sending page is working fine, but I don't now how to 'pick up' the sent message in the receiving page.
Right now I have the following code:
' Load the posted XML document.
Set oXML = Server.Createobject("MSXML2.DOMDocument.4.0")
oXML.async = False
oXML.setProperty "ServerHTTPRequest", True
oXML.load(Request)
oXML.save Server.MapPath("/uploads/docs/Xml/received.xml")
Set oXML = Nothing
I'm trying to write the received XML message to disk, because then I have some evidence that the page did execute. However, no file gets written (the output directory does have write access).
Since the 'listening' page will never be loaded by a browser, and thus has no "user interface", I don't know how to test the above code other than by trying to write output to some file on disk.
What am I missing?
The sending page is working fine, but I don't now how to 'pick up' the sent message in the receiving page.
Right now I have the following code:
' Load the posted XML document.
Set oXML = Server.Createobject("MSXML2.DOMDocument.4.0")
oXML.async = False
oXML.setProperty "ServerHTTPRequest", True
oXML.load(Request)
oXML.save Server.MapPath("/uploads/docs/Xml/received.xml")
Set oXML = Nothing
I'm trying to write the received XML message to disk, because then I have some evidence that the page did execute. However, no file gets written (the output directory does have write access).
Since the 'listening' page will never be loaded by a browser, and thus has no "user interface", I don't know how to test the above code other than by trying to write output to some file on disk.
What am I missing?