Package org.apache.axis2.rmi.server.services

Examples of org.apache.axis2.rmi.server.services.Service1Interface.method1()


    public void testMethod11() {
        try {
            Service1Interface proxy = (Service1Interface) RMIClientProxy.createProxy(Service1Interface.class,
                    "http://localhost:8085/axis2/services/Service1");
            String result = proxy.method1("Hellow world");
            assertEquals(result, "Hellow world");
        } catch (AxisFault axisFault) {
            axisFault.printStackTrace();
        }
View Full Code Here


    public void testMethod12() {

        try {
            Service1Interface proxy = (Service1Interface) RMIClientProxy.createProxy(Service1Interface.class,
                    "http://localhost:8085/axis2/services/Service1");
            String result = proxy.method1(null);
            assertEquals(result, null);
        } catch (AxisFault axisFault) {
            axisFault.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.