axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Etches, Adam \(GE Infra, Energy\)" <adam.etc...@ge.com>
Subject RE: getCurrentMessageContext() returns null when invoked from an EJB?
Date Tue, 22 Jan 2008 10:12:39 GMT
I'm invoking a web service which implementation is an EJB.

  _____  

From: Afkham Azeez [mailto:afkham@gmail.com] 
Sent: 22 January 2008 05:51
To: axis-user@ws.apache.org
Subject: Re: getCurrentMessageContext() returns null when invoked from
an EJB?


Are you trying to invoke a Web service from within an EJB or are you
trying to invoke an EJB from within a Web service?

Azeez


On Jan 21, 2008 8:09 PM, Etches, Adam (GE Infra, Energy)
<adam.etches@ge.com> wrote:


	Hi all first time posting... 

	 

	I have been looking at implementing web services in axis2-1.3
with EJB 2.1. I need to get a handle on the message from with in the
service implementation.  I believe the correct approach for this is to
invoke the method getCurrentMessageContext() on MessageContext from with
in the service.

	 

	I have tried this in a test pojo service which correctly returns
the message context but when called *BUT* when invoking this method from
an EJB null is returned.

	 

	Does anyone know why the getCurrentMessageContext()  returns
null when invoked from an EJB?   

	 

	thanks

	Adam

	 




-- 
Thanks
Afkham Azeez

http://www.wso2.org
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760 

Mime
View raw message