是否需要在Eclipse中使用CXF生成Web服务客户机? [英] Is setting up a server runtime necessary to generate a web service client with CXF in Eclipse?
问题描述
当我在Eclipse中转到文件 - >新 - >其他 - > Web服务 - > Web服务客户端时,选择Web服务运行时我看到Apache CFX 2.x但是完成按钮被禁用,我在对话框中得到以下内容:
When I go to file -> new -> other -> web services -> web service client in 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:
从运行时和部署服务器列表中选择,或使用默认设置。
"Choose from the list of runtimes and deployment servers, or use the default settings."
我真的需要设置一个服务器才能在Eclipse中使用CXF生成一个Web服务客户端?
Do I really have to setup a server in order to generate a web service client with CXF in Eclipse?
感谢提前。
推荐答案
是的,它似乎是这样。
Yes it does seem so.
CXF客户端运行在需要服务器运行时的动态Web项目中。见这个在Eclipse论坛上的链接
The CXF client runs in a "Dynamic Web Project" which needs a server runtime. See this link on the Eclipse forums
这篇关于是否需要在Eclipse中使用CXF生成Web服务客户机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!