topical media & game development

talk show tell print

professional-xml-21-Listing-21-4.txt / txt



  using System.Web.Services;
  using Microsoft.Web.Services3;
  
  [WebService(Namespace = "http://tempuri.org/")]
  [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
  
olicy("My WSE Policy")]
  public class Service : System.Web.Services.WebService
  {
      [WebMethod]
      public int Add(int a, int b) {
          return (a + b);
      }
      
  }
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.