<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Flex2 (and 3) RemoteObjects over SSL with ColdFusion</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/comment-page-1/#comment-300020</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 14 Mar 2012 18:23:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/#comment-300020</guid>
		<description>Balashankar, I&#039;m not sure what to tell you.  I haven&#039;t used Flex for anything in probably four years, which means I&#039;ve never done anything with Flex and CF9 together.  You might check the LCDS support forums on Adobe.com, if there is such a thing.</description>
		<content:encoded><![CDATA[<p>Balashankar, I'm not sure what to tell you.  I haven't used Flex for anything in probably four years, which means I've never done anything with Flex and CF9 together.  You might check the LCDS support forums on Adobe.com, if there is such a thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balashankar</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/comment-page-1/#comment-299954</link>
		<dc:creator>Balashankar</dc:creator>
		<pubDate>Wed, 14 Mar 2012 05:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/#comment-299954</guid>
		<description>I followed the steps you have given, but still this error comes?

&lt;pre&gt;(mx.messaging.messages::ErrorMessage)#0
body = (null)
clientId = â€œEBEBD2B1-1B0D-4FBA-96D7-E4EF997B458Eâ€
correlationId = â€œB5BB5A82-F351-0C08-F627-08FA97B7E72Bâ€
destination = â€œColdFusionâ€
extendedData = (null)
faultCode = â€œServer.Processingâ€
faultDetail = (null)
faultString = â€œDestination â€˜ColdFusionâ€™ not accessible over channel â€˜my-cfamf-secureâ€™.â€
headers = (Object)#1
messageId = â€œEBEBD2B1-1B1E-01EC-285E-843B7C436FEBâ€
rootCause = (null)
timestamp = 1331590502987
timeToLive = 0
&lt;/pre&gt;

If I use â€˜my-cfamf-secureâ€™ as first line of code in &amp;ltchannnels&amp;gt tag, the same above error is displayed, if I use, â€˜my-cfamf&#039; as first line of code in &amp;ltchannels&amp;gt tag, faultString=&quot;Connect disconnected before an acknowledgement&quot; is the error displayed.

What else can I do to make my CF9 server to work?

One more point, the same set of files works fine in CF8 server box without any issue.

Please give some tips.</description>
		<content:encoded><![CDATA[<p>I followed the steps you have given, but still this error comes?</p>
<pre>(mx.messaging.messages::ErrorMessage)#0
body = (null)
clientId = â€œEBEBD2B1-1B0D-4FBA-96D7-E4EF997B458Eâ€
correlationId = â€œB5BB5A82-F351-0C08-F627-08FA97B7E72Bâ€
destination = â€œColdFusionâ€
extendedData = (null)
faultCode = â€œServer.Processingâ€
faultDetail = (null)
faultString = â€œDestination â€˜ColdFusionâ€™ not accessible over channel â€˜my-cfamf-secureâ€™.â€
headers = (Object)#1
messageId = â€œEBEBD2B1-1B1E-01EC-285E-843B7C436FEBâ€
rootCause = (null)
timestamp = 1331590502987
timeToLive = 0
</pre>
<p>If I use â€˜my-cfamf-secureâ€™ as first line of code in &amp;ltchannnels&amp;gt tag, the same above error is displayed, if I use, â€˜my-cfamf' as first line of code in &amp;ltchannels&amp;gt tag, faultString="Connect disconnected before an acknowledgement" is the error displayed.</p>
<p>What else can I do to make my CF9 server to work?</p>
<p>One more point, the same set of files works fine in CF8 server box without any issue.</p>
<p>Please give some tips.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/comment-page-1/#comment-66079</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 19 Mar 2008 15:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/#comment-66079</guid>
		<description>I should add that everything is working correctly however the data is NOT encripted via the secure channel from Flex.  Is anyone working on this from Adobe?</description>
		<content:encoded><![CDATA[<p>I should add that everything is working correctly however the data is NOT encripted via the secure channel from Flex.  Is anyone working on this from Adobe?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/comment-page-1/#comment-66074</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 19 Mar 2008 15:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/#comment-66074</guid>
		<description>Is there any update to this discussion?
our setup:
- Flex Builder without -services tag (Basic setup - no server)
- Wrapper grabbing URL and adding &quot;/flex2gateway/&quot; and passing string in via flashVars.
- flashVars read and set to variable in Flex application
- variable used as endpoint in RemoteObject (endpoint=&quot;variable&quot;)
- path to CFC set in RemoteObject source (source=&quot;path.to.cfc&quot;)
- services-config.xml has default channel ()and new secure channel ()
- non secure (endpoint uri=&quot;http://{server.name}:{server.port}/flex2gateway/&quot; class=&quot;flex.messaging.endpoints.AMFEndpoint&quot;/&gt;)
- secure (uri=&quot;https://{server.name}:{server.port}/flex2gateway/&quot; class=&quot;flex.messaging.endpoints.SecureAMFEndpoint&quot;)
- context root removed as we do not have one set

Should I be setting up a connection manually instead and setting my channels there?  
If I do this manually, don&#039;t I then limit my returns to XML only and don&#039;t I kill any possiblility of pushing (messaging) my data from the server to the client for realtime data?
Shouldn&#039;t my secure endpoint in the config-services.xml be &quot;/flex2gateway/cfamfsecure&quot;?</description>
		<content:encoded><![CDATA[<p>Is there any update to this discussion?<br />
our setup:<br />
- Flex Builder without -services tag (Basic setup &#8211; no server)<br />
- Wrapper grabbing URL and adding "/flex2gateway/" and passing string in via flashVars.<br />
- flashVars read and set to variable in Flex application<br />
- variable used as endpoint in RemoteObject (endpoint="variable")<br />
- path to CFC set in RemoteObject source (source="path.to.cfc")<br />
- services-config.xml has default channel ()and new secure channel ()<br />
- non secure (endpoint uri="http://{server.name}:{server.port}/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/&gt;)<br />
- secure (uri="https://{server.name}:{server.port}/flex2gateway/" class="flex.messaging.endpoints.SecureAMFEndpoint")<br />
- context root removed as we do not have one set</p>
<p>Should I be setting up a connection manually instead and setting my channels there?<br />
If I do this manually, don't I then limit my returns to XML only and don't I kill any possiblility of pushing (messaging) my data from the server to the client for realtime data?<br />
Shouldn't my secure endpoint in the config-services.xml be "/flex2gateway/cfamfsecure"?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/comment-page-1/#comment-52581</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 19 Dec 2007 21:29:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/#comment-52581</guid>
		<description>Rajesh,

I honestly don&#039;t know.  I believe if you only have a single channel in your destination config, it&#039;ll use it.  I&#039;ve never actually compiled a SWF with services-config.xml, I&#039;ve always managed my channelsets manually for the flexibility.  The Flex docs should turn up the answers.  My point was that if you use services-config.xml, the compiler is in charge of picking the right classes to use, instead of having to do it manually.</description>
		<content:encoded><![CDATA[<p>Rajesh,</p>
<p>I honestly don't know.  I believe if you only have a single channel in your destination config, it'll use it.  I've never actually compiled a SWF with services-config.xml, I've always managed my channelsets manually for the flexibility.  The Flex docs should turn up the answers.  My point was that if you use services-config.xml, the compiler is in charge of picking the right classes to use, instead of having to do it manually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajesh</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/comment-page-1/#comment-52579</link>
		<dc:creator>rajesh</dc:creator>
		<pubDate>Wed, 19 Dec 2007 21:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/#comment-52579</guid>
		<description>Hi Barney,


You said

&quot;In addition to this server-side config, you need to ensure your client connects to the proper channel and with the proper Channel (the AS class) implementation.  If you&#039;re using services-config.xml in your compilation process, it&#039;s a no brainer,&quot;

but, i dont know how should i do it if i am using the services-config.xml in compilation process. Can you please let me know what to do in this case ?</description>
		<content:encoded><![CDATA[<p>Hi Barney,</p>
<p>You said</p>
<p>"In addition to this server-side config, you need to ensure your client connects to the proper channel and with the proper Channel (the AS class) implementation.  If you're using services-config.xml in your compilation process, it's a no brainer,"</p>
<p>but, i dont know how should i do it if i am using the services-config.xml in compilation process. Can you please let me know what to do in this case ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/comment-page-1/#comment-51174</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Sun, 09 Dec 2007 19:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/#comment-51174</guid>
		<description>Interesting, John.  At work, we&#039;re going to be deploying our first Flex-based e-com app in a couple weeks, and obviously be using SSL for it.  To this point, we haven&#039;t seen any issues, but we&#039;re using the in-Flex channel config stuff, not using services-config.</description>
		<content:encoded><![CDATA[<p>Interesting, John.  At work, we're going to be deploying our first Flex-based e-com app in a couple weeks, and obviously be using SSL for it.  To this point, we haven't seen any issues, but we're using the in-Flex channel config stuff, not using services-config.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Clarkson</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/comment-page-1/#comment-51049</link>
		<dc:creator>John Clarkson</dc:creator>
		<pubDate>Sat, 08 Dec 2007 18:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/#comment-51049</guid>
		<description>The second to last sentence regarding Firefox in my previous post should have said: &quot;With the channels specified in the opposite order the http packets are NOT returned to the Browser.&quot;
I do have add-no-cache-headers set to false in service-config.</description>
		<content:encoded><![CDATA[<p>The second to last sentence regarding Firefox in my previous post should have said: "With the channels specified in the opposite order the http packets are NOT returned to the Browser."<br />
I do have add-no-cache-headers set to false in service-config.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Clarkson</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/comment-page-1/#comment-51003</link>
		<dc:creator>John Clarkson</dc:creator>
		<pubDate>Sat, 08 Dec 2007 08:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/#comment-51003</guid>
		<description>An update of my investigations - I have deployed my CF-Flex application on both local host (http) and also on a remote host with SSL certificate installed.  I have built the Flex application using the remoting-config.xml settings as per my previous post and have now been using SmartSniff to look at the packets between my Browser and the Server to see which channel is actually being used.  I should make it clear that I am not specifying the channelSet in my client as Barney does in his original post - I am just specifying it in the remoting-config file when I build the application with the default as my-amf-secure - if I trace remoteObject.channelSet I see that it does include both my-amf and my-amf-secure.

In conclusion, with the same application deployed (using IE7):
- as expected http packets are sent and received with the http localhost deployment.
- https packets are sent from Flex to CF but the responses are http packets with the SSL deployment!

Using Firefox I found I needed to specify the my-amf channel before the my-amf-secure channel within the channels tags in order to get the same behaviour as observed with IE! With the channels specified in the opposite order the http packets are returned to the Browser.

So I have got something wrong somewhere! More investigations required.</description>
		<content:encoded><![CDATA[<p>An update of my investigations &#8211; I have deployed my CF-Flex application on both local host (http) and also on a remote host with SSL certificate installed.  I have built the Flex application using the remoting-config.xml settings as per my previous post and have now been using SmartSniff to look at the packets between my Browser and the Server to see which channel is actually being used.  I should make it clear that I am not specifying the channelSet in my client as Barney does in his original post &#8211; I am just specifying it in the remoting-config file when I build the application with the default as my-amf-secure &#8211; if I trace remoteObject.channelSet I see that it does include both my-amf and my-amf-secure.</p>
<p>In conclusion, with the same application deployed (using IE7):<br />
- as expected http packets are sent and received with the http localhost deployment.<br />
- https packets are sent from Flex to CF but the responses are http packets with the SSL deployment!</p>
<p>Using Firefox I found I needed to specify the my-amf channel before the my-amf-secure channel within the channels tags in order to get the same behaviour as observed with IE! With the channels specified in the opposite order the http packets are returned to the Browser.</p>
<p>So I have got something wrong somewhere! More investigations required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/comment-page-1/#comment-50859</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Fri, 07 Dec 2007 04:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/#comment-50859</guid>
		<description>John,

My understanding is that a given destination can have an arbitrary number of channels associated with it, since you specify both the destination to connect to and the channel to use in your Flex app.  I don&#039;t know that I&#039;ve ever actually tried doing both at the same time, however.</description>
		<content:encoded><![CDATA[<p>John,</p>
<p>My understanding is that a given destination can have an arbitrary number of channels associated with it, since you specify both the destination to connect to and the channel to use in your Flex app.  I don't know that I've ever actually tried doing both at the same time, however.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
