A non portable way would be to call
Although it's not recommended. I need to look at the above issue...
I used a servlet enpoint to get messageContext implmenting the ServiceLifecycle interface. It's ok.
What I need make to get messageContext inside a EJB enpoint? The same way using ServiceLifecycle interface don't works.
In EJB-2.1 the JAXRPC MessageContext is available via
In EJB-3.0 the JAXWS MessageContext is injected via @Resource
This will be supported in jbossws-2.0
At this time how can i obtain a MessageContext in EJB3.0?
I tried to use ServiceLifecycle but it didn't work.
Is there a work around to get WebServiceContext in JBOSS 1.2.1 till the 2.0 is out ?
Any help would be appreciated