1)打开soapUI,点击File--New project: 2)右键New REST service from URL,注:因为dubbo接口不像http接口一样有URL,所以这里的URL可以随便写,只是个标记 3)生成的请求Request,根据接口文档来添加参数,并将endpoint改为本地地址和端口,Resource路径创建时填写Resource Path后自动生成如图. 右键请求Request,选择Add to REST mock service添加mock 生成的Respon…
public class Test { public static void main(String[] args) { JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean(); factory.getInInterceptors().add(new LoggingInInterceptor()); factory.getOutInterceptors().add(new LoggingOutInterceptor()); fact…