This wouldn’t have anything to do with Flex…I’m assuming the XML being returned just doesn’t have the message element populated, correct? Or is nothing being returned?
I’d try a few things before getting all worked up… 1) If you call the picUpload.cfm from another .cfm module is the XML output what you expected? 2) I’d also probably not use the variable name “status”…it’s a pretty common reserved word in all languages, and since you weren’t scoping the variable, you might have an issue there anyway… 3) If not, try hardcoding the XML string with the values to see what you get back…and be sure not to put line breaks in… <cfset variables.status = ‘<?xml version="1.0" encoding="UTF-8" ?><result><status>OK</status><message><cfoutput>#file.serverFile#</cfoutput></message></result>’> <cfoutput>#variables.status#</cfoutput> 4) As an aside, if you *must* use CFXML, try setting the returned content to the text/xml mime type using CFContent right after your cfprocessing directive: <cfcontent type="text/xml; charset=utf-8"> 5) You might want to try to convert it to a string, and automatically have CF prepend the <?xml …> XML declaration: <cfset myvar=toString(xmlobject)> <cfoutput>#myvar#</cfoutput> On a different note… Why don’t you use CF Remoting and have Flex call a CFC method to do the upload and return the file name? We don’t do URLRequests ourselves for security reasons, and we don’t have issues with CF11 and file uploads. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Wednesday, September 23, 2015 9:05 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: uploading files in flex using coldfusion 11 I think you’re the only flex developer left? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: 23 September 2015 14:05 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: uploading files in flex using coldfusion 11 Anyone out there with a solution to this issue? i have been using that code for so long and it worked perfectly. But now for some reason the uploaded file name doesn't appear in the textinput even if the file is actually uploaded onto the server This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.