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 {


    }

  • 相关阅读:
    Confluence 6 配置服务器基础地址示例
    (七)git分支的操作
    (六)最最基本的git操作
    (四)创建表、查看表、插入记录
    (三)数据库基本操作(创建、查询、修改、删除数据库)
    c++第九天
    (五)使用GitHub的前期准备
    (四)github之Git的初始设置
    (三)github之GIT的导入
    (二)github的价值意义篇
  • 原文地址:https://www.cnblogs.com/sdream/p/5480925.html
Copyright © 2011-2022 走看看