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.
- Change the perspective to JAVA EE by
Window >
Open Perspective >
Other. In the
Open Perspective dialogue, select
Java EE and press
OK.
- From Eclipse select
File > New > Dynamic Web Project.
- Type
DynWebTest1 in the
Project Name field.
- 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.
- A New Server Runtime Environment dialog box is displayed. Click
Browse and navigate to the root folder to where JBoss has been installed.
- 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.
- Click
Dynamic web module version and select 2.5 from the menu.
- 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.
- Click
OK to close the Project Facet dialog box.
- Click
Finish to generate the project.
A new project DynWebTest1 is added to the workspace.