473,794 Members | 2,754 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pocket PC Passing credentials to webservice?

Hello,

Win Forms app is able to connect to my webservice passing credentials as
follows-

myService.Crede ntials=System.N et.CredentialsC ache.DefaultCre dentials;

Compact Framework does not have a CredentialsCach e class. Is there an
alternate way of passing default credentials?

Thanks.
jay



Jun 26 '06 #1
2 1585
Since DefaultCredenti als pass a NTLM token to the server, the device cannot
use defaultcredenti als.

You will have to either allow anonymous acces on the webservice, or use
another authentication mecanism such certificate or asking the user a
user/password...

Steve

"Jay Balapa" <jb*****@hotmai l.com> a écrit dans le message de news:
eW************* *@TK2MSFTNGP03. phx.gbl...
Hello,

Win Forms app is able to connect to my webservice passing credentials as
follows-

myService.Crede ntials=System.N et.CredentialsC ache.DefaultCre dentials;

Compact Framework does not have a CredentialsCach e class. Is there an
alternate way of passing default credentials?

Thanks.
jay



Jun 26 '06 #2
Steve:

Can you elaborate on the use certificates?

Thanks,

Marc

"Steve B." wrote:
Since DefaultCredenti als pass a NTLM token to the server, the device cannot
use defaultcredenti als.

You will have to either allow anonymous acces on the webservice, or use
another authentication mecanism such certificate or asking the user a
user/password...

Steve

"Jay Balapa" <jb*****@hotmai l.com> a écrit dans le message de news:
eW************* *@TK2MSFTNGP03. phx.gbl...
Hello,

Win Forms app is able to connect to my webservice passing credentials as
follows-

myService.Crede ntials=System.N et.CredentialsC ache.DefaultCre dentials;

Compact Framework does not have a CredentialsCach e class. Is there an
alternate way of passing default credentials?

Thanks.
jay




Jun 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2208
by: Grind Boy | last post by:
Hi, I'm writing this off the top of my head as I don't have the exact information to hand. We are attempting to set up a secure internet site using ASP.NET on IIS5. We are having some authentication problems early on in the project. The plan is to have 1 ASP.NET (IIS) forms application serving user requests and another ASP.NET (IIS) webservice interfacing to the database.
7
2619
by: Wade Wegner | last post by:
Hello, I have been desperately trying to programmatically authenticate a windows user, create their credentials, and then redirect them to a different server while passing the credentials at the same time so that they don't have to login again. Specifically, I have two webservers in the same domain. When I have a user go to Webserver A (which uses basic authentication) I programmatically create either a user credential or impersonate...
1
1709
by: Steve Drake | last post by:
All, I have a WEBPAGE that needs to pass the current credentials to a .NET remoted object so this can pass the credentials to a SOAP WEBSERVICE (All written in C#) But I cannot see how I pass credentials to the remoted object, any ideas? If there was no remote layer then I could just do :
4
2024
by: Dan Higman | last post by:
I'm sure this is easy and I'll be embarrassed when I see the answer, but I just can't figure this one out. Using .Net/ASP 1.1 on a server using integrated authentication-- I have a web page (.aspx) that will collect some data from the user, call a web service to get additional data, and then merge and format the data back to the user's browser. But I want the web service to authenticate with the user's credentials, not the credentials of...
0
1505
by: solex | last post by:
Am I to assume that if I have a windows client using DotNet and VBA respectively that the way to pass the default credentials is: DotNET: ws.Credentials = System.Net.CredentialCache.DefaultCredentials VBA: ws.ConnectorProperty("ProxyServer") = "<CURRENT_USER>" If the above is true how do I then use the credentials in a webservice. I need to make a request to another server onbehalf of the users making the request. I have...
3
3173
by: Daniel Liberman | last post by:
Hi, everyone. That's my environment: - I have a pocket pc (iPAQ h4350) application developed with VSNET2003/C# that has a SQL Server CE Database, running. That's working fine. Obs: the pocket is NOT supposed to have a wireless conection available. - I have an access database on a standalone desktop running Windows XP, i.e., there is NO guaranteed network connection available. - I've developed a webservice with VSNET2003/C# too to do...
0
1295
by: Mark Gankin | last post by:
Hi, I'm trying to call Web Service located on my computer from asp.net web application: WebService ws = new WebService(); ws.Credentials = new NetworkCredential("user", "pwd", "domain/localcomp"); string test = ws.Method(param); When "user" is the interactive user the call works fine.
1
4377
by: ad | last post by:
When we new a web Service, the default in IIS is Allow Anonymous and Integrated Windows Authentication , we just use : WebService.webClass myWC= new WebService.webClass(); and then we can access the WebService thought myWC But I find some time it will fail with Access denid, and I must must use: WebService.webClass myWC= new WebService.webClass(); myWC.PreAuthenticate = true; myWC.Credentials =...
8
4397
by: amazon | last post by:
I have a following structure that I am using with array list: Private Structure arrayliststruct Public Name As String Public value As String Public type As String End Structure and following function to format arraylist the way I want and calling it from button click event: Private Function formatarray(ByVal inarray As ArrayList, _
0
9518
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10433
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10161
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6777
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4112
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.