Click here to Skip to main content
14,447,096 members
Rate this:
Please Sign up or sign in to vote.
See more:
I downloaded one rss feed as xml in my pc.the xml is.
<?xml version="1.0" encoding="UTF-8" ?> 
- <!--  Generated on Sat, 17 Dec 2011 16:40:23 +0530 
  --> 
- <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
  <atom:link href="http://www.business-standard.com/rss/rss_icon.png" rel="self" type="application/rss+xml" /> 
- <title>
- <![CDATA[ Markets & Investing ->News Now
   
  </title>
  <link>http://www.business-standard.com/</link> 
  <description>The latest news from India's most respected business daily.</description> 
  <language>en-us</language> 
  <managingEditor>webtech@bsmail.in (Webmaster)</managingEditor> 
  <webMaster>webtech@bsmail.in (Webmaster)</webMaster> 
  <generator>PHP RSS Feed Generator</generator> 
- <image>
  <url>http://www.business-standard.com/india/images/logo_08.jpg</url> 
  <title>Business-Standard</title> 
  <link /> 
  <width>248</width> 
  <height>146</height> 
  </image>
- <item>
- <title>
- <![CDATA[ Gold snaps 5-day losing streak, gains Rs 75

   

  </title>
- <description>
- <![CDATA[ Snapping five-day losing streak, gold prices recovered Rs 75 to Rs 27,840 per 10 gram in the national capital today on buying at lower levels amid firm trend overseas.

   

  </description>
  <link>http://www.business-standard.com/india/news/gold-snaps-5-day-losing-streak-gains-rs-75/153154/on</link> 
  <pubDate>Sat, 17 Dec 2011 15:38:06 +0530</pubDate> 
  <guid isPermaLink="true">http://www.business-standard.com/india/news/gold-snaps-5-day-losing-streak-gains-rs-75/153154/on</guid> 
  </item>
- <item>
- <title>
- <![CDATA[ Weekly Report Sensex, Nifty hit 2-yr lows on growth woes

   

  </title>
- <description>
- <![CDATA[ In the week to December 16, benchmark share indices ended at their two-year lows weighed by dismal October IIP data, weakening rupee, high headline inflation and growth concerns.

   

  </description>
  <link>http://www.business-standard.com/india/news/weekly-report-sensex-nifty-hit-2-yr-lowsgrowth-woes/153144/on</link> 
  <pubDate>Sat, 17 Dec 2011 09:50:14 +0530</pubDate> 
  <guid isPermaLink="true">http://www.business-standard.com/india/news/weekly-report-sensex-nifty-hit-2-yr-lowsgrowth-woes/153144/on</guid> 
  </item>
- <item>
- <title>
- <![CDATA[ Growth sectors lead Wall Street higher

   

  </title>
- <description>
- <![CDATA[ US stocks rose on Friday with growth-related shares leading the way as investors focused on a brighter US economic outlook.

   

  </description>
  <link>http://www.business-standard.com/india/news/growth-sectors-lead-wall-street-higher/153139/on</link> 
  <pubDate>Fri, 16 Dec 2011 21:24:36 +0530</pubDate> 
  <guid isPermaLink="true">http://www.business-standard.com/india/news/growth-sectors-lead-wall-street-higher/153139/on</guid> 
  </item>

I want this XML to be my WCF service, my sir told me to make this as WCF service getting only title and description.

I am trying from morning and posted several times, how to implement the above as wcf service.
Posted
Updated 19-Dec-11 4:25am
v2

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

   
v2
Comments
satishmachineni 19-Dec-11 23:02pm
   
ya i wil go thru it , can u tell me how to return xml from webservice

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100