Which maven2 artifacts are necessary to build a WS with CXF and Spring?

前端 未结 1 1735
春和景丽
春和景丽 2020-12-20 03:12

I\'m trying to build a WS with Spring 3.0 and CXF. I\'m following the steps of this article http://www.ibm.com/developerworks/library/ws-pojo-springcxf/
But in that arti

相关标签:
1条回答
  • 2020-12-20 03:18

    Normally, just depend on cxf-rt-frontend-jaxws and cxf-rt-transport-http. Pretty much the rest of the stuff needed would be pulled in transitively from those. (might not even need cxf-rt-transport-http) That would cover 90% of the usecases.

    <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-frontend-jaxws</artifactId>
        <version>2.2.5</version>
    </dependency>
    <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-transports-http</artifactId>
        <version>2.2.5</version>
    </dependency>
    

    For more advanced things like WS-Security and WS-RM and JAX-RS, you would need to add additional modules.

    0 讨论(0)
提交回复
热议问题