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 "takanori (JIRA)" <ji...@apache.org> on 2006/09/24 16:25:22 UTC

[jira] Created: (AXIS2-1226) Can't deserialize a nil parameter to null

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


[jira] Resolved: (AXIS2-1226) [RPC] Can't deserialize a nil parameter to null

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1226?page=all ]

Deepal Jayasinghe resolved AXIS2-1226.
--------------------------------------

    Resolution: Fixed

I have fixed this bug sometimes ago. Can you please check whether thats work for you.

> [RPC] 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: rpc
>    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


[jira] Updated: (AXIS2-1226) [RPC] Can't deserialize a nil parameter to null

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1226?page=all ]

Davanum Srinivas updated AXIS2-1226:
------------------------------------

    Component/s: rpc
                     (was: databinding)

> [RPC] 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: rpc
>    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


[jira] Updated: (AXIS2-1226) [RPC] Can't deserialize a nil parameter to null

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1226?page=all ]

Davanum Srinivas updated AXIS2-1226:
------------------------------------

    Summary: [RPC] Can't deserialize a nil parameter to null  (was: Can't deserialize a nil parameter to null)

> [RPC] 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