0 Replies Latest reply on Mar 15, 2005 3:59 PM by Sri

    Accessing http header fields from an EJB or interceptor

    Sri Newbie

      Is it possible to get hold of an http header field from an interceptor or a SLSB ?

      I know that it is quite easy to write a servlet filter do this but my requirement is as follows:

      I have an Axis webservice running within JBoss. One of the http header fields in every request is 'uuid' which is like the userid of the client that is accessing the webservice. I need to get hold of this uuid header field in a Session Bean or an interceptor so that I can do billing/metering (based on usage of the webservice). Is it possible to access http fields from an EJB or interceptor ? If there is no direct way, is there a technique or pattern that I can apply to achieve this.