axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject Re: unable to engage the addressing module
Date Tue, 20 Feb 2007 11:44:13 GMT
On Tue, 2007-02-20 at 17:02 +0530, Thilina Gunarathne wrote:
> 
> > In this case the modules in the repository for the server will not
> be
> > used, unless you explicitly provide the ConfigurationContext of the
> > Axis2 server to your service client using the appropriate
> constructor.
> What I meant from the above is that you can reuse the configContext
> which belong to the Axis2 server, which is pointing to the Axis2 repo
> of the Axis2 web app... You can obtain it within a service by calling,
> MessageContext.getCurrentMessageContext().getConfigurationContext()... 


hmmm, this does not work. 

The result of MessageContext.getCurrentMessageContext() is null if
called this way

public class Test {

 public Test() {
	MessageContext ctx = MessageContext.getCurrentMessageContext();
	// ctx is null
 }	
}


Michele


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message