470,810 Members | 1,456 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,810 developers. It's quick & easy.

.NET web service client doesn't get authenticated by Java based se

I'm trying to create a simple test application that can talk with the Java
based web service. The problem is everytime I execute my client application
it comes back with an error message saying "Authentication Failure". I did
check the packets and it actually send out the message and server responds
back with the failure message.

My code looks like

proxyobj.Credentials = new NetworkCredential("id", "password");

I tried set proxyobj.PreAuthenticate = true; but doesn't make any difference.
Also I tried CredentialCache first and assign NetworkCredential object to
cache then assign the Cache to the proxyobj.Credentials. But all these
doesn't make any difference.

I'm wondering whether I'm setting the credential correctly or not. If I did
set the credentials correctly then is there something I need to know connect
..NET C# based web service to the Java based system?
The target machine runs on Sun-ONE system.

Please help me if you have any idea.

Thank you.
Feb 9 '06 #1
0 1233

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Valeriu Filip | last post: by
6 posts views Thread by WebMatrix | last post: by
4 posts views Thread by Kevin Burton | last post: by
reply views Thread by =?Utf-8?B?SmVmZiBCZWVt?= | last post: by
1 post views Thread by compurhythms | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.