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.
He does not suffer fools gladly. But this tiny ad does:
Free, earth friendly heat - from the CodeRanch trailboss