try {
Service1Interface proxy =
(Service1Interface) RMIClientProxy.createProxy(Service1Interface.class,
this.configurator,
"http://localhost:8080/axis2/services/Service1");
Date result = proxy.method3(new Date());
System.out.println("Result ==> " + result);
} catch (Exception e) {
e.printStackTrace();
}
}