开发者

How to use CXF instead of Metro?

开发者 https://www.devze.com 2023-03-06 23:32 出处:网络
How to use Apache CXF instead of Metro (it\'s JDK 6) in a Maven project? What dependencies do I need to use and what file to create in META-INF/services? I can\'t find this information in CXF site...

How to use Apache CXF instead of Metro (it's JDK 6) in a Maven project? What dependencies do I need to use and what file to create in META-INF/services? I can't find this information in CXF site...

ps. It's 开发者_如何学Goa JAX-WS client, not a server. Only client.


From Maven, you likely just need to depend on cxf-rt-frontend-jaxws. That's it. It will pull the rest of the stuff in transitively. It contains the META-INF/services file so you don't need to do anything. It really should be that simple.

0

精彩评论

暂无评论...
验证码 换一张
取 消