One way to do it within an endpoint EJB:
@Resource
WebServiceContext ctx;
....
SOAPMessageContext msgc = (SOAPMessageContext) ctx.getMessageContext();
SOAPMessage soapMsg = msgc.getMessage();
// do what needed with information....
Reply to this message by going to Community
Start a new discussion in JBoss Web Services at Community