"System.Net.WebException: The request failed with HTTP
status 401: Unauthorized".
If you use an authentication on your webservice like Integrated Windows Authentication, you may have to pre-authenticate before using your webservice:
WebService.webClass myWC= new WebService.webClass();
myWC.PreAuthenticate = true;
myWC.Credentials = System.Net.CredentialCache.DefaultCredentials;