How are you calling this from flex?  Because it appears the error is in flex trying to reach the destination you have provided.  You are correct in that your cf should be fine, so lets look at how you are trying to talk to it from flex.

simeon


On 8/15/06, Greg Morphis <[EMAIL PROTECTED]> wrote:

I'm passing a 10 digit number to my cfc and within the cfc I want to
divide the 10 digit number into 3 parts using the ColdFusion mid()
function. I cannot seem to get it to work.

here's what I'm trying.. and failing at..

<cfargument name="damin" type="string" required="true" />
<cfset var npa = ''>
<cfset var nxx = ''>
<cfset var data = ''>
<cfset var fooQ = '' />

<cfset npa = mid(damin, 1, 3)>
<cfset nxx = mid(damin, 4, 3)>
<cfset data = "" 7, 4)>

<cfquery name="fooQ" datasource="npanxx_prod">

If I run this from a CFM page, no problem.. however, from Flex I'm getting..
faultCode:Server.Error.Request
faultString:'HTTP request error'
faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false
eventPhase=2 text="Error #2032: Stream Error. URL:
http://localhost:8300/npanxx/npanxx.cfc"].
URL:http://localhost:8300/npanxx/npanxx.cfc'

There isn't anything wrong with my CFC, so why is Flex freaking out on
me? And is there some other way of accomplishing what I'm trying to
do, does Flex require that we sacrifice a goat or something before
it'll behave?


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to