java2wsdl should report an error if class specified with -sg is not a valid 
SchemaGenerator
-------------------------------------------------------------------------------------------

                 Key: AXIS2-4344
                 URL: https://issues.apache.org/jira/browse/AXIS2-4344
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
    Affects Versions: 1.4.1
            Reporter: Pétur Runólfsson


If the class specified with the -sg option to java2wsdl doesn't exist or 
doesn't implement SchemaGenerator, no error is reported and java2wsdl generates 
a schema with the default SchemaGenerator. This makes it hard to find out if a 
class specified with -sg is being used or not.

java2wsdl should report an error and return a non-zero exit status and not 
generate a schema if it can't use a class set with -sg.

The -nsg flag for NamespaceGenerator seems to have the same problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to