1 Reply Latest reply on Jun 6, 2008 9:43 AM by Alessio Soldano

    Http Basic Authentication / GET and POST differences?

    Norbert Schollum Newbie


      we are using a JBossWS 2.0.1 client to access a Axis2 Webservice secured with Http Basic Authentication.

      The client side gets username and password to login this way:

      BindingProvider.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "username");

      The authentication to the webservice does only work, if GET requests to the WSDL file are excluded from the htaccess protection at the server side.

      obviosly the login credentials are only sent with POST requests to the webservice methods.

      Does anyone know, if this is intended to be this way? Is there a way to also authenticate for GET requests with the JBossWS client?