如何使用Java-WS缓存WSDL [英] How to cache a WSDL with Java-WS
问题描述
我创建了一个使用java WS与SOAP服务交互的应用程序。我使用内置的netbeans函数生成类并管理WSDL。
I've created an app that interacts with a SOAP service using java WS. I generate classes and manage the WSDL using the built in netbeans functions.
每次运行应用程序时,都必须下载WSDL并再次解析它。 WSDL在每个版本都被冻结,因此我认为这不是必需的。我试图将它作为本地文件引用,但随后我的应用程序抱怨它在另一台机器上安装时无法找到该文件。
Every time I run the application, it has to download the WSDL and parse it again. The WSDL is frozen at each version so I don't think this is necessary. I've tried to reference it as a local file, but then my app complains it can't find the file when it's installed on another machine.
有谁知道如何我可以阻止Java WS需要重新解析WSDL,或者至少在本地缓存它吗?
Does anyone know how I can stop Java WS needing to re-parse the WSDL, or at least cache it locally?
推荐答案
我认为它out ...
I've figured it out...
此页面包含信息
这篇关于如何使用Java-WS缓存WSDL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!