If I get it right, you hava a problem when calling a service with strings
parameters and the values of the strings are the same.

I've just done a test.

I have a service:
class World {
    /**
     *
     * @param String $param1
     * @param String $param2
     * @param String $param3
     * @param String $param4
     * @param String $param5
     * @return String
     */
    public function strref($param1, $param2, $param3, $param4, $param5) {
        $this->logSession("param list: " .  json_encode(func_get_args()));
        return "hello, " . "$param1, $param2, $param3, $param4, $param5";
    }
}

[class truncated to fit the post.]

>From my flash app I call:
myService.call(strrefService, new Responder(onSimpleOk,onFault), "str1",
"str2", "str1", "str3", "str1");

And I get correct results:
hello, str1, str2, str1, str3, str1

Duplicated strings were decoded properly.

I use ZF1.10.07 (with Zend_Amf included in the distribution) and Flash CS5.



-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-AMF-AS3-VO-String-reference-issue-tp2334773p2340820.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to