Examples of method1()


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

        try {
            Service1Interface proxy =
                    (Service1Interface) RMIClientProxy.createProxy(Service1Interface.class,
                            this.configurator,
                            "http://localhost:8080/axis2/services/Service1");
            String result = proxy.method1("Hellow"," World");
            System.out.println("Result ==> " + result);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
View Full Code Here

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

                    (Service2Interface) RMIClientProxy.createProxy(
                            Service2Interface.class,
                            configurator,
                            "http://localhost:8080/axis2/services/Service2");
            TestRestrictionBean testRestrictionBean = new TestRestrictionBean("testvalue");
            TestRestrictionBean result = proxy.method1(testRestrictionBean);
            System.out.println("Result ==> " + result.getParam1());
        } catch (AxisFault axisFault) {
            axisFault.printStackTrace();
        }
    }
View Full Code Here

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

                            this.configurator,
                            "http://localhost:8080/axis2/services/Service2");
            ParentClass parentClass = new ParentClass();
            parentClass.setParam1("test param1");
            parentClass.setParam2(10);
            ParentClass result = proxy.method1(parentClass);
            System.out.println("Result param 1 ==> " + result.getParam1());
            System.out.println("Result param 2 ==> " + result.getParam2());
        } catch (Exception e) {
            e.printStackTrace()//To change body of catch statement use File | Settings | File Templates.
        }
View Full Code Here

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

            ChildClass childClass = new ChildClass();
            childClass.setParam1("test param1");
            childClass.setParam2(10);
            childClass.setParam3("test param3");
            childClass.setParam4(new Integer(12));
            ChildClass result = (ChildClass) proxy.method1(childClass);
            System.out.println("Result param 1 ==> " + result.getParam1());
            System.out.println("Result param 2 ==> " + result.getParam2());
            System.out.println("Result param 3 ==> " + result.getParam3());
            System.out.println("Result param 4 ==> " + result.getParam4());
View Full Code Here

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

        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

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

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("test string");
            System.out.println("Got the string " + result);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
View Full Code Here

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

                            "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.