Re: HTTP Web Response Exception - I cant able to trap. You need to set the Credentials property of your service. To pass the
system credentials for the current security context, you can use
CredentialCache.DefaultCredentials.
For a service named SimpleService, it would look something like this:
[C#]
SimpleService ss = new SimpleService();
ss.Credentials = System.Net.CredentialCache.DefaultCredentials;
__________________ Raja. Myblog |