4

我正在使用 NetBeans 和 JAX-WS,我看到每次调用 WS 时都会获取 WSDL。有没有办法避免这种情况?有什么配置吗?

4

1 回答 1

4

It is due to the support for late-binding and the myriad of configuration options that WS-Policy and other WSDL features bring to the table.

See the JAX-WS RI FAQ.

For the trivial case, yes it is a bit silly and adds some overhead. Once you get into a complex environment with multiple implementations running with slightly different configurations, it makes complete sense.

于 2009-06-18T11:31:11.803 回答