[ 
https://issues.apache.org/jira/browse/AXIS-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229179#comment-13229179
 ] 

prithish chanda commented on AXIS-1050:
---------------------------------------

Hi Guys,

I am also facing the same problem , there s a third party exposing web services 
, we are hitting that with axis from our side, used wsdl to java to create the 
stubs , when getting response from the third party web service the api is not 
able to deserialize date field and it throws the following exception ..


java.lang.IllegalArgumentException
        at 
org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(SimpleDeserializer.java:176)
        at 
org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:502)
        at 
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
        at 
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
        at 
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
        at org.apache.axis.client.Call.invoke(Call.java:2467)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
any help/suggestions is really appreciated....

                
> xs:date not serialized/deserialized correctly
> ---------------------------------------------
>
>                 Key: AXIS-1050
>                 URL: https://issues.apache.org/jira/browse/AXIS-1050
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.1
>         Environment: Operating System: Windows NT/2K
> Platform: PC
>            Reporter: Whitney Hunter
>
> It seems that all XML schema types that map to java.util.Date are serialized 
> and
> deserialized by CalendarSerializer/CalendarDeserializer. This causes dates to
> contain a time segment on the wire. I believe this should not be the case and 
> is
> a bug.
> I am using castor on the server side to marshal and unmarshal the XML. Castor
> handles xs:dates correctly (ie no time segment), but is broken by the time
> segment sent by axis. Further, on the client side, axis does not handle dates
> returned by castor since they do not have a time component.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to