Create a new project

The project configuration stage involves selecting the appropriate Java, JBoss, Servlet, and Axis2 versions.

Important: Problems at this stage may arise due to not having Eclipse configured to the location of Axis2 or the JBoss Community Plugin installed (see the topic Before you start for instructions). Make sure this has been set up before creating the project.
  1. Change the perspective to JAVA EE by Window > Open Perspective > Other. In the Open Perspective dialogue, select Java EE and press OK.
  2. From Eclipse select File > New > Dynamic Web Project.
  3. Type DynWebTest1 in the Project Name field.
  4. Click New Runtime in the Target Runtime. In the New Server Runtime Environment field type JBoss 6. This will show JBoss 6.x Runtime (under JBoss Community). Select this and click Next.
  5. A New Server Runtime Environment dialog box is displayed. Click Browse and navigate to the root folder to where JBoss has been installed.
  6. If this is correct, the text warning message at the top of the dialogue will disappear and new information will appear in the Configuration section. Make sure the folder is server and default is selected. Click Finish.
  7. Click Dynamic web module version and select 2.5 from the menu.
  8. Click Modify in the Configuration section. This brings up the Project Facet dialog box. Select Axis2 Web Services. Make sure Java 1.6 is selected (click on down arrow to change). Also make sure the Dynamic Web Module is set to 2.5.
  9. Click OK to close the Project Facet dialog box.
  10. Click Finish to generate the project.

A new project DynWebTest1 is added to the workspace.