Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.Questo contenuto non è disponibile nella lingua selezionata.
24.4. Generating WSDL
Using Maven Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
Once your code is annotated, you can generate a WSDL contract for your service using the
java2ws
Maven plug-in's -wsdl
option. For a detailed listing of options for the java2ws
Maven plug-in see Section E.3, “java2ws”.
Example 24.18, “Generating WSDL from Java” shows how to set up the
java2ws
Maven plug-in to generate WSDL.
Example 24.18. Generating WSDL from Java
Note
Replace the value of className with the qualified className.
Example Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
Example 24.19, “Generated WSDL from an SEI” shows the WSDL contract that is generated for the SEI shown in Example 24.7, “Fully Annotated SEI”.
Example 24.19. Generated WSDL from an SEI