hi all..
i'm requesting a server response... through http request..
what i'm getting back will be an xml page.. can any one help me to accept this..?
whn i searched , what i got is a code like this...
if (String.Compare (this.Request.C ontentType, "text/xml", true) != 0)
{
throw new ApplicationExce ption("Invalid content type specified");
}
Response.Clear( );
Response.Conten tType = "text/xml";
System.Xml.XmlD ocument oRespDoc = prepareResponse Document(strNam e);
Response.Write( oRespDoc.InnerX ml);
this.Response.E nd();
but Response cant be found in the context...
can any one help me ....
the code is in c# and i'm developing it for windows mobile...
i'm requesting a server response... through http request..
what i'm getting back will be an xml page.. can any one help me to accept this..?
whn i searched , what i got is a code like this...
if (String.Compare (this.Request.C ontentType, "text/xml", true) != 0)
{
throw new ApplicationExce ption("Invalid content type specified");
}
Response.Clear( );
Response.Conten tType = "text/xml";
System.Xml.XmlD ocument oRespDoc = prepareResponse Document(strNam e);
Response.Write( oRespDoc.InnerX ml);
this.Response.E nd();
but Response cant be found in the context...
can any one help me ....
the code is in c# and i'm developing it for windows mobile...
Comment