JBoss Community

Is there a way to access the information send in the SOAPHeader within an endpoint EJB?

reply from Maria Sanchez in JBoss Web Services - View the full discussion

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