Download & Extend

AMFPHP flash service browser does not work

Project:AMFPHP
Version:6.x-1.0-beta1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

Report message:

(mx.rpc::Fault)#0
  errorID = 0
  faultCode = "AMFPHP_RUNTIME_ERROR"
  faultDetail = "E:\xampplite\htdocs\sites\webservices\sites\all\modules\services\servers\amfphp\amfphp.module on line 101"
  faultString = "Method <em>DiscoveryService.getServices</em> does not exist."
  message = "faultCode:AMFPHP_RUNTIME_ERROR faultString:'Method <em>DiscoveryService.getServices</em> does not exist.' faultDetail:'E:\xampplite\htdocs\sites\webservices\sites\all\modules\services\servers\amfphp\amfphp.module on line 101'"
  name = "Error"
  rootCause = (null)

Comments

#1

Status:active» postponed (maintainer needs more info)

Did you follow amfphp's intallation steps?

#2

Im getting pretty much the same error - trying to figure out where to go from here with the whole thing

#3

Version:5.x-1.x-dev» master

I can not reach the amfPHP service browser from the link on the page generated by the drupal amfPHP service link: "http://localhost/drupal-6.6/services/amfphp/browser" . The link there to the amfPHP service browser takes me to a "druapal - page not found" page?

In flash I tried to connect with gateway http://localhost/drupal-6.6/services/amfphp/gateway.php and indeed, I could use drupal services.
Hooray for Drupamflash tm !!!

I' have enabled clean url's in drupal.(also tried disable)

I can reach the amfPHP services browser inside amfPHP/amfPHP/browser by using the physical path and place a .htaccess file in the "browser" dir to allow access to the files there.

Thanks to the team for your efforts!

#4

try disabling the update module - I think this was causing me trouble

in your browser can you see the page
http://localhost/drupal-6.6/services/amfphp/gateway.php

if not enable your modules services and amfphp

#5

Yes, as I said I can see this page:
http://localhost/drupal-6.6/services/amfphp/gateway.php

That url renders this page:

amfphp and this gateway are installed correctly. You may now connect to this gateway from Flash.
Note: If you're reading an old tutorial, it will tell you that you should see a download window instead of this message. This confused people so this is the new behaviour starting from amfphp 1.2.
View the amfphp documentation
Load the service browser

But I can not get to the amfPHP service browser using the link (http://localhost/drupal-6.6/services/browser) on the rendered page. I get a default drupal "404 page not found" page

Somes : I could not find a "update" module listed in my drupal modules list. Where is it supposed to be?

The amfPHP service browser is accessible using the real path from localhost though.

clues?

#6

Update status 6.4 Checks the status of available updates for Drupal and your installed modules and themes
disable this ------

make sure system service and the node service are enabled

#7

Hello,

Sorry for my english, I'm a little frenchy...

I have same problem :

/home/_site/*******/all/modules/amfphp/amfphp.module
Unknown error type
101
Method <em>actu.list</em> does not exist.
AMFPHP_RUNTIME_ERROR

I think there is a problem with two points in method name. My method is called : services.actu.list and in the report error the method is called actu.list

A friend said to me that he had the same problem with two dots in method name, he rename methods with only one dot and that work.
I did not try but it is maybe an issue for debugging...

#8

I have just tried with a single point in the name of my method and that work very well
:)

#9

I am having the exact same problem, I've followed every step correctly, have update_status module disabled and I can't access the browser, I also get a 404 error.

This issue seems quite old, has there been a fix posted anywhere regarding this?

d6 (latest as of today)
Services 6.x-0.13
AMFPHP 6.x-1.0-beta1

Any help would be greatly appreciated.

#10

Even i am stuck with more-or-less same issue, I am creating a POC of Flex-Drupal Interaction using AMFPHP & Services Module, but I am not able to get node.load... I have explained the issue in detail [along with snapshot] here: http://drupal.org/node/502180

BTW...I figured out issue related to 'View', as mentioned there.

Any help would be highly appreciated.

#11

Version:master» 6.x-1.0-beta1

Just curious if anyone has sorted this out. I am experiencing the same thing. Originally I was getting a 505 error when I clicked on "Load the Service Browser"and figured out that I didn't have Clean URL's enabled. Now that is resolved but I am getting a 404 error, Page not found when I click on it. Exactly the same as above. I have also tried to disable the Update Module which has no effect.

I have the Services module 6.x-2.x-dev enabled. Could this have something to do with it?

#12

I'm having the same problem.

Drupal 6.14
Services 6.x-0.15
AMFPHP 6.x-1.0-beta1

I get a 404 error when I click the "Load the service browser" link on the /services/amfphp page.

#13

The last post in this thread is back from Nov 12... has anyone been able to figure this out?

#14

Should the amfphp browser be showing the services provided by the services module? I can access via /module/amfphp/amfphp/browser/index.html
however no services are there. EDIT: answer is NO access to services.module services via amfphp browser http://drupal.org/node/167690

Also does anyone know if we can (should be able to) use the amfphp json gateway for the drupal services? I've about had it trying to get json_server and rest_server working with php cURL.

#15

Just wanted to share my experience with these modules and Flash.

1- The services browser doesn't load from the "Load the services browser" link, but can be accessed by putting in the direct URL (i.e., non-Drupal URL)

2- Even so, the services browser doesn't show the different services hosted by the drupal+services+amfphp trio.

3- You can still preview your services in admin/build/services and use the same method names and arguments from within your Flash/Flex/AS3 systems

In other words, even if the services browser is not working, the services are and you can continue working on your flash/flex/as3 widgets.

Hope this helps someone :P

#16

Mobi, found out the same after some work (created a .htaccess file to get to the browser). Shame we can't use the browser, it can write the AS code for you.

Anyone knows what it would take to make this work?

#17

Category:bug report» feature request
Status:postponed (maintainer needs more info)» postponed

Hi all,

To use the AMFPHP lib's service browser some clever coding will be needed, if it even has a chance at working. I haven't looked at it in a long time, but did on this issue at #167690: AMFPHP Browser.

The gist of the problem is that getting this to work would require hacking the service browser code in the AMFPHP library itself. As a separate download from amfphp.module, that's not really possible. Better would be to fork/copy the browser code and include it in either the AMFPHP module or a separate Drupal contrib module. This way it could work independent of what the AMFPHP library's version is doing.

Somebody who really really wants this feature is going to have to take the reigns and make it happen. It won't be me because the Services module browser is suitable enough for my needs.

Cheers,
Scott

#18

subscribing

nobody click here