Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > How can I remove XML tags from ASP.NET web service?

Reply
Thread Tools

How can I remove XML tags from ASP.NET web service?

 
 
Guest
Posts: n/a
 
      11-24-2005
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




 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      11-24-2005
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: <(E-Mail Removed)>
| 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#(E-Mail Removed)>
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
| NNTP-Posting-Host: 220.248.118.10
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservic es:30946
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
|
| 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
|
|
|
|
|

 
Reply With Quote
 
 
 
 
Guest
Posts: n/a
 
      11-24-2005
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

"Steven Cheng[MSFT]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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: <(E-Mail Removed)>
> | 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#(E-Mail Removed)>
> | Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
> | NNTP-Posting-Host: 220.248.118.10
> | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
> | Xref: TK2MSFTNGXA02.phx.gbl
> microsoft.public.dotnet.framework.aspnet.webservic es:30946
> | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
> |
> | 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
> |
> |
> |
> |
> |
>



 
Reply With Quote
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      11-24-2005
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.)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
extract plain-text from xml-file / remove all tags peter pilsl XML 1 11-18-2007 09:51 PM
remove extraenious information between XML tags Jarry XML 2 08-29-2006 11:56 AM
How can I remove XML tags from ASP.NET web service return values? DonaldN ASP .Net Web Services 1 02-17-2006 08:42 AM
How To Remove Empty XML Tags? eric.jester@gmail.com Java 3 04-25-2005 03:44 AM



Advertisments