Returning HTML free response?

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" />

&nbsp;
</form>
</body>
</HTML>
 
A

AP

Never mind I found it. There was some boilerplate hidden on the HTML tab of
the aspx page.
Thanks,

Adam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,815
Latest member
treekmostly22

Latest Threads

Top