Hi, I am having web service with number of methods. We are using integrated windows authentication for this web service. This service is working fine with integrated windows authentication. If I call this service after two minutes of idle time, for first request I will get 401 error as below. But later subsequent requests are working fine. This error is coming only, if web service is idle for more than 2 mins. This behavior is happening only in some of the machines. I am feeling this as strange behavior. Any ideas would be greatly appreciated. System.ApplicationException: URL=http://localhost/CAWSSSTap/VDistributionWebService.asmx ---> System.Net.WebException: The request failed with HTTP status 401: Unauthorized. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at MS.IT.OperationsServices.CommercialService.ServiceAgents.CommercialService.VLKeyDistributionWebServiceWse.Ping(String requestXml) in D:\PASD_Rosi\Activation\application\CWS\TAP\CommercialService.ServiceAgents.CommercialService\Web References\VDistributionWebService\Reference.cs:line 48 at MS.IT.OperationsServices.CommercialService.ServiceAgents.CommercialService.VLKeyDistributionServiceWebServiceAgent.Ping(String requestXml) in D:\PASD_Rosi\Activation\application\CWS\TAP\CommercialService.ServiceAgents.CommercialService\VLKeyDistributionServiceWebServiceAgent.cs:line 583 --- End of inner exception stack trace --- at MS.IT.OperationsServices.CommercialService.ServiceAgents.CommercialService.VLKeyDistributionServiceWebServiceAgent.Ping(String requestXml) in D:\PASD_Rosi\Activation\application\CWS\TAP\CommercialService.ServiceAgents.CommercialService\VLKeyDistributionServiceWebServiceAgent.cs:line 591 at MS.IT.OperationsServices.CommercialService.Test.VLCWSTestClient.Form1.CallServiceAgent() in D:\PASD_Rosi\Activation\application\CWS\TAP\CommercialService.Test.VLCWSTestClient\Form1.cs:line 865 at MS.IT.OperationsServices.CommercialService.Test.VLCWSTestClient.Form1.btnCallKeyDistributionWebService_Click(Object sender, EventArgs e) in D:\PASD_Rosi\Activation\application\CWS\TAP\CommercialService.Test.VLCWSTestClient\Form1.cs:line 680 Thanks & Regards Rosi Reddy. R
Don't see what you're looking for? Try a search.
|