저는 데이터 서비스가있는 플렉스 프로젝트에 관심이 있습니다. 플래시 빌더는 Zend_Amf가있는 Zend Framework를 설치했습니다.AMF 데이터가 플렉스 서비스로 불완전합니다.
프로젝트를 실행할 때 NetConnection.Call.Failed : HTTP : Failed 오류가 발생합니다. chalers 나는 Zend_Amf 오류 : AMF 데이터가 완전하지 않습니다 (0 바이트의 0 바이트) 말. 녹화 설정에서 녹화 제한을 확인하십시오.
문제점의 의미를 모르겠습니다. Google에서 검색했지만 좋은 결과를 찾지 못했습니다. 플렉스 프로젝트 코드는 다음과 같습니다
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:authservice="services.authservice.*">
<fx:Script>
<![CDATA[
import mx.controls.Alert;
protected function click_me_clickHandler(event:MouseEvent):void
{
text.text += "Test started";
testmeResult.token = authService.testme();
text.text += testmeResult.lastResult
text.text += "Test ended";
}
]]>
</fx:Script>
<fx:Declarations>
<s:CallResponder id="testmeResult"/>
<authservice:AuthService id="authService" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:Button x="124" y="85" label="Click Me!" id="click_me" click="click_me_clickHandler(event)"/>
<s:RichText x="58" y="114" width="238" height="182" id="text"/>
</s:Application>
PHP 코드는 다음과 같습니다
<?php
class AuthService {
public function testme() {
return 'ik ben getest op'+date('d-m-Y H:i:s', time());
}
}?>
, 제발 도와주세요!