zoukankan      html  css  js  c++  java
  • CXF Spring 使用

    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:jaxws="http://cxf.apache.org/jaxws"
      xmlns:p="http://www.springframework.org/schema/p"
      xsi:schemaLocation="http://www.springframework.org/schema/beans
                  http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
                  http://cxf.apache.org/jaxws
                  http://cxf.apache.org/schemas/jaxws.xsd">

    <import resource="classpath:META-INF/cxf/cxf.xml" />
    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

      <jaxws:endpoint id="dataElementService" address="/dataElementService"
            implementorClass="com.cfets.project.services.dataelmnt.IDataElementService">
          <jaxws:implementor>
            <bean id="dataElementServiceImpl"
              class="com.cfets.project.services.dataelmnt.impl.DataElementServiceImpl"
                p:rlsDataElmntInfoDAO-ref="rlsDataElmntInfoDAO" p:vrsnInfoDAO-ref="vrsnInfoDAO">
            </bean>
          </jaxws:implementor>
      </jaxws:endpoint>

    </beans>

    @WebService
    public interface IDataElementService {


    }

    @WebService(endpointInterface = "com.cfets.project.services.dataelmnt.IDataElementService",
    serviceName = "dataElementService")
    public class DataElementServiceImpl implements IDataElementService {


    }

  • 相关阅读:
    Lucene基础排序算法改进
    大数据量的过滤 (用于爬虫,蜘蛛) Bloom Filter 布隆过滤器
    往空间,博客里添加音乐播放器
    汇编随笔
    一个女程序员的故事(酷壳陈皓)
    cmd 命令之删除整个文件夹
    亿度空间
    用wubi.exe安装ubuntu下载速度很慢怎么办?
    qtm第一次
    copy的妙用
  • 原文地址:https://www.cnblogs.com/sdream/p/5480925.html
Copyright © 2011-2022 走看看