473,395 Members | 2,253 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

RSS vs Webservice

I don't see any difference b/w rss and webservices. Both are getting information from another website. If RSS is just an xml file then all we need to do is use it as a datasource for gridview and bind it. Am I missing something here?
Jul 8 '09 #1
7 8251
Curtis Rutland
3,256 Expert 2GB
Yes, you are missing a lot. ;)

RSS is just a feed. It's plain XML with a specific schema that is made to be consumable by RSS readers. Of course, knowing this schema, you can certainly bind it to a GridView or any other bindable control. But RSS is useful for news stories, or blog posts, or any kind of feed.

A web service, on the other hand (depending on the type, I'll assume you meant SOAP), accepts a properly formatted XML request and returns a response. Basically, it's a way to expose certain actions and information over the web. .NET obfuscates most of that for you, so in the end, what you are left with is like a web library...you can make calls to multiple web methods, and get serialized responses. This is useful for all kinds of things. For example, I've been using web services to expose a database for my Silverlight applications.

The two really aren't the same thing at all.
Jul 9 '09 #2
Frinavale
9,735 Expert Mod 8TB
Hmm, well the point of developing an RSS application is to be able to supply up-to-date Web logs (known as blogs) to other websites.

It's not really meant to be consumed in a single website or page...it's larger than that. It's meant to be sending feeds (an Atom/RSS document) to other websites about the content in your site (or whatever your reporting about). The other websites consume the feeds that your service generates....the other websites display the information contained in the feed to the end user in hopes that they'll be interested enough in it to link back to your site.

I don't think that RSS applications use Web Services either. They're more complicated than that... from what I understand, there's several components working together to make this possible.

You're going to have to implement a Service that manages the RSS feeds....it needs to be able to accept new feeds and send them out.

Check out Decentralized Software Services (DSS). I think it might get you started :)

-Frinny
Jul 9 '09 #3
Curtis Rutland
3,256 Expert 2GB
Some points of correction Frinny:
@Frinavale
RSS doesn't actually send anything. It just sits there, waiting to be consumed. I know you didn't mean it that way, but it is a common misconception that I've actually had to deal with here at the company recently.

And RSS is only as complicated as you want to make it. I made an RSS Feed for a site using a single ASPX page. I read the info from a DB, built the XML, then Response.Write() it and then Response.End();

OP, as you can see from that example that it doesn't have to be a static XML file, but it can be generated on the fly.

You could certainly bind an RSS feed to a GridView, assuming you provide an XmlDataSource and the proper XPath queries.
Jul 9 '09 #4
Frinavale
9,735 Expert Mod 8TB
@insertAlias
Thanks for the clarification iA. That is what I meant when I referred to RSS...

I've never actually developed an application like this. The topic was explained to me once in a....(oh beware: inner geeky-ness coming out)....a .NET user group meeting but since I have no need for it in my day-to-day development I've forgotten most of what was covered.

I just came across a pretty good article about Syndication that explains exactly what RSS is all about :)

[edit]
I just realised that I'm not even sure what the OP is developing.
Are you developing something that consumes RSS feeds?
[/edit]
Jul 9 '09 #5
Curtis Rutland
3,256 Expert 2GB
I believe I used that exact article when I was researching my project. 4guysfromrolla.com usually has good stuff.
Jul 9 '09 #6
Thanks Frinny and IA for your replies. Now I am clear about RSS. It is simply an xml document that is sitting on the server to be consumed by anyone. I wanted to use RSS feeds to display headlines and IT news in my website. Does anyone of you have links for headlines and microsoft IT news RSS feeds?
Jul 10 '09 #7
Curtis Rutland
3,256 Expert 2GB
Most blogs and sites will provide their RSS feeds. Just check your favorite sites.
Jul 10 '09 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: DraguVaso | last post by:
Hi, I'm new to WebServices, and I'm doing some tests (with a small VB.NET-application) to know the performance-difference between a WebService and the 'normal'-way of getting data (just...
6
by: Davie | last post by:
I want to authorise a user of a web service by using the AuthHeaderValue for some reason I keep getting a null reference exception when I try to run the following code: It seems to work fine on a...
1
by: Nalaka | last post by:
Hi, I am testing with Visual studio 2005, web projects. Situation: I have one solution with two web projects, created as file system projects. (I am tesing using the built in server, not IIS)...
2
by: Miguel | last post by:
Hi, I'm developing an application in C# with Windows Forms for my company that is similar to the MSN Messenger. This application uses a webservice for registering users, etc... and as 2...
7
by: Alessandro Benedetti | last post by:
Hi. I'm calling two methods of a .NET Webservice (A) from another Webservice (B). The A Webservice is made like this: public class WSA: System.Web.Services.WebService { private int X = 0;
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
5
by: AliR | last post by:
Hi Everyone, I have a Visual C++ MFC program, and I am trying to use a webservice written in C#. When I add the webservice to my project using Add Web Reference the sproxy compiler complains...
5
by: | last post by:
Hi, How long do webservice objects live for? In particular, if i have static variables filled with data from a static constructor in a webservice, how long will that data persist? thxs
0
by: =?Utf-8?B?TWFuaQ==?= | last post by:
Hi All, Problem in deploying my WebService developed using Asp.net WebServices 2005. I have designed simple WebService using Asp.net Webservices 2.0 , The webservice look this , using System;...
4
by: =?Utf-8?B?QmlsbEF0V29yaw==?= | last post by:
Hi, We recently converted a 1.1 project to 2.0 and this included a webservice which accepted XML for one of the parameters. Since converting to 2.0 I am getting the following message: --- A...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.