>- see footer for list info -<
Use a HTTP sniffer to see what packet is actually being sent to the web
service. Clearly CF and PHP are not both sending the same thing or it is
being altered in some way. I believe that when calling a CF web service from
CF then CF knows this and does deal with it differently.

Russ


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Terry Riley
Sent: 13 November 2008 15:08
To: [email protected]
Subject: [CF-Dev] CFC function arguments

>- 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 -<



_______________________________________________

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 -<

Reply via email to