R
Roberto Rocco
Hello,
I'm writing a Pocket PC application using Compact Framework that consumes a
web service where only Windows Integrated Authentication is allowed.
My code looks like this:
MyService myWebService = new MyService();
ICredentials credentials = new NetworkCredential (username, password);
myWebService.Credentials = credentials;
myWebService.PreAuthenticate = true;
myWebService.Url = url;
myWebService.MyMethod ();
Calling the MyMethod method rises a WebException without any further
comments.
When I run the very same code in the "big" .NET Framework then everything
works as expected.
If the web service is set-up to accept Basic Authentication then my Compact
Framework code works pretty good as well.
So questions are:
1. Is Windows Integrated Authentication not supported in Compact Framework??
2. If so, how can I enable it, eventually P/Invoking something???
Many thanks in advance,
Roberto Rocco.
I'm writing a Pocket PC application using Compact Framework that consumes a
web service where only Windows Integrated Authentication is allowed.
My code looks like this:
MyService myWebService = new MyService();
ICredentials credentials = new NetworkCredential (username, password);
myWebService.Credentials = credentials;
myWebService.PreAuthenticate = true;
myWebService.Url = url;
myWebService.MyMethod ();
Calling the MyMethod method rises a WebException without any further
comments.
When I run the very same code in the "big" .NET Framework then everything
works as expected.
If the web service is set-up to accept Basic Authentication then my Compact
Framework code works pretty good as well.
So questions are:
1. Is Windows Integrated Authentication not supported in Compact Framework??
2. If so, how can I enable it, eventually P/Invoking something???
Many thanks in advance,
Roberto Rocco.