This should be ideally posted in "Ant" forum as the question is more specific to Ant, instead of webservices. I'm not answering why your taskdef failed, but below is what I'm using (taken from Ivan's notes) for wsimport and it works like a charm. May be this would be helpful for you to get going, until your real issue is fixed.
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with: