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.
This tiny ad is wafer thin:
Devious Experiments for a Truly Passive Greenhouse!