axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "takanori (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1226) Can't deserialize a nil parameter to null
Date Sun, 24 Sep 2006 14:25:22 GMT
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message