JAX-WS Annotated Services from WSDL
If you have existing WSDLs for your service or wish to write your WSDL first and then generate classes, CXF has many tools to help you do this.
The WSDL2Java tool will generate a JAX-WS annotated service and server stub from your WSDL. You can run it one of three ways:
-
The command line
-
The Maven plugin
-
With the WSDL2Java API
Note that CXF generally restricts WSDL support to WSI-BP, not the full WSDL 1.1 specification.