Hi Gayan and Chinthka,
I did some debugging and found that the problem is not in the OM and its in
TransPortReceiver.
Thanks and Regards;
Deepal
Unable to omit element if nillable=true or minoccurs=0/maxoccurs=1
------------------------------------------------------------------
Key: AXIS2-24
URL: http://issues.apache.org/jira/browse/AXIS2-24
Project: Axis2
Type: Bug
Components: engine
Environment: WINDOWS 2000, Tomcat 5.0,Axis1.2RC3
Reporter: RAGHU KONALA
Assignee: Davanum Srinivas
We are developing WebServices using Axis1.2RC3 on Tomcat 5. The issue
I am facing is we are unable to omit an xml element when the data is
null. Here is the wsdl excerpt for the data element.
<xsd:element name="someThing" type="xsd:decimal" nillable="true"
minoccurs="0" maxoccurs="1"/>
.
someThing appears in the response as <someThing>0</someThing> even
when someThing is null.
Tried with both rpc/encoded and document/literal
--
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