저는 플래시 빌더 4.5와 플렉스 4.5 언어를 사용하고 있습니다. json에서 .php를 호출하여 데이터를 검색하는 데 webservice를 사용하고 있습니다.플렉스 웹 서비스
<webservice:Webservice id="webservice" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
<s:CallResponder id="testResult" result="onTestResult(event)"/>
...
private function onTestResult(e:ResultEvent):void{
Alert.show(ObjectUtil.toString(testResult.lastResult));
}
Flash Builder의 "테스트 작업"창에서 전화를 걸었고 반환 값은 배열로 만든 json 객체입니다.
대신 코드에서 동일한 웹 서비스를 호출하면 (객체) # 0을 반환하므로 빈 객체가됩니다. 에러는 표시되지 않고 단지 빈 객체입니다.
누구나 몇 가지 팁이 있습니까?
웹 서비스에 액세스하고 있습니까? 서버 로그 업데이트가 있습니까? – kbgn