Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.10.2
-
Fix Version/s: None
-
Component/s: Zend_Amf
-
Labels:None
Description
I'm using Flex 4 with ZendAMF.
When I run this service with the following code comments, it always gives me a Flex Fault Event.
But if I delete these comments, it runs well...
Hello.php
<?php
class Hello
{
/**
* @param
* @param
*/
public function hello()
{
return "hi";
}
}
?>
My ActionScript code
var ro:RemoteObject = new RemoteObject(); ro.endpoint = "gateway.php"; ro.destination = "Zend"; ro.source = "Hello"; ro.hello.addEventListener(ResultEvent.RESULT, function(event:ResultEvent):void{ Alert.show(event.result as String); }); ro.hello.addEventListener(FaultEvent.FAULT, function(event:FaultEvent):void{ trace(event.message); }); ro.hello();