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

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

    some help from the great guys from Secure Webs, I decided to expose my site, http://www.123aspx.com , as a web service. I wanted to start with something simple, so I decided to expose the "What@#s New" ASP.NET resources. The "what@#s new" section contains the latest 12 additions to my site. Here is a quick tutorial around writing that webservice.

    Webservices in ASP.NET are built around the SOAP (Simple Object Access Protocol) and WSDL (Web Services Description Language). We@#re not going to get into these standards (WSDL, and SOAP), but instead, focus on creating a webservice and consuming it.

    Planning

    I decided to return a dataset object as my collection of new resources. I chose a dataset because most ASP.NET developers are already familiar with datasets, and they can easily be bound to datagrids. The dataset consists of 4 columns:

    Ҷƪл˵?
  • һƪConsuming a Webservice Part 2 of 2[等级:高级](转载:aspfree)
    һƪ一个用webservice behavior实现的三级联动下拉列表框