<?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: Api keys to the city (setting up a Flex 3 project with Drupal Services)</title>
	<atom:link href="http://electricpineapple.net/2009/03/10/api-keys-to-the-city-setting-up-a-flex-3-project-with-drupal-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://electricpineapple.net/2009/03/10/api-keys-to-the-city-setting-up-a-flex-3-project-with-drupal-services/</link>
	<description>Powered by Fruit?</description>
	<lastBuildDate>Sat, 22 May 2010 23:57:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Erik</title>
		<link>http://electricpineapple.net/2009/03/10/api-keys-to-the-city-setting-up-a-flex-3-project-with-drupal-services/comment-page-1/#comment-3446</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Fri, 23 Apr 2010 04:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://electricpineapple.net/?p=32#comment-3446</guid>
		<description>Services is still kicking in Drupal and is a viable method for connecting with Flash builder, there may be different methods with the newer build but the same process should hold.</description>
		<content:encoded><![CDATA[<p>Services is still kicking in Drupal and is a viable method for connecting with Flash builder, there may be different methods with the newer build but the same process should hold.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rocko</title>
		<link>http://electricpineapple.net/2009/03/10/api-keys-to-the-city-setting-up-a-flex-3-project-with-drupal-services/comment-page-1/#comment-3443</link>
		<dc:creator>Rocko</dc:creator>
		<pubDate>Thu, 22 Apr 2010 19:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://electricpineapple.net/?p=32#comment-3443</guid>
		<description>I know that Flash builder 4 is now integrated with ZendAMF, so what is the step by step process for getting flash builder 4 to work with drupal?</description>
		<content:encoded><![CDATA[<p>I know that Flash builder 4 is now integrated with ZendAMF, so what is the step by step process for getting flash builder 4 to work with drupal?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rocko</title>
		<link>http://electricpineapple.net/2009/03/10/api-keys-to-the-city-setting-up-a-flex-3-project-with-drupal-services/comment-page-1/#comment-3442</link>
		<dc:creator>Rocko</dc:creator>
		<pubDate>Thu, 22 Apr 2010 19:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://electricpineapple.net/?p=32#comment-3442</guid>
		<description>Is this still the preferred method of working with drupal and the release of Flash Builder 4? Should the same technique still be used for flash builder4 interaction with a drupal based cms backend?</description>
		<content:encoded><![CDATA[<p>Is this still the preferred method of working with drupal and the release of Flash Builder 4? Should the same technique still be used for flash builder4 interaction with a drupal based cms backend?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Micah Waldman</title>
		<link>http://electricpineapple.net/2009/03/10/api-keys-to-the-city-setting-up-a-flex-3-project-with-drupal-services/comment-page-1/#comment-2985</link>
		<dc:creator>Micah Waldman</dc:creator>
		<pubDate>Fri, 29 Jan 2010 02:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://electricpineapple.net/?p=32#comment-2985</guid>
		<description>Erik,

Great post. Thank you so much. It provided me everything I needed to get going.

Since this is the most complete &quot;documentation&quot; that I found on using Services from Flex, I wanted to add a couple of comments that I suspect would help others. Perhaps you want to mention them in your post itself:

- Apparently &#039;logout&#039; is a reserved word in Flex so you cannot do something like user.logout() - you get compiler errors. Instead you need to do user.getOperation(&#039;logout&#039;).send(). It took me a while to find this out (see http://drupal.org/node/178051#comment-919923).

- When using the latest Services module views.get method, there are two options to get the view data:
1. If you set the Style to Unformatted and then Row style to Fields, then you get back from views.get the fields that are defined in the view. However, there are some limitations here - for example, fields with grouped multiple values are not returned. This has to do with how Services integrates with Views (see more at http://drupal.org/node/678202).
2. You can set the Style to Unformatted and Row style to Node. This in principle returns the whole node, so you can access any fields you need. I say in principle because it was recently changed to return just the nid instead of the entire node object and there&#039;s currently a discussion on how to handle this issue (see more at http://drupal.org/node/654644). I applied the patch listed in #28 of the above issue and it now returns the whole node again, which I need. Hopefully this will be resolved soon.

Cheers,
Micah</description>
		<content:encoded><![CDATA[<p>Erik,</p>
<p>Great post. Thank you so much. It provided me everything I needed to get going.</p>
<p>Since this is the most complete &#8220;documentation&#8221; that I found on using Services from Flex, I wanted to add a couple of comments that I suspect would help others. Perhaps you want to mention them in your post itself:</p>
<p>- Apparently &#8216;logout&#8217; is a reserved word in Flex so you cannot do something like user.logout() &#8211; you get compiler errors. Instead you need to do user.getOperation(&#8216;logout&#8217;).send(). It took me a while to find this out (see <a href="http://drupal.org/node/178051#comment-919923)" rel="nofollow">http://drupal.org/node/178051#comment-919923)</a>.</p>
<p>- When using the latest Services module views.get method, there are two options to get the view data:<br />
1. If you set the Style to Unformatted and then Row style to Fields, then you get back from views.get the fields that are defined in the view. However, there are some limitations here &#8211; for example, fields with grouped multiple values are not returned. This has to do with how Services integrates with Views (see more at <a href="http://drupal.org/node/678202)" rel="nofollow">http://drupal.org/node/678202)</a>.<br />
2. You can set the Style to Unformatted and Row style to Node. This in principle returns the whole node, so you can access any fields you need. I say in principle because it was recently changed to return just the nid instead of the entire node object and there&#8217;s currently a discussion on how to handle this issue (see more at <a href="http://drupal.org/node/654644)" rel="nofollow">http://drupal.org/node/654644)</a>. I applied the patch listed in #28 of the above issue and it now returns the whole node again, which I need. Hopefully this will be resolved soon.</p>
<p>Cheers,<br />
Micah</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://electricpineapple.net/2009/03/10/api-keys-to-the-city-setting-up-a-flex-3-project-with-drupal-services/comment-page-1/#comment-2613</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sat, 12 Dec 2009 21:28:22 +0000</pubDate>
		<guid isPermaLink="false">http://electricpineapple.net/?p=32#comment-2613</guid>
		<description>TypeError: Error #1010: A term is undefined and has no properties.
	at com.adobe.crypto::HMAC$/hashBytes()[.../src/com/adobe/crypto/HMAC.as:114]

My project is failing in the hashKey method before the call is even made... within the adobe library...?</description>
		<content:encoded><![CDATA[<p>TypeError: Error #1010: A term is undefined and has no properties.<br />
	at com.adobe.crypto::HMAC$/hashBytes()[.../src/com/adobe/crypto/HMAC.as:114]</p>
<p>My project is failing in the hashKey method before the call is even made&#8230; within the adobe library&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jomesili</title>
		<link>http://electricpineapple.net/2009/03/10/api-keys-to-the-city-setting-up-a-flex-3-project-with-drupal-services/comment-page-1/#comment-2036</link>
		<dc:creator>Jomesili</dc:creator>
		<pubDate>Sun, 04 Oct 2009 21:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://electricpineapple.net/?p=32#comment-2036</guid>
		<description>@ Casey the node.created = myDate.getTime() still returns errors on my Drupal side, I am using Drupal six, i am sure others have this problem too</description>
		<content:encoded><![CDATA[<p>@ Casey the node.created = myDate.getTime() still returns errors on my Drupal side, I am using Drupal six, i am sure others have this problem too</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://electricpineapple.net/2009/03/10/api-keys-to-the-city-setting-up-a-flex-3-project-with-drupal-services/comment-page-1/#comment-1850</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Wed, 09 Sep 2009 03:56:06 +0000</pubDate>
		<guid isPermaLink="false">http://electricpineapple.net/?p=32#comment-1850</guid>
		<description>Jay,
I did not set up the expiry time, just used default settings and I am not using this for high security purposes

Vanitha,
The last parameter in the node.save is the object to be saved, you may be able to add the tid and vid to this object before the save and get them to stick.</description>
		<content:encoded><![CDATA[<p>Jay,<br />
I did not set up the expiry time, just used default settings and I am not using this for high security purposes</p>
<p>Vanitha,<br />
The last parameter in the node.save is the object to be saved, you may be able to add the tid and vid to this object before the save and get them to stick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://electricpineapple.net/2009/03/10/api-keys-to-the-city-setting-up-a-flex-3-project-with-drupal-services/comment-page-1/#comment-1831</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Thu, 03 Sep 2009 04:08:21 +0000</pubDate>
		<guid isPermaLink="false">http://electricpineapple.net/?p=32#comment-1831</guid>
		<description>Erik - thanks for this great example project - finally one that works! Couple Q&#039;s:

1. the default Token expiry time is 30s - why so short? what&#039;s the risk in making this effectively infinite?
2. how secure would you say drupal services are with keys and sessionIDs enabled, as your demo project implements it - would you implement a credit card processing application with it?

Cheers!Jay</description>
		<content:encoded><![CDATA[<p>Erik &#8211; thanks for this great example project &#8211; finally one that works! Couple Q&#8217;s:</p>
<p>1. the default Token expiry time is 30s &#8211; why so short? what&#8217;s the risk in making this effectively infinite?<br />
2. how secure would you say drupal services are with keys and sessionIDs enabled, as your demo project implements it &#8211; would you implement a credit card processing application with it?</p>
<p>Cheers!Jay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn</title>
		<link>http://electricpineapple.net/2009/03/10/api-keys-to-the-city-setting-up-a-flex-3-project-with-drupal-services/comment-page-1/#comment-1154</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Wed, 01 Jul 2009 11:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://electricpineapple.net/?p=32#comment-1154</guid>
		<description>Hi Paul, i get the same problem. I get a access denied.
Also tried this tutorial: http://www.novio.be/blog/?p=1034.
there i get the same error when pulling up a view :s

not found a solution yet, I&#039;ve already set all permissions open for Anonymous users but the error still keeps coming...</description>
		<content:encoded><![CDATA[<p>Hi Paul, i get the same problem. I get a access denied.<br />
Also tried this tutorial: <a href="http://www.novio.be/blog/?p=1034" rel="nofollow">http://www.novio.be/blog/?p=1034</a>.<br />
there i get the same error when pulling up a view :s</p>
<p>not found a solution yet, I&#8217;ve already set all permissions open for Anonymous users but the error still keeps coming&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Johnson</title>
		<link>http://electricpineapple.net/2009/03/10/api-keys-to-the-city-setting-up-a-flex-3-project-with-drupal-services/comment-page-1/#comment-988</link>
		<dc:creator>Paul Johnson</dc:creator>
		<pubDate>Tue, 23 Jun 2009 12:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://electricpineapple.net/?p=32#comment-988</guid>
		<description>I am suffering from &quot;Authentication failed: Access denied&quot; error when I try and browse the views service on a views.get call. I am using &quot;use keys&quot; and sessionids.

All the other services are working fine and your code is generating nodes happily.

Has anyone else experienced problems and got a solution. 

I have granted annonymous and authenticated user all privileges.</description>
		<content:encoded><![CDATA[<p>I am suffering from &#8220;Authentication failed: Access denied&#8221; error when I try and browse the views service on a views.get call. I am using &#8220;use keys&#8221; and sessionids.</p>
<p>All the other services are working fine and your code is generating nodes happily.</p>
<p>Has anyone else experienced problems and got a solution. </p>
<p>I have granted annonymous and authenticated user all privileges.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
