
WebService
leo7moon
代码的搬运工
展开
-
cxf发布webservce的2种方式
cxf发布webservce的2种方式一.使用配置文件1.配置web.xml <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath*:/spring-context*.xml</param-value> </context-param> <!-- cxf servlet --> <s原创 2020-09-29 17:09:44 · 371 阅读 · 0 评论 -
jdk1.7发布webservice服务
参考:https://blog.youkuaiyun.com/u014401141/article/details/549861251.服务端开发:package com.leomoon.webservice.service;import javax.jws.WebService;import javax.xml.ws.Endpoint;@WebService()public class Server { public String eat(String food){ return fo原创 2020-09-29 17:56:49 · 425 阅读 · 0 评论