• λ我爱Aspx >> Asp.Net >> Consuming a Webservice Part 2 of 2[等级:高级](转载:aspfree)
  • Consuming a Webservice Part 2 of 2[等级:高级](转载:aspfree)

  • :aspxer  Դ:internet  :2007-5-28 20:37:28  ؼ:web,asp,webservice
  • Consuming a Webservice Part 2 of 2[等级:高级](转载:aspfree)

    iscovered how to create a webservice. In this article we@#re going to learn how to consume the 123aspx.com webservice and provide additional value to our users.

    Overview

    There are 3 parts to consuming a webservice:

    1. Discovering the methods are available.

    2. Creating a Proxy to the webservice.

    3. Calling the webservice

    Discovering the methods are available

    Before we can begin using a webserivce, we need to understand it. ASP.NET makes this extremely easy by providing a helper page. If you call a webservice from your browser, such as http://64.85.12.73/WebSvc/whatsnew123aspx_ds.asmx , ASP.NET provides us with a very readable interface. In this example, we can see we have only 1 method available to us: GetNewResources. Upon further examination, this webmethod returns a dataset. Here is a screen shot of this page.

    Ҷƪл˵?
  • һƪCreate and Control Windows Services--Not a Slap Shot, but Almost as Fast[等级:高级]
    һƪCreating a Webservice Part 1 of 2[等级:高级](转载:Aspfree)