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 "phanikumar (JIRA)" <ji...@apache.org> on 2013/03/22 11:05:14 UTC
[jira] [Updated] (AXIS2-5503) Axis 2 1.6.2. issues with nil="1"
attribute in the request
[ https://issues.apache.org/jira/browse/AXIS2-5503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
phanikumar updated AXIS2-5503:
------------------------------
Component/s: (was: codegen)
adb
> Axis 2 1.6.2. issues with nil="1" attribute in the request
> ----------------------------------------------------------
>
> Key: AXIS2-5503
> URL: https://issues.apache.org/jira/browse/AXIS2-5503
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Reporter: phanikumar
>
> Dear All.
> Currenly i am using axis 2 1.4.1 for generating server side stubs
> Now we are actually planning to migrate to axis 2 1.6.2
> But the problem is
> after generating the stubs, when i see the differenct between stubs of
> axis 2 1.4.1 and axis 2 1.6.2 below condition is generated(in axis 2
> 1.6.2) as part of stub generation
> nillableValue =
> reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil");
> if ("true".equals(nillableValue)
> || "1".equals(nillableValue)){
> throw new
> org.apache.axis2.databinding.ADBException("The element:
> "+"custShortName" +" cannot be null");
> }
> When i was tested, my request are failing because of this condtion
> generating for all values in XSD with the below sample request
> <urn1:bookName xsi:nil="1"/>(in Axis 2 1.6.2)
> can u pelase let me know this is problem with axis 2 1.6.2..if yes,
> can u pelase share the bug number and all
> can u pelase revert me ASAP
> Thanks in advance
> Thanks
> Phani
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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