1)download Binary distribution zip file from http://axis.apache.org/axis2/java/core/download.html
2)unpack,cd bin dir
3)
method1 from XML or WSDL :
wsdl2java.bat -uri d:\test.xml -o e:\Test
Method2 from url:
wsdl2java.bat -uri http://localhost/hello?wsdl -o e:\Test
#note: -o(output dirs)
4) method invoke,just like this:
GetPersonResponse p = pers.getPerson(new PersonStub.GetPerson());