Package org.jibx.ws.example.custom.exception.common

Examples of org.jibx.ws.example.custom.exception.common.Welcome


    public Object welcomeService(Greetee greetee) {
        char firstChar = greetee.getName().charAt(0);
        if (firstChar != 'z' && firstChar != 'Z') {
            return new ServiceError("Bad Name", "Sorry, service only available for names starting with Z !");
        }
        return new Welcome("Howdy " + greetee.getName() + "!");
    }
View Full Code Here

TOP

Related Classes of org.jibx.ws.example.custom.exception.common.Welcome

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.