1.导入相关jar包,具体哪些包我记不太清了
2.在applicationContext中加入相关配置信息,如下所示:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd">
id="OrderWS"
implementor="com.cxf.spring.ws.OrderWSImpl"//类所在地址或者#+对应bean的id
address="/OrderWS" > //随意命名
3