axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "arn44 (JIRA)" <j...@apache.org>
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
         URL: http://nagoya.apache.org/jira/browse/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 http://issues.apache.org/bugzilla/show_bug.cgi?id=22999
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(SimpleDeserializer.java:178)
	at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:502)
	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1083)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1140)
	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:238)
	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:386)
	at org.apache.axis.client.Call.invoke(Call.java:2402)
	at org.apache.axis.client.Call.invoke(Call.java:2301)
	at org.apache.axis.client.Call.invoke(Call.java:1758)
	at sil.SiltestSoapBindingStub.testBean(SiltestSoapBindingStub.java:143)
	at sil.SilServiceTestCase.test1siltestTestBean(SilServiceTestCase.java:40)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message