Hi,

I'm working on an app which will run on the Compact Framework 1.x.

The app will be docked to a workstation. The workstation will be logged
in to the LAN with a valid NT user account.

This app consumes a Web Service which will be located on the LAN.

When the app then calls the Web Service, i was hoping that the user
credentials from the workstation would be sent to Web Service - but my
Web Service call fails, and this has leed my to believe that no user
credentials are sent to the Web Service. Am i right?

Anybody knows?

- Martin K. Jensen

Re: Sending User Credentials over the Wire by Sergey

Sergey
Tue Feb 14 09:31:40 CST 2006

No, you have to explicily set credentials when calling Web method. Since
CF1.0 does't support NTLM Authentication and works only with Digest or
Basic Auhtentication, you have to read Mark Ihimoyan's post about NTLM:
http://blogs.msdn.com/ihimmar/archive/2005/06/07/426500.aspx


--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


kloppie wrote:
> Hi,
>
> I'm working on an app which will run on the Compact Framework 1.x.
>
> The app will be docked to a workstation. The workstation will be logged
> in to the LAN with a valid NT user account.
>
> This app consumes a Web Service which will be located on the LAN.
>
> When the app then calls the Web Service, i was hoping that the user
> credentials from the workstation would be sent to Web Service - but my
> Web Service call fails, and this has leed my to believe that no user
> credentials are sent to the Web Service. Am i right?
>
> Anybody knows?
>
> - Martin K. Jensen
>

Re: Sending User Credentials over the Wire by kloppie

kloppie
Wed Feb 15 01:04:28 CST 2006

Thank Sergey,

just the info i needed.

What about CF 2.0?

--
Martin K. Jensen [.NET MCP]


Re: Sending User Credentials over the Wire by Sergey

Sergey
Wed Feb 15 05:42:52 CST 2006

The .NET Compact Framework 2.0 now supports NTLM and Kerberos
authentication also. For more information what's new in CF2.0 see this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/whats_new_netcf2.asp


--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


kloppie wrote:
> Thank Sergey,
>
> just the info i needed.
>
> What about CF 2.0?
>
> --
> Martin K. Jensen [.NET MCP]
>