>- see footer for list info -< For anyone interested, this problem is solved. The stated "date" type for a cfc method argument is, in fact, "dateTime" in the format 'yyyy-mm-ddThh:mm:ss'. I tried several versions of date/time yesterday but not with the 'T'! If you send that date format from php, it works as expected. If you are communicating with the webservice from another CF application, then it would seem that 'yyyy-mm-dd' is acceptable. As I was doing date calculations based on the yyyy-mm-dd format, I decided to change to "string" data type and run an IsDate() before proceeding.
Hope that helps someone - I wouldn't perhaps have found it until I looked at the XML produced by the method using soapUI (mentioned later by Russ). Cheers Terry ----- Original Message ----- > *From:* "Terry Riley" <[EMAIL PROTECTED]> > *To:* [email protected] > *Date:* Thu, 13 Nov 2008 15:08 +0000 (GMT Standard Time) > > >- see footer for list info -< > Have been having a few problems with a web service being used by a > php app, which doesn't occur when I access the same service from > CF(8). > > The function argument is type="date", and if I pass it '2008-10-20' > from a CF template, it works and I get the right answers. > > If I access the same function, with the (AFAICT) exact same > arguments, from a php template (locally, as with the CF above), I get > a failure from Invalid date/time format. > > When I change the php template date input to '10/20/2008' (ie > mm/dd/yyyy) the bloody thing works without a failure message. > > I'm not going to ask the people writing the main php app to put all > their dates into American, so am stuck with changing the argument > type from "date" to "string", and it all works. However, that doesn't > feel right, somehow. > > Have I missed a trick (or two) in configuration that has caused me to > make such a change. I cannae see where I missed out, captain. Any > hints available? > > Cheers > Terry > > > -- > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.549 / Virus Database: 270.9.2/1784 - Release Date: > 12/11/2008 19:01 > > > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving lists, go > to http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > >- Lists hosted by www.Gradwell.com -< > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your > help -< > > > -- > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.549 / Virus Database: 270.9.2/1784 - Release Date: > 12/11/2008 19:01 > > Terry (free event listings at http://www.confexdb.co.uk) -- No virus found in this outgoing message. Checked by AVG. Version: 7.5.549 / Virus Database: 270.9.3/1786 - Release Date: 13/11/2008 18:01 _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
