# Setting annotation preferences

When creating a JAX-WS web service in Eclipse, you need to add annotations to your Java code. These annotations are used to automatically generate the necessary WSDL and stub code for your service.

You can choose to:

- Have Eclipse generate annotations with default values without running the Annotations wizard
- Run the Annotations wizard and choose from the full range of JAX-WS annotations

To configure how annotations are generated:

1. Select Window > Preferences from the menu bar.
2. Select SOA Tools > JAX-WS.
3. In the Annotation Wizards section of the JAX-WS panel, choose to either overwrite or use default annotation values.

Related concepts
Annotations