you can use "javax.servlet.http.HttpServletResponse" class to setHeader and add hedear Data to http Header in your servlet and use it in your WS.