I would like to say that WebService is the service interface in your application, and not the application itself.
To publish WebService in a hosting environment other than IIS (where your ASP.Net pages are located), you can use the following:
If you use Microsoft's WCF toolkit, that means; Create a "ServiceHost" (the actual class name) that can host your webservice implementation. This can be done in any application (ASP.Net, Winform, NT Service pages, and even a console application).
Hope this helps,
source share