Hi all
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.
But
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
dispatch.getRequestContext().put(Dispatch.USERNAME_PROPERTY,
"xyzdomain
username");
dispatch.getRequestContext().put(Dispatch.PASSWORD_PROPERTY,
"password");
2. tried to use java.net.Authenticator class
But no success!
Can someone please help me out ?
Thanks
~PP
-
MS CRM (.net) Webservice and JAX-WS authentication (0 messages)
- Posted by: Preetam Palwe
- Posted on: February 23 2009 10:58 EST