1. Anders Emil Salvesen
  2. nettadmsa2

Overview

TTM4135 NettAdm Semester Assignments Sprint 2012

Requirements

  • Run Linux

Add the following to the build path:

  • Apache Jena, download latest from the Jena website and add all jar-files to a /path/to/project/lib.
  • Apache Axis2, download latest binary distribution from the Axis2 website. Unzip it to the folder /opt/axis2 for build.xml to work without any modifications.

You can run with the axis-server both as standalone and under tomcat. This is tested with tomcat7.

  • Install tomcat7 through apt-get.
  • Download the axis2.war-file from Axis2 website and place under /var/lib/tomcat7/webapps/

How to run

Open a terminal, go to the project directory.

Service

ant generate.service

SemanticService.aar will be copied to /var/lib/tomcat7/webapps/axis2/WEB-INF/services.

To update the service, move the file out of that directory, refresh your website, and move the file back.

Client

ant run.client

Will run getValue on defttl