axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "takanori (JIRA)" <>
Subject [jira] Created: (AXIS2-1050) java.lang.NumberFormatException: badDate00
Date Sun, 20 Aug 2006 14:03:13 GMT
java.lang.NumberFormatException: badDate00

                 Key: AXIS2-1050
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: databinding
    Affects Versions: 1.0
            Reporter: takanori

When I'm sending java.util.Calendar by RPCClient, I'm getting exception:
java.lang.NumberFormatException: badDate00
       at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.makeCalendar(
       at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(
       at org.apache.axis2.databinding.utils.BeanUtil.deserialize(

client code
RPCServiceClient client = new RPCServiceClient();
Calendar cal = Calendar.getInstance();
OMElement response = client.invokeBlocking(new QName("sendCalendar"), new Object[]{cal});

server code
public boolean sendCalendar(Calendar cal) {
   return true;

I think that there is  a problem in org.apache.axis2.databinding.utils.BeanUtil.

Calendar object is deserialized:
java.util.GregorianCalendar[time=1155740947187,areFieldsSet=true, ・・・]

When Calendar(SimpleType) is deserialized, <object>.toString() is called.
I think that it must be SimpleTypeMapper.isSimpleType(<object>).

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message