There are two approaches to developing web services: bottom-up and top-down. In the bottom-up approach, annotated Java classes are created first, and the WSDL is generated from these classes using
wsgen tool.
 |
| Bottom-up approach. |
|
In the top-down approach, the WSDL is created first, and the Java artifacts are generated using
wsimport tool.
 |
| Top-down approach. |
|