You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Pétur Runólfsson (JIRA)" <ji...@apache.org> on 2009/05/12 11:11:45 UTC

[jira] Created: (AXIS2-4344) java2wsdl should report an error if class specified with -sg is not a valid SchemaGenerator

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.