Hi,

I am trying to call a 6.x-1.x service from flash 8. I have no idea how to generate the hash API key on flash 8 and on the other hand I do not mind that the service will be exposed to any 3rd party which desires to use it (just view.get).

Is there a way to disable the API key so the service will be available without any authentication mechanism?

I tried disabling the module but it didn't work...

Thanks.

Comments

marcingy’s picture

Select key authenication - uncheck the use keys and use session check boxes on settings page.

udig’s picture

marcingy, thanks.

I did try to go in that direction, however when tested the node.get service I got the following message:
warning: Invalid argument supplied for foreach() in D:\MyDocuments\70_MyWebSites\pample\sites\all\modules\services\services.module on line 435.

In addition, no node is returned although the requested nid does exist (instead it says "Could not find the node.")

The above also happens with the other services. When testing views.get I get multiple instances of the above warning.

Poked into the code - the warning refers to services_node_load but I am missing the broader logic of the module to understand the issue.

Any idea?

Thanks.

marcingy’s picture

There is a patch we are working on at the moment which will offer a no authenication method - this will hopefully be committed in the next couple of days.

garphy’s picture

udig, you can temporarily disable that foreach field filtering statements while a fix is provided

marcingy’s picture

Assigned: Unassigned » marcingy

The error seems to be linked this issue - http://drupal.org/node/480170 hopefully i'll manage to resolve it this weekend.

marcingy’s picture

Status: Active » Fixed

Seems to be resolved as part of the fix for http://drupal.org/node/480170 committed to head.

marcingy’s picture

Status: Fixed » Closed (fixed)