//创建SmallImageService
String address = BASE_URL + "/services/SmallImageService";
JaxWsProxyFactoryBean proxyFactory = new JaxWsProxyFactoryBean();
proxyFactory.setAddress(address);
proxyFactory.setServiceClass(SmallImageWebService.class);
SmallImageWebService imageService = (SmallImageWebService) proxyFactory.create();
//调用SmallImageService
SmallImageResult result = imageService.getImage();
assertTrue(result.getImageData().length > 0);
//保存图片文件并校验
String tempFilePath = System.getProperty("java.io.tmpdir") + "smalllogo.jpg";
OutputStream os = new FileOutputStream(tempFilePath);