Package sample.rmi.server

Examples of sample.rmi.server.Service4Interface.method1()


        try {
            Service4Interface proxy =
                    (Service4Interface) RMIClientProxy.createProxy(Service4Interface.class,
                            this.configurator,
                            "http://localhost:8080/axis2/services/Service4");
            Object result = proxy.method1(null);
        } catch (Exception e) {
            e.printStackTrace();
        }

    }
View Full Code Here


        try {
            Service4Interface proxy =
                    (Service4Interface) RMIClientProxy.createProxy(Service4Interface.class,
                            this.configurator,
                            "http://localhost:8080/axis2/services/Service4");
            Object result = proxy.method1("test string");
            System.out.println("Got the string " + result);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
View Full Code Here

                            "http://localhost:8080/axis2/services/Service4");

            ParentClass parentClass = new ParentClass();
            parentClass.setParam1("test string");
            parentClass.setParam2(3);
            ParentClass result = (ParentClass) proxy.method1(parentClass);
            System.out.println("Param 1 ==>" + result.getParam1());
            System.out.println("Param 2 ==>" + result.getParam2());
        } catch (Exception e) {
            e.printStackTrace();
        }
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.