try {
Service4Interface proxy =
(Service4Interface) RMIClientProxy.createProxy(Service4Interface.class,
this.configurator,
"http://localhost:8080/axis2/services/Service4");
String[] result = proxy.method3("Param1","Param2","Param3");
System.out.println("Object 1 ==>" + result[0]);
System.out.println("Object 2 ==>" + result[1]);
System.out.println("Object 3 ==>" + result[2]);
} catch (Exception e) {