using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System;      // Wymagane dla klasy String.
{
   public class Service
.
.
.
      [WebMethod]
      public void SetStockExchange(string Exchange)
      {

         HttpApplicationState app;
         app = HttpContext.Current.Application;
         app["exchange"] = Exchange;
      }

      [WebMethod]
      public string GetStockExchange()
      {
         HttpApplicationState app;
         app = HttpContext.Current.Application;
         return app["exchange"].ToString();
      }
