How to cache a WSDL with Java-WS

纵然是瞬间 提交于 2019-12-22 08:28:52

问题


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.

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.

Does anyone know how I can stop Java WS needing to re-parse the WSDL, or at least cache it locally?


回答1:


I've figured it out...

This page has the info

Developing client application with locally packaged WSDL



来源:https://stackoverflow.com/questions/456865/how-to-cache-a-wsdl-with-java-ws

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