<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>&lt;CF-A-LOT /&gt; - Flex</title>
			<link>http://www.danlance.co.uk/index.cfm</link>
			<description>Dan Lancelot&apos;s CF-Blog</description>
			<language>en-gb</language>
			<pubDate>Tue, 07 Sep 2010 01:32:18 --0100</pubDate>
			<lastBuildDate>Wed, 29 Aug 2007 00:40:00 --0100</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>danlance@gmail.com</managingEditor>
			<webMaster>danlance@gmail.com</webMaster>
			
			
			
			
			
			<item>
				<title>Flex integration broken in CFMX 7.02 on Ubuntu (maybe - for most people)</title>
				<link>http://www.danlance.co.uk/index.cfm/2007/8/29/Flex-integration-broken-in-CFMX-702-on-Ubuntu-maybe--for-most-people</link>
				<description>
				
				I struggled with this over most of the weekend - and eventually came to the conclusion that flex / CF integration does not work using CFMX 7.02 on Ubuntu.

This appears to be a known issue (at least for Red Hat) - logged &lt;a href=&quot;http://www.adobe.com/go/98a6b0bd&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;

Any flex requests to CFC&apos;s are met with flex/messaging/io/amf/UnknownTypeException.
				 [More]
				</description>
						
				
				<category>Flex</category>				
				
				<category>ColdFusion</category>				
				
				<category>ubuntu</category>				
				
				<pubDate>Wed, 29 Aug 2007 00:40:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2007/8/29/Flex-integration-broken-in-CFMX-702-on-Ubuntu-maybe--for-most-people</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>&amp;quot;Invisible Software,&quot; RIAs, and ColdFusion | Matt Woodward&apos;s Blog</title>
				<link>http://www.danlance.co.uk/index.cfm/2007/7/25/quotInvisible-Software-RIAs-and-ColdFusion--Matt-Woodwards-Blog</link>
				<description>
				
				Great article from Matt Woodward on the changing emphasis within online application development:&amp;lt;br/&amp;gt;

&lt;a href=&quot;http://www.mattwoodward.com/blog/index.cfm?event=showEntry&amp;amp;entryId=D1E4BEE9-FDEC-CE0D-A2A8C2CF8F093C6C&quot;&gt;&quot;Invisible Software,&quot; RIAs, and ColdFusion | Matt Woodward&apos;s Blog&lt;/a&gt;&lt;p style=&quot;text-align: right; font-size: 8px&quot;&gt;Blogged with &lt;a href=&quot;http://www.flock.com/blogged-with-flock&quot; title=&quot;Flock&quot; target=&quot;_new&quot;&gt;Flock&lt;/a&gt;&lt;/p&gt;
				
				</description>
						
				
				<category>Flex</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 25 Jul 2007 22:21:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2007/7/25/quotInvisible-Software-RIAs-and-ColdFusion--Matt-Woodwards-Blog</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>&quot;Page Not Found (404)&quot; error accessing Coldfusion /flex2gateway on IIS on windows XP</title>
				<link>http://www.danlance.co.uk/index.cfm/2007/3/27/Page-Not-Found-404-error-accessing-flex2gateway-on-IIS-on-windows-XP</link>
				<description>
				
				It&apos;s taken me 2 hours to get to the bottom of this, but I finally managed to fix the problem:).

&lt;h2&gt;Machine History&lt;/h2&gt;
My machine had been set-up with CFMX 6.1.

I had then installed CFMX 7.0.1 in addition to CFMX 6.1, with a virtual directory set-up within IIS with all the CF7 mappings.

Subsequently I installed the CFMX 7.0.2 updater.

&lt;h2&gt;Problem Description&lt;/h2&gt;
Any requests made to http://localhost/flex2gateway/ resulted in a standard IIS &quot;Page not Found&quot; 404 error being displayed.

Requests to http://localhost/flex2gateway/index.cfm resulted in &quot;No configured channel has an endpoint path /flex2gateway/index.cfm&apos;&quot; JRun Servlet error being displayed.

This made me think that the problem was not with the Flex configuration, but rather that the request was not getting as far as JRun / CF / Flex - i.e. it was a problem with the CF connector.

&lt;h2&gt;Solution:&lt;/h2&gt;
I ran:
&lt;blockquote&gt;\CFusionMX7\bin\connectors\Remove_ALL_connectors.bat&lt;/blockquote&gt;
to remove CF7 IIS connector.
Followed by:
&lt;blockquote&gt;\CFusionMX7\bin\connectors\IIS_connector.bat&lt;/blockquote&gt;
to reinstall the CF7 IIS connector.

&lt;b&gt;Success!&lt;/b&gt;

Requests to http://localhost/flex2gateway/ now result in a blank page - http status 200 - and flex applications can now  access CFCs successfully.

Hopefully this helps someone out there - I couldn&apos;t find anything particularly helpful on google when I looked...
				
				</description>
						
				
				<category>Flex</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 27 Mar 2007 01:26:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2007/3/27/Page-Not-Found-404-error-accessing-flex2gateway-on-IIS-on-windows-XP</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Flex - cross-domain-policy - I just don&apos;t get it...</title>
				<link>http://www.danlance.co.uk/index.cfm/2007/3/19/Flex--crossdomainpolicy--I-just-dont-get-it</link>
				<description>
				
				I installed Flex Builder 2 plugin last night, - and overall I&apos;m very impressed.

I&apos;m particularly impressed with the  documentation, and in particular the lessons - each lesson is really short, but they cover the basics very quickly - great for someone like me who has no previous experience with Flex, and very little with flash.

I&apos;ve been working through the lessons, and in the second lesson, it goes through creating a (basic) RSS feed reader.

So I went through the example, using the RSS feed given as an example in the lesson (for Matt Chotin&apos;s blog).  This worked fine, so I though - that&apos;s cool, lets point the feed at my own  blog...

This didn&apos;t do anything, so, I worked out how to view debug mode (for some reason debug mode is only working with IE on my machine, not Firefox - probably an installation issue), and saw the following error:
&lt;ul&gt;&lt;li&gt;Security error accessing url...&lt;/li&gt;&lt;/ul&gt;
I then went back to the second page of the lesson, where it mentioned about having to set-up a &quot;crossdomain.xml&quot; file on the server hosting the data source...

I&apos;m sorry - but I don&apos;t get this - on the domain on which the RSS feed is hosted, you have to set-up a file detailing which domains can host flex / flash applications which access the source domain...

The flash application is responsible for checking this file before deciding whether to access the remote data source...

So... this file on the remote server, instructs the client application to check whether it has permission to access the remote server, based on the domain on which the client app &lt;i&gt;thinks&lt;/i&gt; its being served on...

So what on earth does this achieve?

I can see 2 cases where you might want to lock things down:
&lt;ol&gt;
&lt;li&gt;The remote server is hosting a service with restricted access, and needs to make sure the client is authorised to serve the data before allowing it to be served&lt;/li&gt;
&lt;li&gt;The application is running on a local machine, and you want to restrict the sites that the application has access to&lt;/li&gt;
&lt;/ol&gt;

The first point is not achieved by the use of the &quot;crossdomain.xml&quot; file - as one of the 1st rules of implementing security within a client-server environment, is that the server is responsible for implementing security, not the client.
In addition, I would assume that the flash application knows where it being served from based on the host headers (as it is running in the local machine, not on the domain from which it is served) - which presumably (and I&apos;ve not checked) could be faked through the use of the hosts file etc.

The second point is not implemented at all - as the crossdomain.xml file is implemented on the remote server - not on the client.

So what on earth does this crossdomain.xml file achieve - other than requiring hosts of a public service to make a concious decision that they will allow flash clients to access the service.  Surely the point of open standards such as RSS - is that they are open - and it is the choice of the consumer, how they consume them...

&lt;b&gt;PLEASE&lt;/b&gt; - if I have completely missed the point here, let me know - as from what I can see, the crossdomain.xml &quot;security&quot; implementation would appear to be both pointless and obstructive...

I could see the point if the crossdomain.xml file were optional and advisory - a bit like robots.txt - an indication of a preference, if implemented, rather than an absolute requirement if data is to be served to a remote domain.
				
				</description>
						
				
				<category>Flex</category>				
				
				<category>CFEclipse</category>				
				
				<pubDate>Mon, 19 Mar 2007 23:52:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2007/3/19/Flex--crossdomainpolicy--I-just-dont-get-it</guid>
				
			</item>
			
		 	
			</channel></rss>