Package sample.rmi.server.dto

Examples of sample.rmi.server.dto.TestBean


                    (Service2Interface) RMIClientProxy.createProxy(
                            Service2Interface.class,
                            configurator,
                            "http://localhost:8080/axis2/services/Service2");
            TestComplexBean testComplexBean = new TestComplexBean();
            testComplexBean.addTestBean(new TestBean(5,"teststring1"));
            testComplexBean.addTestBean(new TestBean(6,"teststring2"));
            testComplexBean.addTestBean(new TestBean(7,"teststring3"));
            TestComplexBean result = proxy.method2(testComplexBean);
            TestBean testBean;
            for (Iterator iter = result.getTestBeans().iterator();iter.hasNext();){
                testBean = (TestBean) iter.next();
                System.out.println("Parm1 ==> " + testBean.getParam1());
                System.out.println("Parm2 ==> " + testBean.getParam2());
            }
        } catch (AxisFault axisFault) {
            axisFault.printStackTrace();
        }
    }
View Full Code Here

TOP

Related Classes of sample.rmi.server.dto.TestBean

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.