A
AP
Hi I have an aspx page that people can post raw XML to, that for now just
grabs whatever comes in and sends it back out. This page has no controls on
it. The problem is that the page is returning whatever comes in, plus some
HTML stuff that I don't want (see below). How can I prevent this?
Thanks,
Adam
Returned Output:
<?xml version="1.0" encoding="UTF-8" ?>
<ListingNotification>
...XML data omitted for posting
</ListingNotification>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>XMLReceive</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form name="Form1" method="post" action="XMLReceive.aspx" id="Form1">
<input type="hidden" name="__VIEWSTATE"
value="dDwtMTI3OTMzNDM4NDs7PjqiNzqg4KP9u3DyAkkNOfUXUEEX" />
</form>
</body>
</HTML>
grabs whatever comes in and sends it back out. This page has no controls on
it. The problem is that the page is returning whatever comes in, plus some
HTML stuff that I don't want (see below). How can I prevent this?
Thanks,
Adam
Returned Output:
<?xml version="1.0" encoding="UTF-8" ?>
<ListingNotification>
...XML data omitted for posting
</ListingNotification>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>XMLReceive</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form name="Form1" method="post" action="XMLReceive.aspx" id="Form1">
<input type="hidden" name="__VIEWSTATE"
value="dDwtMTI3OTMzNDM4NDs7PjqiNzqg4KP9u3DyAkkNOfUXUEEX" />
</form>
</body>
</HTML>