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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/03/16 00:10:20 UTC

[jira] Resolved: (AXIS-1852) xs:date not serialized/deserialized correctly with document/literal services

     [ http://issues.apache.org/jira/browse/AXIS-1852?page=history ]
     
Davanum Srinivas resolved AXIS-1852:
------------------------------------

    Resolution: Incomplete

Please upload a test and i will reopen the bug. right now there isn't enough information to recreate the bug nor fix it.

thanks,
dims

> xs:date not serialized/deserialized correctly with document/literal services
> ----------------------------------------------------------------------------
>
>          Key: AXIS-1852
>          URL: http://issues.apache.org/jira/browse/AXIS-1852
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: win2k axis-1_2RC2
>     Reporter: arn44
>     Assignee: 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://issues.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