views:

640

answers:

0

When I use absolute path (example below) in web application for the repository location and axis2.xml, it works fine but if I change it to relative path it does not.

Example: ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem("C:/myproject/repository" , "C:/myproject/conf/axis2.xml" );

How can I use relative path instead of absolute path using ConfigurationContex?

I am using AXIS2 1.3, Rampart 1.4 with Jboss server 4.2

Thank you, Shivani