1、环境准备
JAVA环境变量配置:http://blog.csdn.net/z345434645/article/details/42388835
所需jar包:http://download.csdn.net/detail/z345434645/8337167
2、新建web工程:Webservice
a、新建接口:
@WebService
public interface IUserService {
void queryUser(String name);
}
b、建立一个实现类
package com.zm.soap.impl;
import javax.jws.WebService;
import com.zm.soap.IUserService;
@WebService(endpointInterface="com.zm.soap.<span style="font-family: Arial, Helvetica, sans-serif;">IUserService</span>")
public class UserServiceImpl implements <span style="font-family: Arial, Helvetica, sans-serif;"