Search code examples
javasoapwsdlapache-axisstubs

Axis2 stubs generation issue


I generated Java stubs from WSDL using apache axis2, Apache tomcat 6 server instance for a SOAP web service. The generated stubs contains lots of errors(100) some of them were duplicate methods and there was some unusual error which said ARRAY.length can not resolve the type or some thing like that. I can not compile stubs because of this errors.Is this a bug of axis2 or why this happens?


Solution

  • Why you cannot compile the stubs? These stubs are really big files which are complex to understand. You dont need to worry about the warnings, To compile the files always add all axis2 libarries in the classpath. That will work.