axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "arn44 (JIRA)" <>
Subject [jira] Created: (AXIS2-5) xs:date not serialized/deserialized correctly with document/literal services
Date Tue, 28 Dec 2004 10:26:06 GMT
xs:date not serialized/deserialized correctly with document/literal services

         Key: AXIS2-5
     Project: Axis2
        Type: Bug
  Components: wsdl, client-api  
 Environment: win2k axis-1_2RC2
    Reporter: arn44
 Assigned to: Davanum Srinivas 
    Priority: Blocker

I reopen the bug
deserialization of xs:date works when style of binding in the WSDL="encoded" or "literal"
and use of items in the binding="RPC", but it fail when style="document" use="literal".

I have the following exception when style="document" use="literal"
java.lang.NumberFormatException: Invalid date/time
	at org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(
	at org.apache.axis.encoding.DeserializerImpl.endElement(
	at org.apache.axis.encoding.DeserializationContext.endElement(
	at org.apache.axis.message.SAX2EventRecorder.replay(
	at org.apache.axis.message.MessageElement.publishToHandler(
	at org.apache.axis.message.RPCElement.deserialize(
	at org.apache.axis.message.RPCElement.getParams(
	at org.apache.axis.client.Call.invoke(
	at org.apache.axis.client.Call.invoke(
	at org.apache.axis.client.Call.invoke(
	at sil.SiltestSoapBindingStub.testBean(
	at sil.SilServiceTestCase.test1siltestTestBean(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at junit.framework.TestCase.runTest(
	at junit.framework.TestCase.runBare(
	at junit.framework.TestResult$1.protect(
	at junit.framework.TestResult.runProtected(
	at junit.framework.TestSuite.runTest(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message