WSDL2JAVA: does not handle xsi:nil="1" correctly (only xsi:nil="true" is
tested)
---------------------------------------------------------------------------------
Key: AXIS2-2024
URL: https://issues.apache.org/jira/browse/AXIS2-2024
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.1
Environment: Tested on Windows XP, MacOS with Java 5 (1.5_06)
Reporter: Tugdual Grall
The client code generated by wsdl2java has some test the null values with the
following code:
...
if
(!"true".equals(reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"))){
...
...
Axis should generates client code that test !"true" and !"1" since a "nil" is
define by the schema as boolean so I 1,true,0,false.
Also when working on this issue it could be interesting to look at the server
side too:
- http://issues.apache.org/jira/browse/AXIS2-2007
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]