axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorge Rodríguez Pedrianes (JIRA) <j...@apache.org>
Subject [jira] Commented: (AXIS2-1787) Problems when i use "namespaceURIs" in pom.xml
Date Tue, 19 Dec 2006 09:36:21 GMT
    [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message