wcf: How to use wsHttpBinding under IIS6 when anonymous authentication not allowed

Discussion in 'ASP .Net Web Services' started by CS ADNT, Mar 16, 2010.

  1. CS ADNT

    CS ADNT Guest

    Hello,

    My asp.net web application (vs2008/ net 3.5) is using IIS Windows
    Authentication ,and Anonymous access is not allowed.
    I deployed a wcf web service using wsHttpBinding and receive a
    MessageSecurityException when I try to call any ws method.

    My web config contains the service definition with endpoint, I tried to use
    in the WsHttpBinding a <secutity mod="Message" > because I have not https
    available on this server but I need a secure connection.

    How to set correctly the security mode for binding and client ?
    How to have impersonation working in the wcf service without having it using
    the asp.net compatibility mode ?

    Thanks for help.

    CS
     
    CS ADNT, Mar 16, 2010
    #1
    1. Advertisements

  2. CS ADNT

    amitjul Guest

    RE: wcf: How to use wsHttpBinding under IIS6 when anonymous authentica

    I found really good article on Code project --
    http://www.codeproject.com/KB/WCF/WCFBasicHttpBinding.aspx?msg=3104044

    "CS ADNT" wrote:

    > Hello,
    >
    > My asp.net web application (vs2008/ net 3.5) is using IIS Windows
    > Authentication ,and Anonymous access is not allowed.
    > I deployed a wcf web service using wsHttpBinding and receive a
    > MessageSecurityException when I try to call any ws method.
    >
    > My web config contains the service definition with endpoint, I tried to use
    > in the WsHttpBinding a <secutity mod="Message" > because I have not https
    > available on this server but I need a secure connection.
    >
    > How to set correctly the security mode for binding and client ?
    > How to have impersonation working in the wcf service without having it using
    > the asp.net compatibility mode ?
    >
    > Thanks for help.
    >
    > CS
    >
     
    amitjul, Mar 25, 2010
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ilyas
    Replies:
    2
    Views:
    2,243
    Ilyas
    Feb 22, 2009
  2. Simon
    Replies:
    0
    Views:
    1,325
    Simon
    Oct 13, 2009
  3. Cindy Lee
    Replies:
    1
    Views:
    3,418
    Mr. Arnold
    Mar 19, 2010
  4. Hiten
    Replies:
    3
    Views:
    287
    Paul Clement
    Apr 26, 2005
  5. Chris Mullins [MVP - C#]

    WCF / wsHttpBinding / Digital Signature Corruption (!!)

    Chris Mullins [MVP - C#], Sep 28, 2007, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    414
    Chris Mullins [MVP - C#]
    Sep 28, 2007
  6. CS ADNT
    Replies:
    0
    Views:
    1,002
    CS ADNT
    Mar 16, 2010
  7. Jack Black
    Replies:
    4
    Views:
    287
    Jack Black
    Feb 14, 2007
  8. Iñaki Baz Castillo
    Replies:
    13
    Views:
    827
    Iñaki Baz Castillo
    May 1, 2011
Loading...