Questo contenuto non è disponibile nella lingua selezionata.
1.3. Generating WSDL
| Revision History | |
|---|---|
| 5/23/12 | |
| Changed the description of code generation to use Maven instead of command line tools to reflect best practices. | |
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 java2ws.
Example 1.18, “Generating WSDL from Java” shows how to set up the
java2ws Maven plug-in to generate WSDL.
Example 1.18. Generating WSDL from Java
Example Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
Example 1.19, “Generated WSDL from an SEI” shows the WSDL contract that is generated for the SEI shown in Example 1.7, “Fully Annotated SEI”.
Example 1.19. Generated WSDL from an SEI