Hi,

I have stored some parameters in my Axis2 application services.xml file and
I would like to retrieve them, for that I use:

=====
org.apache.axis2.context.MessageContext msgCtx = new
org.apache.axis2.context.MessageContext();
Parameter parameter = msgCtx.getParameter("myParameter");
=====

The problem is that I get a NullPointerException because msgCtx is null...
How can I get the correct value of msgCtx for my application?

Thanks in advance!

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Para atras, solo para tomar impulso!

http://chromewaves.blogspot.com/

Reply via email to