Windows authentication in 3

From: Trebor (trebor1_at_hotmail.com)
Date: 11/22/04

  • Next message: Matt: "Re: Configuration Differences"
    Date: Mon, 22 Nov 2004 16:31:09 +0100
    
    

    Hi all.

     I'm designing a system consists of 3 parts:
    1.asp.net web client app
    2. web service router using Web service enhancements 2.0
    3. asp.net web service

    Web client app. calls web service via router. ( I successfully implemented
    this kind of behavior using anonymous access.)

    Now, when I try to use windows authentication, (or basic authentication) the
    web service router is
    not calling the dest. web service any more.

    I added these two lines in all web.config files

    <authentication mode="Windows" />
    <identity impersonate="true"/>

    as well as the following line:
    serviceProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;

    before calling the web service, but without success.

    When I call the destination web service directly (without routing)
    everything is O.K.

    So, I think that the problem resides on a web service router's side.

    I think that I need to pass credentials in a RouterHandler unit,
    but I don't know how to do that.

    Any help will be appreciated.

    Trebor


  • Next message: Matt: "Re: Configuration Differences"

    Relevant Pages

    • router, windows authentication and passing credentials
      ... web service router ... Web client app. ... Now, when I try to use windows authentication, the web service router is ... When I call the dest web service directly everything is ...
      (microsoft.public.dotnet.framework.webservices.enhancements)
    • RE: Asynchronous Web Service Method Failure
      ... this is an ASP page calling the ... >that pops up if the proxy can't reconcile the web method parameters. ... I cannot return a .pdf document object from a web service method ... >> On the server side, it's not a background thread any more than any other ...
      (microsoft.public.dotnet.framework.aspnet.webservices)
    • RE: OutOfMemoryException: Webservice, DataSet and file transport
      ... Calling the web service from a desktop pc gives no problems. ... achieve with the web method is updating the software. ... >> I keep the dataset in memory. ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: cross-thread UI updating?
      ... data from your Web Service in a worker thread instead of calling it ... time to execute. ... it is generally not a very good idea to use the EventHandler ...
      (microsoft.public.dotnet.framework.windowsforms)
    • Re: The underlying connection was closed
      ... I have written a web service that calls another web service. ... calling is third party, but written in .net. ... I am calling the 3rd party ws over https. ... No changes on the server or the source code. ...
      (microsoft.public.dotnet.framework.aspnet.webservices)