package com.example.demo.config;
import com.example.demo.WebService.CommonService;
import org.apache.cxf.Bus;
import org.apache.cxf.jaxws.EndpointImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Bean;
import javax.xml.ws.Endpoint;
/**
* @作者 Administrator
* @创建日期 2018/6/23 0023
* @创建时间 11:31.
*/
@Configuration
public class WebConfig {
@Autowired
private Bus bus;
@Autowired
CommonService service;
/*jax-ws*/
@Bean
public Endpoint endpoint() {
EndpointImpl endpoint = new EndpointImpl(bus, service);
endpoint.publish("/CommonService");
return endpoint;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
springboot整合webservice采用CXF技术

共97个文件
xml:79个
java:5个
class:5个

需积分: 50 613 浏览量
2018-06-23
14:33:46
上传
评论
收藏 85KB RAR 举报
温馨提示
springboot整合webservice采用CXF技术,springboot整合webservice采用CXF技术
资源推荐
资源详情
资源评论















收起资源包目录






































































































































共 97 条
- 1
资源评论


程序猿转行炒股了
- 粉丝: 20
- 资源: 19
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制
