I have a theory of what is going on. I believe that it requires a date object and won't take a string (which would explain why passing it a Now() or CreateODBCDateTime works with a warning). This thread kind of confirms it:
http://www.justskins.com/forums/webservice-urgent-issue-45305.html As for the warning, I think CF's Apache Axis might not be formatting or serializing (is that the right term?) the date object correctly. Using Web Services Explorer in Eclipse, I'm able to get data back with a warning using 2009-01-27T18:11:21 (notice the GMT offset is missing). And I can get data back without the warning if I use 2009-01-27T23:11:21-05:00. So I know I'm not crazy and that this thing works =P Is there a way to see what CF is sending to the webservice? My brain is mush from trying to figure all this out. I may just switch to using cfhttp and post XML straight to it. We'll see what happens tomorrow. Kevin On Tue, Jan 27, 2009 at 3:58 PM, Kevin Hellriegel <[email protected]> wrote: > It's funny that you mention Allaire, because I found this post while googling: > > http://www.stylusstudio.com/xmldev/199810/post90220.html > > On Tue, Jan 27, 2009 at 3:53 PM, AppDeveloper <[email protected]> wrote: >> If you want to dive down the rabbit hole, this is how it does in the >> Allaire days of CF with the Java util... >> http://www.koders.com/java/fid651395B318F465F02DF87C5C57902DE82FCC2613.aspx?s=cdef%3Aparser >> >> >> On Tue, Jan 27, 2009 at 3:05 PM, Kevin Hellriegel <[email protected]> wrote: >>> I need to create a dateTime for the Fedex ShipService webservice that >>> looks like this: 2009-01-27T14:45:23-05:00. You've got the date, the >>> letter T, the time and offset from GMT. I've created a string, but the >>> web service blows up with the ever useful "Cannot find webservice..." >>> If I use Now() instead, the webservice returns the data I need, but >>> with a warning saying the field (ShipTimestamp) is invalid. I've been >>> looking through the axis API and cannot figure out what to use. Any >>> ideas? >>> >>> Thanks, >>> Kevin >>> >>> >>> ------------------------------------------------------------- >>> To unsubscribe from this list, manage your profile @ >>> http://www.acfug.org?fa=login.edituserform >>> >>> For more info, see http://www.acfug.org/mailinglists >>> Archive @ http://www.mail-archive.com/discussion%40acfug.org/ >>> List hosted by http://www.fusionlink.com >>> ------------------------------------------------------------- >>> >>> >>> >>> >> >> >> ------------------------------------------------------------- >> To unsubscribe from this list, manage your profile @ >> http://www.acfug.org?fa=login.edituserform >> >> For more info, see http://www.acfug.org/mailinglists >> Archive @ http://www.mail-archive.com/discussion%40acfug.org/ >> List hosted by http://www.fusionlink.com >> ------------------------------------------------------------- >> >> >> >> > ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
