1、开发环境:JDK 1.6,Spring 2.0,LZ使用Apache CXF 2.6.2 版本。因为使用Spring 2.0故不能使用CXF with Spring的方式配置WebServices服务,故采用传统的Servlet方式。
2、所需CXFJAR,在CXF下载包中均存在
<!-- WebServices Apache CXF -->
<dependency>
<groupId>cxf</groupId>
<artifactId>cxf</artifactId>
<version>2.6.2</version>
<type>jar</type>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>cxf</groupId>
<artifactId>neethi</artifactId>
<version>3.0.2</version>
<type>jar</type>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>cxf</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2.6</version>
<type>jar</type>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>cxf</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.2.5</version>
<type>jar</type>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>cxf</groupId>
<artifactId>wsdl4j</artifactId>
<version>1.6.2</version>
<type>jar</type>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>cxf</groupId>
<artifactId>wss4j</artifactId>
<version>1.6.7</version>
<type>jar</type>
<properties>
<war.bundle>true