Package sample.rmi.server

Examples of sample.rmi.server.Service3Interface


    }

    public void testMethod1() {

        try {
            Service3Interface proxy =
                    (Service3Interface) RMIClientProxy.createProxy(Service3Interface.class,
                            this.configurator,
                            "http://localhost:8080/axis2/services/Service3");
            proxy.method1();
        } catch (AxisFault axisFault) {
            axisFault.printStackTrace();
        } catch (Exception1 exception1) {
            System.out.println("Got the exception 1");
        }
View Full Code Here


    public void testMethod2() {


        try {
            Service3Interface proxy =
                    (Service3Interface) RMIClientProxy.createProxy(Service3Interface.class,
                            this.configurator,
                            "http://localhost:8080/axis2/services/Service3");
            proxy.method2("test string");
        } catch (AxisFault axisFault) {
            axisFault.printStackTrace();
        } catch (Exception2 exception2) {
            System.out.println("Got the exception 2");
        } catch (Exception1 exception1) {
View Full Code Here

    }

    public void testMethod3() {

        try {
            Service3Interface proxy =
                    (Service3Interface) RMIClientProxy.createProxy(Service3Interface.class,
                            this.configurator,
                            "http://localhost:8080/axis2/services/Service3");
            proxy.method3(5);
        } catch (AxisFault axisFault) {
            axisFault.printStackTrace();
        } catch (Exception3 exception3) {
            System.out.println("Got the exception 3");
        } catch (Exception2 exception2) {
View Full Code Here

TOP

Related Classes of sample.rmi.server.Service3Interface

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.