private void configureResponseFromAxisFault(HttpServletResponse response,AxisFault fault){
  int status=getHttpServletResponseStatus(fault);
  if (status == HttpServletResponse.SC_UNAUTHORIZED) {
    response.setHeader("WWW-Authenticate","Basic realm=\"AXIS\"");
  }
  response.setStatus(status);
}

private void configureResponseFromAxisFault ( HttpServletResponse response , AxisFault fault ) { int status = getHttpServletResponseStatus ( fault ) ; if ( status == HttpServletResponse . SC_UNAUTHORIZED ) { response . setHeader ( "WWW-Authenticate" , "Basic realm=\"AXIS\"" ) ; } response . setStatus ( status ) ; }
configure the servlet response status code and maybe other headers from the fault info .
