Re: IIS6 </Message> tag appends to end when buffer flushed

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: MiLoS (milos_at_hella.net)
Date: 07/27/04


Date: Tue, 27 Jul 2004 09:16:07 -0400

David,

Essentially what I am doing is outlined below, not much to it, create an
object and execute its method to return XML data.

<%@ Language=VBScript %>
<% OPTION EXPLICIT

dim o
dim xmlData

set o = Server.CreateObject("Sample.Component")
sArg = Request.Querystring("ARG")

Response.AddHeader "Some", "Value"
Response.Flush 'Seems to cause the </Message> to appear

Response.Write o.Execute( sArg)

%>

The proxy is just a debug tool to view data that is being sent back and
forth between the two applications and is the MS Soap toolkit 3 trace
utility.

Oddly enough I have seen the same type of response viewing the www.cnn.com
site within the trace utility, and I believe the are on nix based servers.
This sort of leads me to believe this could be some kind of protocol or odd
characteristic of the MS trace utility.

Thanx Again

"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:OmwTwJ4cEHA.692@TK2MSFTNGP11.phx.gbl...
> Well, there's no feature in IIS to add the </Message> tag, so you should
> start looking at your proxy code. How exactly are you doing this? Does
it
> look something like the following (feel free to clarify).
>
> Browser <-A-> ASP <-B-> (something to invoke Web Service) <-C-> Web
Service
> <-D-> Local Component on Server.
>
> Right now, you've indicated that at point A, you observe </Message> being
> added to the XML that is returned by the ASP. Since there are at least
six
> intervening steps between A and the Local Component on Server, you'll need
> to start checking them all.
>
> --
> //David
> IIS
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> //
> "MiLoS" <milos@hella.net> wrote in message
> news:emAe%23tzcEHA.3096@tk2msftngp13.phx.gbl...
> David,
> Thanx for your reply.
>
> This was a fresh install of a 2003 server specifically for this one web
> service. There are not any custom server extensions or ISAPI filters
> running. Essentially the web service is just a proxy to relay XML data
from
> a local component on the server.
>
>
>
> "David Wang [Msft]" <someone@online.microsoft.com> wrote in message
> news:%23SK8EZRcEHA.3300@TK2MSFTNGP09.phx.gbl...
> > Are you running any custom server extension or ISAPI code that is doing
> > this? It sounds like there is such an ISAPI Filter which is writing
that
> > tag on every SF_NOTIFY_SEND_RAW_DATA (so explains why it happens when
you
> > turn off buffering or explicitly call flush). IIS6 does not ship with
any
> > such filters, so it is custom code you've installed.
> >
> > --
> > //David
> > IIS
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> > //
> > "MiLoS" <milos@hella.net> wrote in message
> > news:umPGg9McEHA.2880@TK2MSFTNGP12.phx.gbl...
> > I have an issue where I am sending back xml content using ASP.
> > When I flush the buffer or turn the buffering off their seems to be a
end
> > tag that gets appended to the end of this response.
> > There is no begin tag to match. In the trace I can simply see this tag
> > added:
> > 3C 2F 4D 65 73 73 61 67 65 3E </Message>
> >
> > Is this a setting somewhere in IIS or is this as designed ??
> > I have not been able to find a lot on this issue as you can imagine how
> > difficult it is to search the web for the word 'message' :)
> >
> > TIA
> >
> >
> >
> >
>
>
>



Relevant Pages

  • Re: IIS6 </Message> tag appends to end when buffer flushed
    ... this does not look like an issue with IIS. ... site within the trace utility, and I believe the are on nix based servers. ... > Local Component on Server. ... >> tag that gets appended to the end of this response. ...
    (microsoft.public.inetserver.iis)
  • Re: proxy class - xml
    ... The Trace Utility (in soap toolkit 3) can be used to trace SOAP message at ... For clientside, we can use it through the ... server, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: QUERY: Anybody out there?
    ... better server process linkability for stuff like bots ... XML data as easily as HTML. ... If the client announces HTML ...
    (rec.games.mud.admin)
  • Re: I have a questions after I remove the tag
    ... You really want to be using XML parsers to handle XML data like SMIL. ... The intention with LogURL is to have say SQL server and an ASP page ... receive the Logging request and take some action, ...
    (microsoft.public.windowsmedia.server)
  • Re: Binding XML data to Pivot Table
    ... set properties, and then use this instance to generate XML data for a ... but the XML data generated by server side ... Nikhil Dabke ...
    (microsoft.public.office.developer.web.components)