PDA

View Full Version : How to get XML data from page post?


BigDaddy
03-09-2004, 04:23 AM
If I receive XML as an http post, how do I get to it using an asp page? I can verify that it's there--by viewing the server variables...but I can't get it by the request object.

Thanks for the help.

Alex Vincent
03-09-2004, 08:01 PM
Interesting you raise this question. I've been working on a client-side HTTP POST widget using XMLHttpRequest() objects, and it's pretty stable.

But I gather from your comment that you are talking about ASP receiving an HTTP POST message from a user-agent such as Internet Explorer or Netscape. If that is the case, sir, then this thread is unfortunately in the wrong forum. There is an ASP forum which would be much more suitable for that. (I say this because ASP is a server-side technology, and XML is usually a format for exchanging data.)

However, I could be wrong, and if I am, please clarify for me. If this thread does belong in the ASP forum, please say so, and I or one of the other moderators will be happy to move this thread there for you. (Please don't open a new thread in the ASP forum, though.)

BigDaddy
03-09-2004, 08:07 PM
It would be an asp page receiving an XML http post from a source other than an ASP source. It would probably be something such as a VB app. I have to be honest, in that I double-posted. I put it here as well as the ASP forum, as it is regarding XML, and I figured there might be some folks here who could give me some insight.

In any event, this post could be deleted, as I've since figured out the solution. I believe I posted it in the other forum.

Thanks.