You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jorge Rodríguez Pedrianes (JIRA)" <ji...@apache.org> on 2006/11/29 11:44:21 UTC
[jira] Created: (AXIS2-1787) Problems when i use "namespaceURIs" in
pom.xml
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
[jira] Commented: (AXIS2-1787) Problems when i use "namespaceURIs"
in pom.xml
Posted by "Jorge Rodríguez Pedrianes (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (AXIS2-1787) Problems when i use "namespaceURIs"
in pom.xml
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1787?page=comments#action_12459231 ]
Amila Chinthaka Suriarachchi commented on AXIS2-1787:
-----------------------------------------------------
can you explain the problem bit. the WSDL2Code class does not have a method like
getNamespaceToPackagesMap() {
.......
String uriPackageName = mapping.getPackageName();
if (uriPackageName != null) {
throw new MojoFailureException("A namespace to package mapping requires a packageName child element.");
}
and there is not an exception called MojoFailureException.
> 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
[jira] Resolved: (AXIS2-1787) Problems when i use "namespaceURIs"
in pom.xml
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1787) Problems when i use "namespaceURIs" in
pom.xml
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS2-1787:
------------------------------------
Assignee: Amila Chinthaka Suriarachchi
> 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
> Assigned To: 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org