[thelist] HTTP Request

Chris.Marsh at Callserve.com Chris.Marsh at Callserve.com
Thu Jan 27 07:28:59 CST 2005


I am receiving XML from an HTTP request, which I then load into a DOM
document. Recently I've been getting unspecified errors, and the XML has not
been loading. The following snippet illustrates what I'm doing:

Set xmldoc = Server.CreateObject("Msxml2.DOMDocument")

xmldoc.resolveExternals = False
xmldoc.validateOnParse = False
xmldoc.Async = False
xmldoc.setProperty "ServerHTTPRequest", True

bXMLLoaded = xmldoc.load(Request)

My initial thought would be that the XML is malformed in some way, but as I
don't have control over the XML that's being sent I don't know. Can anyone
tell me how to capture the body of the HTTP request via my ASP script so
that I can then write it to a file for analysis?

Many thanks!

Chris Marsh
Web Developer
Callserve Communications Ltd
2 Harbour Exchange Square
London E14 9GE
www.callserve.com  www.phoneserve.com
Tel: + 44 (0) 207 517 7130
Fax: + 44 (0) 207 517 7101

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and delete the email immediately. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. 

Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.

Finally, the recipient should check this email and any attachments for the presence of viruses. Callserve Communications accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan

More information about the thelist mailing list