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] Created: (AXIS2-1787) Problems when i use "namespaceURIs" in pom.xml
Date Wed, 29 Nov 2006 10:44:21 GMT
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