javaWeb服务详解【客户端调用】(含源代码,测试通过,注释) ——DeptService层

package org.service;

import javax.jws.WebMethod;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

import org.entity.Dept;

/**
 * This class was generated by Apache CXF 2.7.18
 * 2017-06-02T13:18:24.417+08:00
 * Generated source version: 2.7.18
 * 
 */
@WebService(targetNamespace = "http://www.xiongxiong.cn.ws/dept", name = "IDeptService")
public interface IDeptService {

    @WebResult(name = "return", targetNamespace = "")
    @RequestWrapper(localName = "getDepts", targetNamespace = "http://www.xiongxiong.cn.ws/dept", className = "ws.cn.xiongxiong.dept.GetDepts")
    @WebMethod
    @ResponseWrapper(localName = "getDeptsResponse", targetNamespace = "http://www.xiongxiong.cn.ws/dept", className = "ws.cn.xiongxiong.dept.GetDeptsResponse")
    public java.util.List<Dept> getDepts();
}

posted @ 2017-06-02 17:13  穆雄雄  阅读(283)  评论(0编辑  收藏  举报