Click here to Skip to main content
14,770,048 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I create a Web Service to fetch the following information:

name
afid
price
date

from a web site?

Can you point me to some sample code or articles?
Posted
Updated 6-Jul-10 22:48pm
v2

It looks like you have a specific site in mind. Unless they expose the data in some way you have no means of getting it other than, perhaps, by screen scraping. You can create a web service to expose your own data to the world. If you do a search on Code Project you would find many excellent articles that will tell you how to create a web service.
   
Well i would suggest you to start from here:
Your first C# Web Service[^]

You can pass/fetch whatever object you like using them. Try!
   
If it is not your website then you would not be able to fetch name etc even if you build a website. Those who own the website, need to host this web service.

Check with the website to see if they have provided some API that helps you fetch these details.
   

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




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900