Java2WSDLCommandLineOptionParser commandLineOptionParser =
new Java2WSDLCommandLineOptionParser(args);
try {
Map allOptions = commandLineOptionParser.getAllOptions();
List list =
commandLineOptionParser.getInvalidOptions(new Java2WSDLOptionsValidator());
if (list.size() > 0) {
String faultOptions = "";
for (Object aList : list) {
Java2WSDLCommandLineOption commandLineOption =
(Java2WSDLCommandLineOption) aList;