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.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 Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
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 Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
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