Groups | Blog | Home
all groups > asp.net webservices > november 2005 >

asp.net webservices : How can I remove XML tags from ASP.NET web service?


younger NO[at]SPAM newsgroups.nospam
11/23/2005 12:00:00 AM
Hi,

I am developing a simple ASP.NET web service and its consumer will be an
embedded device.

The devices calls the method, and the method returns succefully. But the
response is surrounded by XML tags, which is not recognized by the device. I
wonder if there is any way for me to control the response? That is if I
wrote "return "Hello world!", only "Hello world" is shown in the response.

Thank you!

BR
Younger Wang



younger NO[at]SPAM newsgroups.nospam
11/24/2005 12:00:00 AM
Hi Steven,

I don't know which group I am posting to. I did not receive my first post,
that's why I had to post again.

I know the advantages of XML web service, but the device is simply too weak.
I will read about HTTPHandler. Thanks for the help!

BR
Younger Wang

[quoted text, click to view]

stcheng NO[at]SPAM online.microsoft.com
11/24/2005 12:00:00 AM
Thanks for your quick response Younger,

So I think you've seen my reply in another thread. Well, I think we can
contine discuss in either one as you feel convenient. Also, please feel
free to post here when there is anything we can help.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
stcheng NO[at]SPAM online.microsoft.com
11/24/2005 7:03:39 AM
Hi Younger,

Thanks for your posting. Regarding on this issue, I've also found your
another duplicated thread in the same newsgroup. I've posted my reply
there. I'd appreciate if you have a look there. Also if you feel it
convenient that we continue to discuss in that thread, please feel free to
post there.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: <younger@newsgroups.nospam>
| Subject: How can I remove XML tags from ASP.NET web service?
| Date: Thu, 24 Nov 2005 12:28:58 +0800
| Lines: 18
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| X-RFC2646: Format=Flowed; Original
| Message-ID: <eJ9EU#K8FHA.3484@TK2MSFTNGP14.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| NNTP-Posting-Host: 220.248.118.10
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:30946
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
|
| Hi,
|
| I am developing a simple ASP.NET web service and its consumer will be an
| embedded device.
|
| The devices calls the method, and the method returns succefully. But the
| response is surrounded by XML tags, which is not recognized by the
device. I
| wonder if there is any way for me to control the response? That is if I
| wrote "return "Hello world!", only "Hello world" is shown in the response.
|
| Thank you!
|
| BR
| Younger Wang
|
|
|
|
|
AddThis Social Bookmark Button