Why is the WSDL fetched by JAX-WS on every WS call?

倾然丶 夕夏残阳落幕 提交于 2019-12-22 08:36:20

问题


I'm playing around with NetBeans and JAX-WS and I see that the WSDL is fetched every time a WS is called. Is there a way to avoid this? Is there some configuration?


回答1:


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.



来源:https://stackoverflow.com/questions/1008401/why-is-the-wsdl-fetched-by-jax-ws-on-every-ws-call

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!