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 "Serguey Mironov (JIRA)" <ax...@ws.apache.org> on 2006/11/01 13:47:17 UTC

[jira] Commented: (AXIS-1988) Date/dateTime tag attributes do not get serialized correctly

    [ http://issues.apache.org/jira/browse/AXIS-1988?page=comments#action_12446228 ] 
            
Serguey Mironov commented on AXIS-1988:
---------------------------------------

I found solution.
encodingStyle in wsdd file should equals blank string


> Date/dateTime tag attributes do not get serialized correctly
> ------------------------------------------------------------
>
>                 Key: AXIS-1988
>                 URL: http://issues.apache.org/jira/browse/AXIS-1988
>             Project: Apache Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.2
>         Environment: Windows XP, Tomcat 5.0.29
>            Reporter: Alessandro Santini
>
> Please have a look to the following WSDL snippet:
> <p:complexType name="Instalment">
>   <p:simpleContent>
>     <p:extension base="p:double">
>       <p:attribute name="date" type="p:date" use="required" />
>       <p:attribute default="1" name="multiplicity" type="p:positiveInteger" />
>     </p:extension>
>   </p:simpleContent>
> </p:complexType>
> with xmlns:p="http://www.w3.org/2001/XMLSchema"
> the "date" attribute gets serialized as "Wed May 11 19:35:11 CEST 2005" which is clearly incorrect. We have played with p:dateTime but the result is the same.
> Debugging Axis, we have noticed that neither DateSerializer nor CalendarSerializer have been invoked.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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