티스토리 뷰

Language/Flex

[ Flex AIR ] RemoteObject / method

MiniNeko 2015. 11. 29. 04:32

<s:RemoteObject id="LoginRO" destination="loginRO" showBusyCursor="true"
    endpoint="http://www.dtitech.co.kr:8080/PyeongsanSin/messagebroker/amf"
    fault="faultHandler(event)">
    <s:method name="loginTest"  result="resultHandler(event)" />
< /s:RemoteObject> 
 
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
서버 remoting-config.xml : 수정하면 Apche 서비스를 다시시작 해야 적용 되는것으로 보임 ??? 정확한 확인 전
 
< ?xml version="1.0" encoding="UTF-8"?>
< service id="remoting-service"
    class="flex.messaging.services.RemotingService">
    <adapters>
        <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
    </adapters>
    <default-channels>
        <channel ref="my-amf"/>
    </default-channels>

 <destination id="testRO">
  <properties>
   

RemoteObject


  </properties>
 </destination>
 <destination id="loginRO">
  <properties>
   

login.LoginHandler


   <scope>request</scope>
  </properties>
 </destination>

< /service>  
 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
★ 중요 : 확인전 내용으로 짐작하는 부분을 기록함 ( 확실한 내용이 아님 ㅡㅡ;; )
Flex 에서 RemoteObject 시 Method 전달시 값을 받아 오는 부분이
1. WEB-INF/lib  에 포함 되어있는 라이브러리 파일중에 하나 또는 그이상의 부분이 관여 하는것 같음. 추후 해당 내용을 확인 할 예정 

Total
Today
Yesterday
최근에 올라온 글
«   2025/01   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31