## Java2WS Preferences

The Java2WS tab provides settings that control the CXF java2ws tool (for CXF 2.1.x runtimes and above). When a CXF 2.0.x runtime is selected this page displays a subset of the available setting that provides control of the CXF java2wsdl tool.

Option | Description | Default
Default Frontend | Specifies the front end to use. Currently only the jaxws front end is supported | jaxws
Default Databinding | Specifies the data binding to use. Currently only the jaxb data binding is supported | jaxb
Generate Client | Select to generate a client mainline using JAX-WS APIs | false
Generate Server | Select to generate a server mainline using JAX-WS APIs | false
Generate Wrapper and Fault Beans | Select to generate wrapper and fault beans | true
Generate WSDL | Select to generate a WSDL document | true
Default SOAP Binding | Specify the SOAP binding to include in the generated WSDL document. SOAP 1.1 and SOAP 1.2 supported | SOAP 1.1
Generate separate XSD for the types | Select to output schemas to separate files when generating a WSDL document | true

The options on this tab are presented in the web services wizard when creating a bottom-up web service with the Apache CXF runtime.

The options there can be changed from their default values for the web service being created.

Create a Web Service from a Java implementation bean using Apache CXF