Hey Dave,

hate to ask the standard question, but here goes .....


what are the symptoms you are getting ? Is it an error message,
timeout, or what ? 

thanks

dan



--- In [email protected], dave buhler <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I am attempting to update the configuration for my services, both the 
> flex-config.xml and services.mxml. This first example works fine,
thanks to 
> the trusty wildcard. However, this week, I'll need to work on
security and 
> databinding (this begins the segway into my next post) so it's time to 
> rebuild both files.
> 
> I know the cfc exists because I can access it at: 
>
http://localhost:8300/wwwroot.myDomain.model.user.usersService.cfc?wsdl
and 
> I can access it in the first example.
> 
> Any help is appreciated.
> 
> I'm running:
>  
>    - Flex (stand-alone) on JRun4 (port: 8700) 
>    - CF 7 on JRun4 (port: 8300) 
>    - Cairngorm .99 
>    - mach-ii 
> 
> 
> Does Work: :)
> 
> Services.mxml 1
> <cairngorm:ServiceLocator
xmlns:mx="http://www.macromedia.com/2003/mxml"; 
>  xmlns:cairngorm="http://www.iterationtwo.com/cairngorm";>
> 
>  <mx:RemoteObject id="loginDelegate"
>  endpoint="http://localhost:8300/flashservices/gateway"; 
>  source="wwwroot.myDomain.model.user.usersService
>  protocol="http"
>  showBusyCursor="true"
>  result="event.call.resultHandler( event )"
>  fault="event.call.faultHandler( event )">
>  </mx:RemoteObject>
>  
>  <mx:RemoteObject id="ownersDelegate"
>  endpoint="http://localhost:8300/flashservices/gateway"; 
>  source="wwwroot.myDomain.model.owner.ownersService"
>  protocol="http"
>  showBusyCursor="true"
>  result="event.call.resultHandler( event )"
>  fault="event.call.faultHandler( event )">
>  </mx:RemoteObject>
> 
> </cairngorm:ServiceLocator>
> 
> Flex-Config.mxml 1
> <remote-objects>
>  
>  <whitelist> 
>  <named>
>  <object>
>  <source>*</source>
>  <type>stateless-class</type>
>  </object>
>  </named>
>  </whitelist>
>  
>  <amf-gateway>{context.root}/amfgateway</amf-gateway> 
>  <amf-https-gateway>{context.root}/amfgateway</amf-https-gateway>
>  <allow-url-override>false</allow-url-override>
>  
> </remote-objects>
> 
>
-----------------------------------------------------------------------------------------------------------
> 
> Does Not Work: :( - - 
> 
> Services.mxml 2
> <cairngorm:ServiceLocator
xmlns:mx="http://www.macromedia.com/2003/mxml"; 
> xmlns:cairngorm="http://www.iterationtwo.com/cairngorm";>
> 
> <mx:RemoteObject id="loginService" named="usersService"
> protocol="http"
> showBusyCursor="true"
> result="event.call.resultHandler( event )"
> fault="event.call.faultHandler( event )">
> </mx:RemoteObject>
> 
> <mx:RemoteObject id="ownersService" named="ownersService"
> protocol="http"
> showBusyCursor="true"
> result="event.call.resultHandler( event )"
> fault="event.call.faultHandler( event )">
> </mx:RemoteObject>
> 
> 
> </cairngorm:ServiceLocator>
> 
> Flex-Config.mxml 2
> <remote-objects>
> 
>  <whitelist> 
>  <named>
>  
>  <object name="usersService">
>  <source>wwwroot.myDomain.model.user.usersService</source>
>  <type>stateless-class</type>
>  </object>
>  
>  <object name="ownersService">
>  <source>wwwroot.myDomain.model.owner.ownersService</source>
>  <type>stateless-class</type>
>  </object>
>  
>  </named>
>  </whitelist>
> 
>  <amf-gateway>{context.root}/amfgateway</amf-gateway> 
>  <amf-https-gateway>{context.root}/amfgateway</amf-https-gateway>
>  <allow-url-override>false</allow-url-override>
> 
> </remote-objects>
> 
> Dave




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to