Package scatours.currencyconverter.client

Examples of scatours.currencyconverter.client.CurrencyConverter.convert()


    public static void main(String[] args) throws Exception {
        CurrencyConverterService service = new CurrencyConverterService();
        CurrencyConverter converter = service.getPort(CurrencyConverter.class);

        System.out.println("USD -> GBP = " + converter.getExchangeRate("USD", "GBP"));
        System.out.println("100 USD = " + converter.convert("USD", "GBP", 100.0) + "GBP");
    }
}
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.