Setting the SOAP version

When generating WSDL in a JAX-WS project, you can use either SOAP 1.1 or SOAP 1.2.

To choose the version of SOAP that you want:

  1. Select Window > Preferences from the menu bar.
  2. In the Preferences window, select JAX-WS > Apache CXF .
  3. In the WSDL Generation Options section, select either SOAP 1.1 or SOAP 1.2.