[
https://issues.apache.org/jira/browse/AXIS2-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481480
]
Amila Chinthaka Suriarachchi commented on AXIS2-2320:
-----------------------------------------------------
can you attach your wsdl and metion the options you used to generate the code?
> 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
> Assigned To: Amila Chinthaka Suriarachchi
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]