Send XML String as Response
Posted
by Sri Kumar
on Stack Overflow
See other posts from Stack Overflow
or by Sri Kumar
Published on 2010-06-01T06:02:01Z
Indexed on
2010/06/01
7:23 UTC
Read the original article
Hit count: 236
Hello All,
I am getting my Request from a third party application(different domain) to my ASP application. I am handling the request and doing the business part in my application and as a acknowledgement I need to send XML string as Response to the same Page which POSTED the request to my Application. I was successful in retrieving the input from Request using the following code
NameValueCollection postPageCollection = Request.Form;
foreach (string name in postPageCollection.AllKeys)
{
... = postPageCollection[name]);
}
But i am not sure how to send back the response along with XML String to the site(different domain)?
EDIT: How to get the URL from where the POST happened.
© Stack Overflow or respective owner