axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Severin Ecker (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2320) Package name generation does not match Namespace-Package mapping
Date Wed, 14 Mar 2007 13:00:25 GMT
Package name generation does not match Namespace-Package mapping
----------------------------------------------------------------

                 Key: AXIS2-2320
                 URL: https://issues.apache.org/jira/browse/AXIS2-2320
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
            Reporter: Severin Ecker


If namespace 2 package mappings are defined and those packages have upper case letters the
generated code won't compile due to an uppercase/lowercase naming issue.
the fix i'm using is in class

org.apache.axis2.wsdl.codegen.extension.PackageFinder

change line

   configuration.setPackageName(packageName.toLowerCase());

to

   configuration.setPackageName(packageName);

i know uppercase letters are not the convention but still the code generated should be correct
and respect the namespace-package mappings defined.

with this fix generation of types works fine, but generating server side sources (like skeletons,
stubs...) does still not work since the import statements there also use some kind of toLowerString()
which i haven't been able to track down yet.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message