axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takanori Suzuki" <takano...@gmail.com>
Subject [Axis2] java.lang.NumberFormatException: badDate00
Date Wed, 16 Aug 2006 15:32:58 GMT
Hi

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(SimpleTypeMapper.java:227)
	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:97)
	at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:216)
	at org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:445)
	at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:407)
	at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:364)

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>).

I hope that problem will be corrected.

Thanks.
Takanori


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message