I'm using the WTP plugins to generate Axis2 code from WSDL contracts.
This works perfectly the first time I create any new Dynamic Web Project
and opt to generate a new Web Service from the WSDL definition.
Unfortunately, future attempts to regenerate the code (using Generate Java
bean skeleton command) fail: The wizard page entitled 'Axis2 Web Service
skeleton Java Bean Configuration' always comes up empty, i.e. none of the
drop-downs offer any options. Pressing Next leads to a NPE.
The only work-around I have found is to create a new Dynamic Web Project
and a new WSDL document and then invoke the code generation wizard again.
I see a message (too fast to capture accurately) that says something like
'Installing Axis2 web project facet' and then the wizard page comes up
with the correct options in the drop-down boxes.
At this point, I can return to the original web service WSDL definition
and regenerate the code perfectly.
This is obviously time-consuming and annoying. It would seem that some
project facet state is being set up in memory and never persisted properly.