jboss-4.0.4.GA with EJB3-RC9FD thows a NOT IMPLEMENTED Exception when form the SessionContext he method getMessageContext is called.
Form this version with the new JbossWS stack as far i know i not anymore possible to retreive a SOAP attachement .
With the old ws4ee was possible calling the org.jboss.axis.MessageContext.getCurrentContext(); without calling SessionContext but now all the axis stuff has been removed :(
Description
jboss-4.0.4.GA with EJB3-RC9FD thows a NOT IMPLEMENTED Exception when form the SessionContext he method getMessageContext is called.
Form this version with the new JbossWS stack as far i know i not anymore possible to retreive a SOAP attachement .
With the old ws4ee was possible calling the org.jboss.axis.MessageContext.getCurrentContext(); without calling SessionContext but now all the axis stuff has been removed :(
EJB3 only supports JAX-WS
EJB21 only supports JAX-RPC
IMHO it is illegal for an EJB3 endpoint to obtain a JAX-RPC MessageContext via the SessionContext.
The way to obtain a JAX-WS MessageContext is via injection.
Thomas Diesler [04/Oct/07 03:57 AM]
AFAIK
EJB3 only supports JAX-WS
EJB21 only supports JAX-RPC
IMHO it is illegal for an EJB3 endpoint to obtain a JAX-RPC MessageContext via the SessionContext.
The way to obtain a JAX-WS MessageContext is via injection.