在 Eclipse 中使用 CXF 生成 Web 服务客户端是否需要设置服务器运行时?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4406752/
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
Is setting up a server runtime necessary to generate a web service client with CXF in Eclipse?
提问by javamonkey79
When I go to file -> new -> other -> web services -> web service clientin Eclipse and select the "Web services runtime" I see "Apache CFX 2.x", but the finish button is disabled and I get the following in the dialog box:
当我转到文件 -> 新建 -> 其他 -> Web 服务 ->Eclipse 中的Web 服务客户端并选择“Web 服务运行时”时,我看到“Apache CFX 2.x”,但完成按钮被禁用,我得到在对话框中如下:
"Choose from the list of runtimes and deployment servers, or use the default settings."
“从运行时和部署服务器列表中选择,或使用默认设置。”
Do I really have to setup a server in order to generate a web service client with CXF in Eclipse?
我真的必须设置服务器才能在 Eclipse 中使用 CXF 生成 Web 服务客户端吗?
Thanks in advance.
提前致谢。
采纳答案by JoseK
Yes it does seem so.
是的,看起来确实如此。
The CXF client runs in a "Dynamic Web Project" which needs a server runtime. See this link on the Eclipse forums
CXF 客户端在需要服务器运行时的“动态 Web 项目”中运行。请参阅Eclipse 论坛上的此链接