History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: EJBTHREE-757
Type: Bug Bug
Status: Reopened Reopened
Priority: Critical Critical
Assignee: Unassigned
Reporter: ppc
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
EJB 3.0

getMessageContext Not Implemented

Created: 24/Oct/06 05:58 AM   Updated: 11/Apr/08 10:05 AM
Component/s: None
Affects Version/s: EJB 3.0 RC9 - FD , AS 4.2.0 GA
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Unit test: jaxws
Issue Links:
Dependency
 
This issue is a dependency of:
JBPAPP-620 EJBTHREE-757: getMessageContext Not I... Major Open
Duplicate
 
This issue is duplicated by:
JBWS-1443 getMessageContext Not Implemented Major Resolved
Related
This issue related:
EJBTHREE-900 Injection of WebServiceContext doesn'... Critical Closed
This issue is related to:
JBAS-4572 EJB 3 testsuite 100% Blocker Closed

JBoss Forum Reference: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=93151


 Description  « Hide
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 :(

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order:
Carlo de Wolf [20/Dec/06 05:15 AM]
Missing functionality.

Carlo de Wolf [01/Mar/07 08:26 AM]
AS 4.2 now says: "IllegalStateException: No message context found"

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.

Carlo de Wolf [04/Oct/07 05:19 AM]
Cheered too soon.
EJB 3 3.5.2 defines the use of JAX-RPC clients.