Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
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 Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
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 Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
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