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");
proxyobj.setSomeService(Param);
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.