Hi Dan, How is what being generated? The request is a SOAP request that is coming from a Flex client. The date is chosen by using a date-picker calendar on the client. Is that what you're asking me for?
In the wsdl, the date field is configured as a xs:dateTime. Versions - CXF is 2.3.1 and JAXB is 2.2.1. I narrowed it down... My Database shows the following... 1917-11-01T23:00:00.000-05:00 1917-11-02T23:00:00.000-05:00 1917-11-03T23:00:00.000-05:00 1917-11-05T00:00:00.000-05:00 1917-11-06T00:00:00.000-05:00 1917-11-07T00:00:00.000-05:00 So, as you can see, when I specify 11-04-1917, that appears to be the magical date that loses the precision and reverts 2 hours back in time, setting the date to 11-3-1917 23:00 hours. Again, the web proxy shows that the dates are passed to the server correctly and the server side code shows the dates as they appear above. Is there any significance to that date? Very strange indeed. Aaron On Thu, Apr 7, 2011 at 12:58 PM, Daniel Kulp <[email protected]> wrote: > On Wednesday 06 April 2011 3:39:50 PM Aaron Ehrensberger wrote: > > Hi all, > > > > I searched the site but couldn't find an answer to this one... maybe I > > missed it. > > > > But - I'm passing in a date, such as 05/05/1911. Looking at it through > > Charles web proxy, I see the date is being passed in the webservice as > > 1911-05-05T04:00:00Z. > > How is that being generated? Also, in the wsdl, is this an xsd:date? If > so, the time part shouldn't be there. Also, what versions of CXF and > JAXB > are being used? > > Dan > > > > > Setting a breakpoint at the very beginning of my webservice (which is > after > > the objects have been bound by CXF), the date value shows as > > 1911-05-04T23:00:00Z. > > > > It appears to be consistent with older dates like that and it's reverting > > it back a few hours to the previous day. > > > > How can I fix this behavior? > > > > Aaron > > -- > Daniel Kulp > [email protected] > http://dankulp.com/blog > Talend - http://www.talend.com > -- Aaron Ehrensberger Software Architect DocFinity® by Optical Image Technology, Inc. 100 Oakwood Avenue, State College, PA 16803 ph: 814.238.0038 ext. 270 fax: 814.238.0011 email: [email protected] web: www.docfinity.com
