using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;

[WebService(Namespace = "http://www.wrox.com/AsyncHelloWorld")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Async : System.Web.Services.WebService
{

    [WebMethod]
    public string HelloWorld() {
        System.Threading.Thread.Sleep(1000);
        return "Witaj świecie";
    }
    
}
