<diffmk:wrapper>In this chapter you will learn how to change JBossWS preferences and how to set default server and runtime.</diffmk:wrapper>
In this section you will know how JBossWS preferences can be modified during the development process.
JBossWS preferences can be set on the JBossWS preference page. Click on Window > Preferences > JBoss Tools > Web > JBossWS Preferences.
On this page you can manage the JBossWS Runtime. Use the appropriate buttons to Add more runtimes or to Remove those that are not needed.
Clicking on Add or Edit <diffmk:wrapper> button will open the form where you can configure a new JBossWS runtime and change the path to JBossWS runtime home folder, modify the name and version of the existing JBossWS runtime settings. Press </diffmk:wrapper>Finish to apply the changes.
WS container allows Source and JavaDoc locations to be set via the Properties dialog on each contained .jar: right-click on any .jar file in the Project Explorer view, select Properties. Choose Java Source Attachment and select location (folder, JAR or zip) containing new source for the chosen .jar using one of the suggested options (workspace, external folder or file) or enter the path manually:
Click on Apply and then on Ok.
<diffmk:wrapper>To change JavaDoc Location choose </diffmk:wrapper>Javadoc Location and specify URL to the documentation generated by Javadoc. The Javadoc location will contain a file called package-list:
Click on Apply and then on Ok.
Open Window > Preferences > Web Services > Server and Runtime. On this page, you can specify a default server and runtime.
For ease of use, the better way is to set runtime to JBoss WS.
After server and runtime are specified, click on the <diffmk:wrapper>Apply</diffmk:wrapper> button to save the values.
On the whole, this guide covers the fundamental concepts of work with tooling for JBossWS. It describes how to easily create a Web Service and a Web Service Client using JBossWS Runtime and adjust JBossWS and development environment as well.
If the information on JBossWS tools in this guide isn't enough for you, ask questions on our forum. Your comments and suggestions are also welcome.