CXF Command-Line Tools
The most up-to-date instructions for building SOAP web-services are maintained in the CXF User's Guide. In particular, see the wsdl2java utility for contract-first development and java2ws tool for the start-from-Java approach. For Maven-based projects, CXF offers plugins for both WSDL-first (cxf-codegen-plugin) and Java-first (cxf-java2ws-plugin) development.