473,847 Members | 1,420 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 1589
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
2211
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
2625
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
1711
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
2027
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
1506
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
3176
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
1296
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
4385
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
4401
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
9892
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9734
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
10653
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10347
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
7888
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
7061
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
5915
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4540
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
3
3168
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.