I am trying to invoke MSCRM webservice (.net webservice) which requires domain authentication.
I have written a simple java program to invoke the web service. I am running this program from windows.
Well following is the issue that I am facing
I login to my windows machine with domain username/password which has access to the webservice and invoke my java program. In this case it works fine.
If I login to my windows machine with domain username/password which does not have access to webservice and invoke my java program. It fails. It gives me error "soap:ServerServer was unable to process request.0x80041d1fThe user Id is invalid.Platform"
Well I have tried following things
1. tried to use
2. tried to use java.net.Authenticator class
But no success!
Can someone please help me out ?