topical media & game development
professional-xml-19-Listing-19-14.txt / txt
using System;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
[WebService(Namespace = "http://www.wrox.com/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class SlowBoy : System.Web.Services.WebService {
public SlowBoy () {
}
[WebMethod]
public int TakeLongTime() {
int x = 0;
for (int y = 1; y <= 1000; y++)
{
y += 1;
x = y;
}
return x;
}
}
(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.