Alas! Alas! *** Does little Square dance

It works! It works!

** grabs partner and spins them 'round 'n 'round

It turns out I had various oversights. Dirk's PDF is pretty good. I think the AMF-Gateway for CF on JRun4 is different than the stand-alone or J2ee version, but I can't say that in good-faith without looking into it in more detail (my gateway path omits the cfusion folder).

Final Configuration for those with the same problem who are using Cairngorm .99 on Flex Server stand-alone with CFMX 7:

------------------------------------------------------------------------------------------------------------------

Services.mxml
<?xml version="1.0" encoding="utf-8"?>

<cairngorm:ServiceLocator xmlns:mx="http://www.macromedia.com/2003/mxml"
                                  xmlns:cairngorm="http://www.iterationtwo.com/cairngorm">
  
     <mx:RemoteObject id="usersDelegate" named="usersServiceImpl"
                          protocol="http"
                          showBusyCursor="true"
                          result="event.call.resultHandler( event )"
                          fault="event.call.faultHandler( event )">
   </mx:RemoteObject>
    
</cairngorm:ServiceLocator>

------------------------------------------------------------------------------------------------------------------

FlexConfig.xml
    <remote-objects>
          
        <whitelist>                
            <!-- whitelist config for named objects -->
                        <named>
                            <object name="usersServiceImpl">
                                    <source>foo</source>
                            </object>
            </named>
                       
        </whitelist>
       
        <amf-gateway>http://localhost:8300/flashservices/gateway</amf-gateway>  
        <amf-https-gateway>http://localhost:8300/flashservices/gateway</amf-https-gateway>
        <allow-url-override>false</allow-url-override>
      
    </remote-objects>


------------------------------------------------------------------------------------------------------------------

Gateway-Config.xml
         <whitelist>           
                <named>
                    <object name="usersServiceImpl">
                            <source>MYDOMAIN.model.user.User</source>
                    </object>
                </named>
         </whitelist>
    </security>

------------------------------------------------------------------------------------------------------------------

Much obliged to Peter and Dirk.Thanks Peter for taking this much time and writing such detailed responses.




Yahoo! Groups Links

Reply via email to