Examples of CalculatorServiceService


Examples of org.fabric3.samples.ws.calculator.CalculatorServiceService

public class WsCalcClient {

    public static void main(String[] args) throws Exception {
        URL url = new URL("http://localhost:8181/calculator?wsdl");
        QName name = new QName("http://calculator.ws.samples.fabric3.org/", "CalculatorServiceService");
        CalculatorServiceService service = new CalculatorServiceService(url, name);
        CalculatorService calculator = service.getCalculatorServicePort();
        System.out.println("1 + 2 = " + calculator.add(1, 2));
    }
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.