We are on the process of migrating our application from WAS5.1 to WAS 6.1. I get the following exception when i build ear file using ant script with WAS6.1 library. There were no exception with WAS5.1 lib. Please help me to resolve the issue.
Following is the stacktrace:

wsdl-to-java:
[echo] Generating code from ../wsdl/LookupService.wsdl
[java] java.lang.NullPointerException
[java] at com.ibm.ws.webservices.wsdl.toJava.XMLIBMWebServic esClientBndWriter.writeFileBody(XMLIBMWebServicesC lientBndWriter.java:97)
[java] at com.ibm.ws.webservices.wsdl.toJava.JavaWriter.gene rate(JavaWriter.java:183)
[java] at com.ibm.ws.webservices.wsdl.toJava.XMLClientWriter .generate(XMLClientWriter.java:93)
[java] at com.ibm.ws.webservices.wsdl.toJava.GeneratorTable$ List.generate(GeneratorTable.java:177)
[java] at com.ibm.ws.webservices.wsdl.Parser.generate(Parser .java:401)
[java] at com.ibm.ws.webservices.wsdl.Parser.run(Parser.java :275)
[java] at com.ibm.ws.webservices.wsdl.toJava.Emitter.run(Emi tter.java:709)
[java] at com.ibm.ws.webservices.wsdl.WSDL2.run(WSDL2.java:3 05)
[java] at com.ibm.ws.webservices.tools.WSDL2Java.main(WSDL2J ava.java:398)

BUILD FAILED