Hi all,

The right way to go is:

ConfigurationContext confCtx =
       
ConfigurationContextFactory.createConfigurationContextFromFileSystem(repo,
axis2xml);

AxisConfiguration axisConfig = confCtx.getAxisConfiguration();

HashMap serviceMap = axisConfig.getServices();

What has confused me, is that in the javadoc the first parameter of the
createConfigurationContextFromFileSystem(path, axis2xml) is said to be the
path to the repository. It is actually the absolute path to the WEB-INF
directory (Don't know if repository is really what it is meant there)

Regards

---------- Forwarded message ----------
From: Vasil Benov <[EMAIL PROTECTED]>
Date: Jan 23, 2007 12:29 PM
Subject: [AXIS2] How to get available services in a fully programmatic way
To: [email protected]

Hi all,

How do i get a list of all available services on Axis2 in a fully
programmatic way?
For example with a servlet which uses the same Axis2 runtime.

Regards
Vasil

--
Vasil Benov,
Mobile: +359(0)889/202682
@-mail: benovv at gmail dot com
ICQ: 140269988

GPG Fingerprint: 2CDC 5DA0 4C0A 7C06 5259  DE12 ACF3 177C 8906 0908
Public Key URL:
   *) http://random.sks.keyserver.penguin.de/

--
Vasil Benov,
Mobile: +359(0)889/202682
@-mail: benovv at gmail dot com
ICQ: 140269988

GPG Fingerprint: 2CDC 5DA0 4C0A 7C06 5259  DE12 ACF3 177C 8906 0908
Public Key URL:
   *) http://random.sks.keyserver.penguin.de/

Reply via email to