apache tomcat轴文件server-config.wsdd从何而来?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/531557/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where does the tomcat axis file server-config.wsdd come from?
提问by David Sykes
Part of our system provides a web service through apache tomcat, the service is referenced in the server-config.wsdd file. Unfortunately nobody can remember how it got in there. The apache set up has changed, and I need to update the system for the new configuration. What magic keywords can I google for to help me work out how and why it got into the existing server-config.wsdd, and how it might fit into the new server-config.wsdd
我们系统的一部分通过apache tomcat提供了一个web服务,该服务在server-config.wsdd文件中被引用。不幸的是,没有人记得它是如何进入那里的。apache 设置已更改,我需要为新配置更新系统。我可以通过谷歌搜索哪些神奇的关键字来帮助我弄清楚它如何以及为什么进入现有的 server-config.wsdd,以及它如何适应新的 server-config.wsdd
回答by BoD
The server-config.wsdd file is generated by the wsdl2java tool from Axis. So, some developer used the tool and copied the file inside your Tomcat conf, where it belongs.
server-config.wsdd 文件由 Axis 的 wsdl2java 工具生成。因此,一些开发人员使用该工具并将该文件复制到您的 Tomcat conf 中,它所属的位置。
回答by David Sykes
The server-config.wsdd is created when you deploy your web service by running
server-config.wsdd 在您通过运行部署 Web 服务时创建
java org.apache.axis.client.AdminClient \deploy.wsdd
java org.apache.axis.client.AdminClient \deploy.wsdd
回答by theo
my knowledge says that it is hardcoded... and by using java org.apache.axis.client.AdminClient \deploy.wsdd or by explicitly invoking it through an ant script you can embody it to the server-config.wsdd and deploy the service
我的知识说它是硬编码的......并且通过使用 java org.apache.axis.client.AdminClient \deploy.wsdd 或通过 ant 脚本显式调用它,您可以将它体现到 server-config.wsdd 并部署服务

