[jboss-user] [JBoss Web Services] - Is there a way to access the information send in the SOAPHeader within an endpoint EJB?
Maria Sanchez
do-not-reply at jboss.com
Thu Jul 15 11:24:10 EDT 2010
Maria Sanchez [http://community.jboss.org/people/mesanchez] replied to the discussion
"Is there a way to access the information send in the SOAPHeader within an endpoint EJB?"
To view the discussion, visit: http://community.jboss.org/message/552839#552839
--------------------------------------------------------------
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
[http://community.jboss.org/message/552839#552839]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100715/5f5bc143/attachment.html
More information about the jboss-user
mailing list