[Flashcoders] Remoting (attn: Mike Chambers)
Ok, so I am potentially back to my original position of being concerned that remoting is not supported. Muzak did some work with the netConnection class, but in the old days remoting worked by requesting a service from a NetConnection by calling connection.getService(servicepath); There is no getService call documented in the actionscript documentation, so my question is how does this work now? I am thinking it is related to the mx.rpc.remoting package, but the documentation seems ah... scant. for the RemoteObject constructor is says: public RemoteObject(destination:String = null) Creates a new RemoteObject. Parameters destination:String (default = null) — [optional] Destination of the RemoteObject; should match a destination name in the flex-services.xml but what is flex-services.xml. And if I am writing pure actionscript why would I need to establish a flex-services.xml file either locally or on a server. I ask this question because you (mike chambers) earlier today said we could do remoting via actionscript without flex components and without the flex enterprise services. So I am really just looking for the equivalent calls to using netConnection and a netServiceProxy. Thanks Hank ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Remoting (attn: Mike Chambers)
I'm not Mike, but here's my take on it anyway ;-) The old getService() method is/was part of the Connection class, which extends the NetConnection class. In fact the whole remoting API is just a fancy way of using the NetConnection class (if you know which headers to send along). As for the current docs regarding the RemoteObject, I wouldn't rely on it too much (nor worry) as it is far from complete. The flex-services.xml is part of the (not yet released) Flex Server and is also used with the current Coldfusion adapter. If I'm not mistaken (I'm sure someone will correct me if I'm wrong) it allows you to specify a list of services available to your flex app (and probably including some form of security/restrictions). I'm sure all will become (more) clear in due time ;-) kind regards, Muzak - Original Message - From: hank williams [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 20, 2005 3:13 AM Subject: [Flashcoders] Remoting (attn: Mike Chambers) Ok, so I am potentially back to my original position of being concerned that remoting is not supported. Muzak did some work with the netConnection class, but in the old days remoting worked by requesting a service from a NetConnection by calling connection.getService(servicepath); There is no getService call documented in the actionscript documentation, so my question is how does this work now? I am thinking it is related to the mx.rpc.remoting package, but the documentation seems ah... scant. for the RemoteObject constructor is says: public RemoteObject(destination:String = null) Creates a new RemoteObject. Parameters destination:String (default = null) [optional] Destination of the RemoteObject; should match a destination name in the flex-services.xml but what is flex-services.xml. And if I am writing pure actionscript why would I need to establish a flex-services.xml file either locally or on a server. I ask this question because you (mike chambers) earlier today said we could do remoting via actionscript without flex components and without the flex enterprise services. So I am really just looking for the equivalent calls to using netConnection and a netServiceProxy. Thanks Hank ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Remoting (attn: Mike Chambers)
Yeah, I was thinking about rooting around in the old source for getService to see exactly how it generates a netServiceProxy (which is what getService returns). But I am figuring if mike is so sure it works he should be able to easily tell us how :) Hank On 10/19/05, Muzak [EMAIL PROTECTED] wrote: I'm not Mike, but here's my take on it anyway ;-) The old getService() method is/was part of the Connection class, which extends the NetConnection class. In fact the whole remoting API is just a fancy way of using the NetConnection class (if you know which headers to send along). As for the current docs regarding the RemoteObject, I wouldn't rely on it too much (nor worry) as it is far from complete. The flex-services.xml is part of the (not yet released) Flex Server and is also used with the current Coldfusion adapter. If I'm not mistaken (I'm sure someone will correct me if I'm wrong) it allows you to specify a list of services available to your flex app (and probably including some form of security/restrictions). I'm sure all will become (more) clear in due time ;-) kind regards, Muzak - Original Message - From: hank williams [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 20, 2005 3:13 AM Subject: [Flashcoders] Remoting (attn: Mike Chambers) Ok, so I am potentially back to my original position of being concerned that remoting is not supported. Muzak did some work with the netConnection class, but in the old days remoting worked by requesting a service from a NetConnection by calling connection.getService(servicepath); There is no getService call documented in the actionscript documentation, so my question is how does this work now? I am thinking it is related to the mx.rpc.remoting package, but the documentation seems ah... scant. for the RemoteObject constructor is says: public RemoteObject(destination:String = null) Creates a new RemoteObject. Parameters destination:String (default = null) — [optional] Destination of the RemoteObject; should match a destination name in the flex-services.xml but what is flex-services.xml. And if I am writing pure actionscript why would I need to establish a flex-services.xml file either locally or on a server. I ask this question because you (mike chambers) earlier today said we could do remoting via actionscript without flex components and without the flex enterprise services. So I am really just looking for the equivalent calls to using netConnection and a netServiceProxy. Thanks Hank ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Remoting (attn: Mike Chambers)
Hi. First of all, if you need to direct an email to my attention, please email it to me, and not to FlashCoders: [EMAIL PROTECTED] second, as I posted earlier, remoting / AMF0 is supported in the Player (as Muzak demonstrated). AMF0 is not currently supported in the framework (AMF3 is). The mx.* packages are part of the framework. The flash.* classes are part of the player. This is an early ALPHA, so documentation and implimentations may not be complete. mike chambers [EMAIL PROTECTED] hank williams wrote: Ok, so I am potentially back to my original position of being concerned that remoting is not supported. Muzak did some work with the netConnection class, but in the old days remoting worked by requesting a service from a NetConnection by calling connection.getService(servicepath); There is no getService call documented in the actionscript documentation, so my question is how does this work now? I am thinking it is related to the mx.rpc.remoting package, but the documentation seems ah... scant. for the RemoteObject constructor is says: public RemoteObject(destination:String = null) Creates a new RemoteObject. Parameters destination:String (default = null) — [optional] Destination of the RemoteObject; should match a destination name in the flex-services.xml but what is flex-services.xml. And if I am writing pure actionscript why would I need to establish a flex-services.xml file either locally or on a server. I ask this question because you (mike chambers) earlier today said we could do remoting via actionscript without flex components and without the flex enterprise services. So I am really just looking for the equivalent calls to using netConnection and a netServiceProxy. Thanks Hank ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders