I am trying to create a POC of Flex-Drupal interaction, by retrieving only one node from Drupal and just displaying its title. I took help from tutorial "A really, really simple Services + AMFPHP example using Flex" [http://groups.drupal.org/node/2768]. I did everything exactly as defined in the tutorial but unfortunately I couldn't retrieve the node.
- Actually on click of a button I am calling: "amfService.getOperation('load').send(1);" and it is throwing Error: {--- fault: [RPC Fault faultString="Method node.load does not exist." faultCode="AMFPHP_RUNTIME_ERROR" faultDetail="C:\xampp\htdocs\drupal\sites\all\modules\amfphp\amfphp.module on line 106"] --}
-Drilling it down, I could figure out that there's no method existing called "node.load" [Administer>Site Building>Services>Node] It only shows -- node.save, node.delete and node.get.
-I also came across that "View Service" shows [Views (missing)] in red [Administer>Site Building>Modules>Services].
More details:
OS: Windows Vista Home Basic
S/w: XAMPP 1.7.1
Browser: Mozilla Firefox 3.0.11 & IE 8
Drupal: Version 6.12
AMFPHP: 6.x-1.0-beta1
Amfphp: 1.9.beta.20080120
Services: Ver 6.x-0.14
Any help would be greatly appreciated.
Thanks,
Siraj Khan
khan_siraj@yahoo.com