wsgen vs java2wsdl

What is the difference between wsgen and Java2 WSDL tools?

Solution

The main purpose of wsgen in Jax - WS RI is to generate artifacts required by runtime, which are not provided by users Typically, this means wrapping beans and failing beans WSDL generation is primarily considered an additional optional but interesting side effect

Using the more modern Jax - WS runtime (such as CXF) and the latest daily night version (2.2), these artifacts are generated by the runtime in the runtime For example, CXF uses ASM to generate bean classes in memory at startup Therefore, using a more modern jax-ws implementation, wsgen is irrelevant, and the main purpose of the first Java tool is to generate WSDL rather than wrap beans This is why CXF's tool is named "java2wsdl" instead of wsgen

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>