Re: Anonymous and integrated authentication for Web service



David,
I did as you memtioned and it doesn't work
Here is client code
Dim oWS As New myServer.WebServiceMain
oWS.UseDefaultCredentials = True
oWS.Credentials = New System.Net.NetworkCredential("myID", "password",
"DOM")
oWS.PreAuthenticate = True
Dim oResponse As Object = oWS.Execute()

I am logging on the web service and it shows that the user in not
authenticated


"David Wang" wrote:



Change the client to .PreAuthenticate.

UseDefaultCredentials and Credentials property change the user
identity on authentication, not ordering of authentication.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

.



Relevant Pages

  • Re: Anonymous and integrated authentication for Web service
    ... Also might it have something to do with how my web reference is using the ... Dim oWS As New myServer.WebServiceMain ... UseDefaultCredentials and Credentials property change the user ... identity on authentication, not ordering of authentication. ...
    (microsoft.public.inetserver.iis.security)
  • Authentication & Authorization
    ... What is a recommended way using the WSE to handle authentication and ... role-based authorization between domain boundaries? ... (client code in DMZ, web ... represent these principals as X.509 certs or as a custom username and ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: How to get password server side with basic authentication
    ... | If I put in client code ... | on the server side in host on IIS (where do I set basic authentication) I ... The client IS authenticated with IIS. ...
    (microsoft.public.dotnet.languages.csharp)