巨大なwsdlを読み込んでみたら。。
あらら、エラーになってしまった。
>wsimport -keep -b TestSoap.xsd -Xnocompile -s src -d bin -verbose TestApi.wsdl
parsing WSDL...
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.ArrayList.
at java.util.ArrayList.
at com.sun.codemodel.internal.JBlock.
at com.sun.codemodel.internal.JBlock.
at com.sun.codemodel.internal.JMethod.body(JMethod.java:351)
at com.sun.tools.internal.xjc.generator.bean.ObjectFactoryGeneratorImpl.
populate(ObjectFactoryGeneratorImpl.java:272)
-Jオプションでメモリ設定したら成功しました。
>wsimport -J-Xmx1024M -keep -b TestSoap.xsd -Xnocompile -s src -d bin -verbose TestApi.wsdl