You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Nicolas-Viet Nguyen <vi...@gmail.com> on 2006/06/06 18:28:27 UTC
date versus dateTime
Hello All,
Is there a way to make "automatic conversion" from date to dateTime in SOAP
response? Though it sounds silly, I have a situation where the SOAP
response is returning "date" for some of the elements but the corresponding
java objects expect dateTime for these elements. Changing the java objects
to expect "date" format or changing the SOAP response to return dateTime is
not an option.
Thanks,
Re: date versus dateTime
Posted by Nicolas-Viet Nguyen <vi...@gmail.com>.
This is good to know.
Thanks,
On 6/6/06, James Armstrong <ja...@carl.org> wrote:
>
> I had to use Calendar instead of java.util.Date.
>
> James
>
>
> ------------------------------
>
> *From:* Nicolas-Viet Nguyen [mailto:vietsational@gmail.com]
> *Sent:* Tuesday, June 06, 2006 10:28 AM
> *To:* axis-user
> *Subject:* date versus dateTime
>
>
>
> Hello All,
>
> Is there a way to make "automatic conversion" from date to dateTime in
> SOAP response? Though it sounds silly, I have a situation where the SOAP
> response is returning "date" for some of the elements but the corresponding
> java objects expect dateTime for these elements. Changing the java objects
> to expect "date" format or changing the SOAP response to return dateTime is
> not an option.
>
>
> Thanks,
>
RE: date versus dateTime
Posted by James Armstrong <ja...@carl.org>.
I had to use Calendar instead of java.util.Date.
James
_____
From: Nicolas-Viet Nguyen [mailto:vietsational@gmail.com]
Sent: Tuesday, June 06, 2006 10:28 AM
To: axis-user
Subject: date versus dateTime
Hello All,
Is there a way to make "automatic conversion" from date to dateTime in SOAP
response? Though it sounds silly, I have a situation where the SOAP
response is returning "date" for some of the elements but the corresponding
java objects expect dateTime for these elements. Changing the java objects
to expect "date" format or changing the SOAP response to return dateTime is
not an option.
Thanks,