Can't deserialize a nil parameter to null
-----------------------------------------
Key: AXIS2-1226
URL: http://issues.apache.org/jira/browse/AXIS2-1226
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: databinding
Affects Versions: 1.1
Reporter: takanori
When I use RPCMessageReciver, can't deserialize a nil parameter to null.
Send data
------------------------------------------------------------------------------------------------------------------------------------------
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>
<ns:echo xmlns:ns="http://examples/xsd">
<arg0><strParam xmlns:nil="http://www.w3.org/2001/XMLSchema-instance"
nil:nil="true" /></arg0>
</ns:echo>
</soapenv:Body>
</soapenv:Envelope>
------------------------------------------------------------------------------------------------------------------------------------------
I hope that "strParam" is deserialized to null, but it is empty("").
I think that there is a problem in
org.apache.axis2.databinding.typemapping.SimpleTypeMapper#getSimpleTypeObject
The method don't judge nil.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]