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 "Gordon Ross (JIRA)" <ji...@apache.org> on 2011/02/25 01:21:38 UTC
[jira] Created: (AXIS2-4964) WSDL2Java with ADB Databinding
produces broken code
WSDL2Java with ADB Databinding produces broken code
---------------------------------------------------
Key: AXIS2-4964
URL: https://issues.apache.org/jira/browse/AXIS2-4964
Project: Axis2
Issue Type: Bug
Components: adb, wsdl
Affects Versions: 1.5.4
Environment: MacOS 10.5.8, Java 1.5.0_26
The axiom library was replaced with the latest snapshot, due to https://issues.apache.org/jira/browse/AXIOM-63
Reporter: Gordon Ross
Using wsdl2java, with default options (Hence creating ADB databinding) when running client code, (apparently) random AxisFault exceptions are thrown. A little debugging reveals that the exceptions are thrown when, say, a setXXX(String) method is called with null as the value.
Switching to using XMLBEANS databinding (and revising client code) and the code runs fine with no issues.
It appears then, that wsdl2java is producing invalid ADB databinding code.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Updated: (AXIS2-4964) WSDL2Java with ADB Databinding
produces broken code
Posted by "Daniel Sánchez (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sánchez updated AXIS2-4964:
----------------------------------
Attachment: wsdl.xml
This WSDL demostrates the problem in axis2 1.4.1
> WSDL2Java with ADB Databinding produces broken code
> ---------------------------------------------------
>
> Key: AXIS2-4964
> URL: https://issues.apache.org/jira/browse/AXIS2-4964
> Project: Axis2
> Issue Type: Bug
> Components: adb, wsdl
> Affects Versions: 1.5.4
> Environment: MacOS 10.5.8, Java 1.5.0_26
> The axiom library was replaced with the latest snapshot, due to https://issues.apache.org/jira/browse/AXIOM-63
> Reporter: Gordon Ross
> Attachments: wsdl.xml
>
>
> Using wsdl2java, with default options (Hence creating ADB databinding) when running client code, (apparently) random AxisFault exceptions are thrown. A little debugging reveals that the exceptions are thrown when, say, a setXXX(String) method is called with null as the value.
> Switching to using XMLBEANS databinding (and revising client code) and the code runs fine with no issues.
> It appears then, that wsdl2java is producing invalid ADB databinding code.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] [Commented] (AXIS2-4964) WSDL2Java with ADB Databinding
produces broken code
Posted by "Shameera Rathnayaka (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133573#comment-13133573 ]
Shameera Rathnayaka commented on AXIS2-4964:
--------------------------------------------
Hi Gordon and Daniel,
I tried this wsdl with current trunk, But i couldn't reproduce the error. can you provide a sample to reproduce this?
> WSDL2Java with ADB Databinding produces broken code
> ---------------------------------------------------
>
> Key: AXIS2-4964
> URL: https://issues.apache.org/jira/browse/AXIS2-4964
> Project: Axis2
> Issue Type: Bug
> Components: adb, wsdl
> Affects Versions: 1.5.4
> Environment: MacOS 10.5.8, Java 1.5.0_26
> The axiom library was replaced with the latest snapshot, due to https://issues.apache.org/jira/browse/AXIOM-63
> Reporter: Gordon Ross
> Attachments: wsdl.xml
>
>
> Using wsdl2java, with default options (Hence creating ADB databinding) when running client code, (apparently) random AxisFault exceptions are thrown. A little debugging reveals that the exceptions are thrown when, say, a setXXX(String) method is called with null as the value.
> Switching to using XMLBEANS databinding (and revising client code) and the code runs fine with no issues.
> It appears then, that wsdl2java is producing invalid ADB databinding code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] [Resolved] (AXIS2-4964) WSDL2Java with ADB Databinding
produces broken code
Posted by "Sagara Gunathunga (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sagara Gunathunga resolved AXIS2-4964.
---------------------------------------
Resolution: Fixed
Since this work with trunk mark it as resolved. Axis2 1.4.x is no longer supported, try to use 1.5.6 or 1.6.2. If you get same exception please reopen this with relevant details.
> WSDL2Java with ADB Databinding produces broken code
> ---------------------------------------------------
>
> Key: AXIS2-4964
> URL: https://issues.apache.org/jira/browse/AXIS2-4964
> Project: Axis2
> Issue Type: Bug
> Components: adb, wsdl
> Affects Versions: 1.5.4
> Environment: MacOS 10.5.8, Java 1.5.0_26
> The axiom library was replaced with the latest snapshot, due to https://issues.apache.org/jira/browse/AXIOM-63
> Reporter: Gordon Ross
> Attachments: wsdl.xml
>
>
> Using wsdl2java, with default options (Hence creating ADB databinding) when running client code, (apparently) random AxisFault exceptions are thrown. A little debugging reveals that the exceptions are thrown when, say, a setXXX(String) method is called with null as the value.
> Switching to using XMLBEANS databinding (and revising client code) and the code runs fine with no issues.
> It appears then, that wsdl2java is producing invalid ADB databinding code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org