Let us assume a situation in which a website is providing a free web service of weather reports. We can consume that service and display these weather reports in our website. One fine day, they have had enough and stop the web service permanently. They are still displaying the weather report in their website. You want to capture that information and display it in your website.
Now this virtual web service comes into the picture. Even though they are not providing a web service, you can make their website itself into a virtual web service. To implement this kind of solution, you need a basic understanding of WSDL Pattern Matching apart from usual web service consuming procedures in .net.
Before you implement this solution, you should obtain permission from the website from which you intend to extract information. I am going to explain this concept by using an example from http://www.taryatechnologies.com/. You are also free to use this website.
Assume you would like to show the services in the page http://www.taryatechnologies.com/aboutus.asp in your web page as your own services.
We achieve this in three steps.
Step 1: Create a WSDL File
Step 2: Build a Proxy Class With the Above WSDL File
Step 3: Write Code for Consuming the Web Service