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.此内容没有您所选择的语言版本。
24.4. Generating WSDL
Using Maven 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
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
Example 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
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