[ https://issues.apache.org/jira/browse/AXIS2-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-1787. ------------------------------------------------- Resolution: Fixed Already fixed > Problems when i use "namespaceURIs" in pom.xml > ---------------------------------------------- > > Key: AXIS2-1787 > URL: https://issues.apache.org/jira/browse/AXIS2-1787 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: codegen > Affects Versions: 1.1 > Reporter: Jorge RodrÃguez Pedrianes > Assignee: Amila Chinthaka Suriarachchi > > Hello, i see a littel bug in codegen > in WSDL2Code class you put: > getNamespaceToPackagesMap() { > ....... > String uriPackageName = mapping.getPackageName(); > if (uriPackageName != null) { > throw new MojoFailureException("A namespace to > package mapping requires a packageName child element."); > } > ....... > but this is a error because when i put a packageName in pom.xml throw a > exception. The correct are: > getNamespaceToPackagesMap() { > ....... > String uriPackageName = mapping.getPackageName(); > if (uriPackageName == null) { > throw new MojoFailureException("A namespace to > package mapping requires a packageName child element."); > } > ....... > Thanks -- 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]