1. Installation guide 1. Download TomCat if you have not yet and install it under you system. We test our examples under TomCat v.5.0.* (http://tomcat.apache.org/tomcat-5.0-doc/index.html); Try to run TomCat and make sure that it work properly; Shutdown TomCat; 2. Download Axis2 Standard Binary Distribution from http://apache.net.ua/ws/axis2/1_1/axis2-1.1.zip and unfold it in some directory, for example: C:\Progs\axis2-1.1\ (AXIS2_HOME - in future references); 3. Download Axis2 WAR Distribution from http://apache.net.ua/ws/axis2/1_1/axis2.war rename this file into [axis2-1.1.war] and place it under %TOMCAT_HOME%\webapps; Start TomCat and go to the following http://localhost:8080/axis2-1.1/; Try to Validate Axis2 installation – if you experienced some problems refer to the Axis2 documentation and then come back to this place again; Try to view the list of web services: Services; 4. Checkout sessionman-example project from public SVN repository: http://sessionman.googlecode.com/svn/; 5. Define a variable AXIS2_HOME in the Eclipse. For do so you need to do following steps in Eclipse IDE v.3.2: [Window] -> [Preferences] -> [Java] -> [Build Path] -> [Classpath Variables] -> [New...] then place {AXIS2_HOME} at the name field and {your/path/to/axis2} at the Path field. Rebuild project after this; 6. Open build.properties file and correct two fields axis.home and eeserver.axis for your location of Axis2 and Axis2 under TomCat; 7. Run ant’s target "buildall" (default) in build.xml ; 8. Refresh project in the Eclipse; 9. Run ant’s target "deploy2eeserver" (default) in build.xml ; 10. Startup TomCat; 11. Validate service list: http://localhost:8080/axis2-1.1/services/listServices you must see SessionManExampleService under this list; 12. Validate WSDL of SessionManExampleService: http://localhost:8080/axis2-1.1/services/SessionManExampleService?wsdl 13. And finally you can run com.webtair.sessionman.example.SessionManExampleServiceTest as JUnit test to see how this example is working now. 14. If you still experience some problem with unit tests try to rerun target’s "lib4eclipse" and "deploy2eeserver" and restart TomCat after that; 2.License agreement Copyright 2006 www.webtair.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Enjoy ;) WebTair.com Team