Package scatours.currencyconverter.client

Examples of scatours.currencyconverter.client.CurrencyConverterService


import scatours.currencyconverter.client.CurrencyConverterService;

public class CurrencyConverterWSClient {

    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

Related Classes of scatours.currencyconverter.client.CurrencyConverterService

Copyright © 2018 www.massapicom. 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.