In this scenario, you want to display the ten most recent Health Day News articles related to cancer on your web site.
Your web page calls the GetLatestNews web service method, passing in a value of “10” for the MaxDocuments parameter, and a value of “cancer” for the SearchPhrase parameter. The result of this call is an XML document containing up to ten Document elements, one for each news document that matches the SearchPhrase parameter. If there are less than ten documents matching the SearchPhrase, the list will contain all that were found.
Your page transforms the result XML into a list of links and renders this in the section of the page you intend to display them in.