"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();
}