Examples of LargeImageWebService


Examples of org.springside.examples.showcase.ws.server.LargeImageWebService

    //创建LargeImageService
    String address = BASE_URL + "/services/LargeImageService";
    JaxWsProxyFactoryBean proxyFactory = new JaxWsProxyFactoryBean();
    proxyFactory.setAddress(address);
    proxyFactory.setServiceClass(LargeImageWebService.class);
    LargeImageWebService imageService = (LargeImageWebService) proxyFactory.create();

    //调用LargeImageService
    LargeImageResult result = imageService.getImage();
    DataHandler dataHandler = result.getImageData();

    //保存图片文件并校验
    String tempFilePath = System.getProperty("java.io.tmpdir") + "largelogo.jpg";
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.