[ 
https://issues.apache.org/jira/browse/AXIS2-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepal Jayasinghe updated AXIS2-2320:
-------------------------------------

    Priority: Blocker  (was: Major)

Let's try to fix this for 1.3

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: bug.wsdl
>
>
> 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]

Reply via email to