<?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: Using Drupal 6 services in Flex 3 with keys and authentication</title>
	<atom:link href="http://www.novio.be/blog/?feed=rss2&#038;p=1034" rel="self" type="application/rss+xml" />
	<link>http://www.novio.be/blog/?p=1034</link>
	<description>facts, findings &#38; fantasies on interactive media</description>
	<lastBuildDate>Fri, 03 Sep 2010 13:21:44 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael Caudy</title>
		<link>http://www.novio.be/blog/?p=1034&#038;cpage=1#comment-1679</link>
		<dc:creator>Michael Caudy</dc:creator>
		<pubDate>Sat, 29 Aug 2009 08:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.novio.be/blog/?p=1034#comment-1679</guid>
		<description>I am trying to get your Flex 3 with Drupal 6 Services code to work.  

When I click on either button, &quot;Simple service call&quot; or &quot;Service call with authentication&quot;, I get the same message:

Error: &quot;The class {system} could not be found under the class path {/Library/WebServer/Documents/amfphp/services/system.php}&quot;

Do you have a file called &quot;system.php&quot; in you amfphp directory, perhaps at:

http://www.novio.be/drupal/services/amfphp/system.php

or something similar?

Or, is there somewhere  else in your code, where the Class &quot;system&quot; is defined?

Do you have any other suggests about how I should correct this error?

Amfphp is working on my system, in the path/directory shown in the above error message.  Also, Drupal services works with this amfphp installation for Drupal 5, but not Drupal 6. However, your site online does work with services for both the simple and authenticated calls.  The question is, how does it work for you, but apparently not for others, based on the comments on your blog?

Thanks very much for this code and tutorial. I just wish I could get it to work.</description>
		<content:encoded><![CDATA[<p>I am trying to get your Flex 3 with Drupal 6 Services code to work.  </p>
<p>When I click on either button, &#8220;Simple service call&#8221; or &#8220;Service call with authentication&#8221;, I get the same message:</p>
<p>Error: &#8220;The class {system} could not be found under the class path {/Library/WebServer/Documents/amfphp/services/system.php}&#8221;</p>
<p>Do you have a file called &#8220;system.php&#8221; in you amfphp directory, perhaps at:</p>
<p><a href="http://www.novio.be/drupal/services/amfphp/system.php" rel="nofollow">http://www.novio.be/drupal/services/amfphp/system.php</a></p>
<p>or something similar?</p>
<p>Or, is there somewhere  else in your code, where the Class &#8220;system&#8221; is defined?</p>
<p>Do you have any other suggests about how I should correct this error?</p>
<p>Amfphp is working on my system, in the path/directory shown in the above error message.  Also, Drupal services works with this amfphp installation for Drupal 5, but not Drupal 6. However, your site online does work with services for both the simple and authenticated calls.  The question is, how does it work for you, but apparently not for others, based on the comments on your blog?</p>
<p>Thanks very much for this code and tutorial. I just wish I could get it to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans Van de Velde</title>
		<link>http://www.novio.be/blog/?p=1034&#038;cpage=1#comment-1539</link>
		<dc:creator>Hans Van de Velde</dc:creator>
		<pubDate>Wed, 08 Jul 2009 10:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.novio.be/blog/?p=1034#comment-1539</guid>
		<description>Like alex mentioned, the Services module is undergoing serious changes. This explains why the signature of the methods is incompatable.

My suggestion: team up with a good Drupal developer and make a custom services module. The security measures in the version of the Services module used in the example can be called &quot;security through obscurity&quot;, which is not true security :-(</description>
		<content:encoded><![CDATA[<p>Like alex mentioned, the Services module is undergoing serious changes. This explains why the signature of the methods is incompatable.</p>
<p>My suggestion: team up with a good Drupal developer and make a custom services module. The security measures in the version of the Services module used in the example can be called &#8220;security through obscurity&#8221;, which is not true security <img src='http://www.novio.be/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://www.novio.be/blog/?p=1034&#038;cpage=1#comment-1534</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Tue, 07 Jul 2009 11:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.novio.be/blog/?p=1034#comment-1534</guid>
		<description>Forgot to mention - super work Hans - you did the fiddly bit of making the hashKey and randomString methods that will save a bit of work.

Thanks.</description>
		<content:encoded><![CDATA[<p>Forgot to mention &#8211; super work Hans &#8211; you did the fiddly bit of making the hashKey and randomString methods that will save a bit of work.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://www.novio.be/blog/?p=1034&#038;cpage=1#comment-1533</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Tue, 07 Jul 2009 11:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.novio.be/blog/?p=1034#comment-1533</guid>
		<description>OK for anyone who is struggling with this example here are some tips - I think perhaps there have been some changes to the services module since the example was created.

It seems for me that I always need to pass several arguments.- certainly with node.get  - simple or authenticated.
And also very important is to update the sessionId after every call result - before making a new service call. The sessionId changes after each call.

It seems some methods don&#039;t require any arguments - like system.connect - but it may be best to check in the service browser inside the admin console to see what arguments are required by each method. It seems that since Services module is currently in heavy development these are likely to change.</description>
		<content:encoded><![CDATA[<p>OK for anyone who is struggling with this example here are some tips &#8211; I think perhaps there have been some changes to the services module since the example was created.</p>
<p>It seems for me that I always need to pass several arguments.- certainly with node.get  &#8211; simple or authenticated.<br />
And also very important is to update the sessionId after every call result &#8211; before making a new service call. The sessionId changes after each call.</p>
<p>It seems some methods don&#8217;t require any arguments &#8211; like system.connect &#8211; but it may be best to check in the service browser inside the admin console to see what arguments are required by each method. It seems that since Services module is currently in heavy development these are likely to change.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://www.novio.be/blog/?p=1034&#038;cpage=1#comment-1532</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Tue, 07 Jul 2009 10:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.novio.be/blog/?p=1034#comment-1532</guid>
		<description>all I get is &quot;missing required arguments&quot;.

On further inspection it looks like the &quot;login with authentication&quot; is working but then it fails to do the node.get().

It seems my drupal installation requires 

Hash
domain_name
Timestamp
nonce
sessid
nid

whereas your example provides sessionId  and nid only.

Do you know why that would be ? Is that because of the way I have configured my services , or because I am using a different version of the module ?</description>
		<content:encoded><![CDATA[<p>all I get is &#8220;missing required arguments&#8221;.</p>
<p>On further inspection it looks like the &#8220;login with authentication&#8221; is working but then it fails to do the node.get().</p>
<p>It seems my drupal installation requires </p>
<p>Hash<br />
domain_name<br />
Timestamp<br />
nonce<br />
sessid<br />
nid</p>
<p>whereas your example provides sessionId  and nid only.</p>
<p>Do you know why that would be ? Is that because of the way I have configured my services , or because I am using a different version of the module ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Willem Mol</title>
		<link>http://www.novio.be/blog/?p=1034&#038;cpage=1#comment-1472</link>
		<dc:creator>Willem Mol</dc:creator>
		<pubDate>Mon, 15 Jun 2009 21:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.novio.be/blog/?p=1034#comment-1472</guid>
		<description>I am trying to get this to work in my local environment without any luck. I am using virtual directories as well as rewrites like yours with drupal 6 on xampp (windows). Do you have any experience with that, or does linux play nice immediately?</description>
		<content:encoded><![CDATA[<p>I am trying to get this to work in my local environment without any luck. I am using virtual directories as well as rewrites like yours with drupal 6 on xampp (windows). Do you have any experience with that, or does linux play nice immediately?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KW</title>
		<link>http://www.novio.be/blog/?p=1034&#038;cpage=1#comment-1399</link>
		<dc:creator>KW</dc:creator>
		<pubDate>Sat, 09 May 2009 07:34:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.novio.be/blog/?p=1034#comment-1399</guid>
		<description>Sorry please ignore my previous post. It was due to the dact that I forgot to check the user key and session in services modules

Now it works and can get the node details when I clicked the button &quot;Service call with authentication&quot;. However, it did not return anything when I clicked the button &quot;Simple Service call&quot;. Do you know why it works only with user login?</description>
		<content:encoded><![CDATA[<p>Sorry please ignore my previous post. It was due to the dact that I forgot to check the user key and session in services modules</p>
<p>Now it works and can get the node details when I clicked the button &#8220;Service call with authentication&#8221;. However, it did not return anything when I clicked the button &#8220;Simple Service call&#8221;. Do you know why it works only with user login?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KW</title>
		<link>http://www.novio.be/blog/?p=1034&#038;cpage=1#comment-1398</link>
		<dc:creator>KW</dc:creator>
		<pubDate>Sat, 09 May 2009 07:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.novio.be/blog/?p=1034#comment-1398</guid>
		<description>I copied your drupalservicestest.zip into my flex 3 project, and then modified the following
1. endpoint uri pointed to my localhost location
2. change the testing user and password.
3. changed the domain to &quot;/http://localhost/drupal&quot;
4. changed the valid api key

also in flex compiler I added the argument &quot;-services &quot;services-config.xml&quot;

Then I copied this the compiled swf file into a node in Drupal, executed the file, showed me the interface title &quot;Execute a Drupal service call by clicking a button below&quot;,
When I clicked &quot;Simple service call&quot;, there is no error, but nothing showed up except the message at the bottom bar &quot;Transferring data from localhost....&quot;. It seems that it has problem retrieving data from localhost?

Then I clicked &quot;Service call with authentication&quot;, it returned an error &quot;Invalid argument supplied for foreach()

Could you help?? 

I have been working hard trying to connect flex with drupal, but was not successful yet. But actually my Amfphp and services module are working in Drupal, so I have no idea what was wrong.</description>
		<content:encoded><![CDATA[<p>I copied your drupalservicestest.zip into my flex 3 project, and then modified the following<br />
1. endpoint uri pointed to my localhost location<br />
2. change the testing user and password.<br />
3. changed the domain to &#8220;/http://localhost/drupal&#8221;<br />
4. changed the valid api key</p>
<p>also in flex compiler I added the argument &#8220;-services &#8220;services-config.xml&#8221;</p>
<p>Then I copied this the compiled swf file into a node in Drupal, executed the file, showed me the interface title &#8220;Execute a Drupal service call by clicking a button below&#8221;,<br />
When I clicked &#8220;Simple service call&#8221;, there is no error, but nothing showed up except the message at the bottom bar &#8220;Transferring data from localhost&#8230;.&#8221;. It seems that it has problem retrieving data from localhost?</p>
<p>Then I clicked &#8220;Service call with authentication&#8221;, it returned an error &#8220;Invalid argument supplied for foreach()</p>
<p>Could you help?? </p>
<p>I have been working hard trying to connect flex with drupal, but was not successful yet. But actually my Amfphp and services module are working in Drupal, so I have no idea what was wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rostislav</title>
		<link>http://www.novio.be/blog/?p=1034&#038;cpage=1#comment-1377</link>
		<dc:creator>Rostislav</dc:creator>
		<pubDate>Wed, 29 Apr 2009 12:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.novio.be/blog/?p=1034#comment-1377</guid>
		<description>I have almost completed a Flex based theme for Drupal 6 and it completely relies on the HTML output as a data source. Yes, the HTML should be valid and there are some issues to care of but at the end the whole setup is much simpler and you don&#039;t care about the authorization.</description>
		<content:encoded><![CDATA[<p>I have almost completed a Flex based theme for Drupal 6 and it completely relies on the HTML output as a data source. Yes, the HTML should be valid and there are some issues to care of but at the end the whole setup is much simpler and you don&#8217;t care about the authorization.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fooling around with Drupal and Flex &#124; by Hans Van de Velde</title>
		<link>http://www.novio.be/blog/?p=1034&#038;cpage=1#comment-1373</link>
		<dc:creator>Fooling around with Drupal and Flex &#124; by Hans Van de Velde</dc:creator>
		<pubDate>Sat, 18 Apr 2009 05:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.novio.be/blog/?p=1034#comment-1373</guid>
		<description>[...] &quot;What&#039;s the use?&quot;, you might ask. Well, it was a fun experiment. To know about how to do things properly using the services via AMFPHP: check out this &quot;howto&quot;. [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8220;What&#8217;s the use?&#8221;, you might ask. Well, it was a fun experiment. To know about how to do things properly using the services via AMFPHP: check out this &#8220;howto&#8221;. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
