Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 78052 invoked from network); 28 Dec 2004 10:26:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Dec 2004 10:26:57 -0000 Received: (qmail 10353 invoked by uid 500); 28 Dec 2004 10:26:18 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 10278 invoked by uid 500); 28 Dec 2004 10:26:15 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 10223 invoked by uid 99); 28 Dec 2004 10:26:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 28 Dec 2004 02:26:10 -0800 Received: (qmail 12165 invoked from network); 28 Dec 2004 10:26:06 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 28 Dec 2004 10:26:06 -0000 Message-ID: <329730337.1104229566158.JavaMail.apache@nagoya> Date: Tue, 28 Dec 2004 02:26:06 -0800 (PST) From: "arn44 (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-5) xs:date not serialized/deserialized correctly with document/literal services Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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