1. you just compile your web-service into aar file (not include bean files), copy the aar into axis2 \ WEB-INF \ services.
2. all libs hibernate (and jar drivers), you have to copy in axis2 \ WEB-INF \ lib.
3. all bean (include xx. hbm. xml files) classes which are must be in axis2 \ WEB-INF \ classes.
4. that's all.
Supplement:
1.
Hibernate. cfg. xml is under webapps \ axis2 \ WEB-INF \ classes.
2.
Various Types and xml are in the corresponding path, such:
In webapps \ axis2 \ WEB-INF \ classes \ person
Person. class, Person. hbm. xml, PersonWebservice. class
3.
Personservice. aar placed in webapps \ axis2 \ WEB-INF \ services
Here is the structure of a file I tested:
1.122.7.70.7.21.2.131.2.131.2.131.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.25.10.9.2.11.21.31.23.11.41.1.11.6.11.0.61.11.01.11.0.11.0.11.1.24.2.54.0.24.2.54.2.52.0-api-1.0.14.03.15.02.12.1.72.1.71.1.12.1.33.1.01.0.11.01.21.22.41.06.0.161.2.151.40.2.3.41.6.23.0.21.23.2.03.2.03.2.06.0.161111.6.23.2.92.7.01.22.3.01.4.71.6.21.6.21.6.21.6.21.6.21.6.21.6.21.6.2