I tried using explicit array declaration. Still getting the same error. I am
thinking this has to do with the dates.

<cfset tagData.RequestedShipment.PickupDetail.ReadyDateTime =
CreateDateTime(2009, 12, 4,8, 0, 0)>
<cfset tagData.RequestedShipment.PickupDetail.LatestPickupDateTime =
CreateDateTime(2009, 12, 4,11, 0, 0)>

I have tried different different date formats.
DateFormat(Now(),"yyyy-mm-dd") & TimeFormat (Now()," hh:mm tt ")>
and also tried hardcoding the date "2009-12-4 08:00:00".

The wsdl expects the date in the xsd:dateTime format (2009-12-04T08:00:00)
and coldfusion is supposed to convert the date object into xsd:datetime
while consuming web services. It may not be doing that.



On Wed, Dec 2, 2009 at 10:52 PM, Leigh <[email protected]> wrote:

>
> > <cfset serviceTypes[1] = "RETURN_SHIPMENT">
>
> Try it using an explicit array declaration instead.
>
> ie
>
> <cfset serviceTypes = arrayNew(1)>
> <cfset arrayAppend(serviceTypes, "RETURN_SHIPMENT") >
>
> OR
>
> <cfset serviceTypes = [] >
> <cfset arrayAppend(serviceTypes, "RETURN_SHIPMENT") >
>
> -Leigh
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328794
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to