Using Web Services
Centric provides a set of classes that can be exposed as Web Services, and
can be consumed by external applications using SOAP. To enable Web Services
the following software needs to be installed as a separate webapp under you
tomcat installation.
Apache Axis 1.2
http://ws.apache.org/axis/
You must have AXIS_HOME property defined as an environment variable OR as a
property in a file called "home.properties"
$ export AXIS_HOME=/path/to/apache-tomcat/webapps/axis
% Using System, in Windows Control Panel, set:
AXIS_HOME=c:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis
Make sure to edit 'Axis' related properties in the following properties file
$CENTRIC_HOME/WEB-INF/build.properties AXIS.WEBAPP=/axis AXIS.HOST=127.0.0.1 AXIS.PORT=8080
To make the web service classes available to external applications, register
Centric's Web Services with Axis. Run the following ant command:
$ ant ws The <axis-admin> [[http://ws.apache.org/axis/java/ant/axis-admin.html task]] is used to register CCRM services.
By default, Axis permissions require that you execute this command on the web server itself using localhost or 127.0.0.1.
If the command is successful, then you should be able to point your browser at
the following url and you will see the Centric's Web Services that were deployed
http:////servlet/AxisServlet/
Sign in to add your comment.