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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]