5 Replies Latest reply on Nov 19, 2012 7:18 AM by Prateek Agarwal-Oracle

    @Policy Lifecycle ?

    Prateek Agarwal-Oracle
      I have created a WS with @Policy(uri = "policy:Wssp1.2-2007-Https-BasicAuth.xml" , attachToWsdl=false) and have created a AuthHandler that implements SOAPHandler<SOAPMessageContext> and I have overridden the Method to append HTTP header with Basic Auth details.

      But when I call it from SoapUI WITHOUT the username and password, it doesnot call the handler and I get no error.

      If I do the same WITH Username and password sent from the SOAP UI it works fine.

      My requirement is : I dont want the client to sent the username and password, instead I want to append that header in my handler and then take care of auth. How can i achieve so ?