[
http://issues.apache.org/jira/browse/AXIS2-1787?page=comments#action_12459581 ]
Jorge RodrÃguez Pedrianes commented on AXIS2-1787:
--------------------------------------------------
I'm sorry the class is:
org.apache.axis2.maven2.wsdl2code.WSDL2CodeMojo
> Problems when i use "namespaceURIs" in pom.xml
> ----------------------------------------------
>
> Key: AXIS2-1787
> URL: http://issues.apache.org/jira/browse/AXIS2-1787
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.1
> Reporter: Jorge RodrÃguez Pedrianes
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]