[ACFUG Discuss] ISO 8601 date

2009-01-27 Thread Kevin Hellriegel
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() inst

Re: [ACFUG Discuss] ISO 8601 date

2009-01-27 Thread Teddy R. Payne
Quick and dirty. Teddy R. Payne, ACCFD Google Talk - teddyrpa...@gmail.com On Tue, Jan 27, 2009 at 3:05 PM, Kevin Hellriegel 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 t

Re: [ACFUG Discuss] ISO 8601 date

2009-01-27 Thread Kevin Hellriegel
copy pasta'd your code Teddy and got the "Web service operation processShipment with parameters...could not be found" :( If I replace it with Now(), it works but with a warning. Is there a java function that will do the formatting? On Tue, Jan 27, 2009 at 3:17 PM, Teddy R. Payne wrote: > TimeFor

RE: [ACFUG Discuss] ISO 8601 date

2009-01-27 Thread axunderwood
Sent: Tuesday, January 27, 2009 3:17 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] ISO 8601 date Quick and dirty. Teddy R. Payne, ACCFD Google Talk - teddyrpa...@gmail.com<mailto:teddyrpa...@gmail.com> On Tue, Jan 27, 2009 at 3:05 PM, Kevin Hellriegel mailto:khell...@gmail.com&

Re: [ACFUG Discuss] ISO 8601 date

2009-01-27 Thread Ajas Mohammed
Well, looks like the error is related to some kind of datatype mismatch. What type of datatype is the webservice supposed to return? date or string ? If its java related, then only function i can remember is JavaCast. You can convert a number to int so java can understand what needs to be called e

Re: [ACFUG Discuss] ISO 8601 date

2009-01-27 Thread Teddy R. Payne
Kevin, Try what Allen has suggested to you with ODBC Date and Time. The error kind of reads like a data type issue. If you are asking about a way to Java cast a data type, CF8 offers a few casting data types more so than CF7: CF8 - http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?conten

Re: [ACFUG Discuss] ISO 8601 date

2009-01-27 Thread AppDeveloper
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 wrote: > I need to create a dateTime for the

Re: [ACFUG Discuss] ISO 8601 date

2009-01-27 Thread Kevin Hellriegel
Tried Allen's and was able to get data back, but the webservice returned a warning saying "ShipTimestamp is invalid". Here is the snippet from the Dev Guide: This element must be formatted -MM-DDTHH:MM:SS-HH:MM such as 2008-01-21T14:15:37-05:00 or 2008-01-21T14:15:37+03:00 where: • -MM-DD

Re: [ACFUG Discuss] ISO 8601 date

2009-01-27 Thread Kevin Hellriegel
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 wrote: > If you want to dive down the rabbit hole, this is how it does in the > Allaire days of CF with the Java u

Re: [ACFUG Discuss] ISO 8601 date

2009-01-27 Thread Kevin Hellriegel
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

Re: [ACFUG Discuss] ISO 8601 date

2009-01-27 Thread Ajas Mohammed
ok, what is url for this webservice? you mind sharing that? http://ajashadi.blogspot.com We cannot become what we need to be, remaining what we are. No matter what, find a way. Because thats what winners do. You can't improve what you don't measure. Quality is never an accident; it is always the

Re: [ACFUG Discuss] ISO 8601 date

2009-01-28 Thread Kevin Hellriegel
Not at all. http://www.shipwithcts.com/test/fedex/ShipService_v5.wsdl On Tue, Jan 27, 2009 at 9:54 PM, Ajas Mohammed wrote: > ok, what is url for this webservice? you mind sharing that? > > > http://ajashadi.blogspot.com > We cannot become what we need to be, remaining what we are. > No matter w

Re: [ACFUG Discuss] ISO 8601 date

2009-01-28 Thread Kevin Hellriegel
Forgot to mention the operation I am using is processShipment. Kevin On Wed, Jan 28, 2009 at 8:28 AM, Kevin Hellriegel wrote: > Not at all. http://www.shipwithcts.com/test/fedex/ShipService_v5.wsdl > > On Tue, Jan 27, 2009 at 9:54 PM, Ajas Mohammed wrote: >> ok, what is url for this webservice?

Re: [ACFUG Discuss] ISO 8601 date

2009-01-28 Thread Ajas Mohammed
did u figure it out? I used that wsdl link you gave and tried to open in browser and it was giving text information. I was expecting a xml structure. I guess i might have missed something but i was busy and didnt get time to look at it again. Let us know what happened. http://ajashadi.blogspot.

Re: [ACFUG Discuss] ISO 8601 date

2009-01-28 Thread Kevin Hellriegel
I ended up calling Fedex. They were able to view the requests I had made. CF8 is sending the date as 2009-01-27T22:00:00Z. Fedex requires it to be formatted as 2009-01-28T03:00:00-05:00. I don't know if there is a way to change the formatting. Since this is a pretty hot project, I'm going to genera

RE: [ACFUG Discuss] ISO 8601 date

2009-01-28 Thread Charlie Arehart
Kevin Hellriegel Sent: Wednesday, January 28, 2009 9:21 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] ISO 8601 date I ended up calling Fedex. They were able to view the requests I had made. CF8 is sending the date as 2009-01-27T22:00:00Z. Fedex requires it to be formatted as 2009-01-28T

Re: [ACFUG Discuss] ISO 8601 date

2009-01-29 Thread Kevin Hellriegel
] On Behalf Of Kevin Hellriegel > Sent: Wednesday, January 28, 2009 9:21 PM > To: discussion@acfug.org > Subject: Re: [ACFUG Discuss] ISO 8601 date > > I ended up calling Fedex. They were able to view the requests I had > made. CF8 is sending the date as 2009-01-27T22:00:00Z. Fede