amf

Assemble AMF request with Ruby RocketAMF

你离开我真会死。 提交于 2019-12-12 00:59:21
问题 I would like to make an AMF request body the same as the followings (Charles log): As show in Charles, it has and a "Command" value Object and a "CCLocalPlayerChanges" value Object. I am confused with the Value for such object, how can I make them using RocketAMF? I have tried using hash for such object: data = [{ :method => "load", :service => "start.game", :player_delta => {:stamina => 0}, :sequence_num => self.sequence_num, :transaction_time => Time.now.to_i.to_s, :icp => 0, }] env =

Action Message Format vs downloading XML files?

 ̄綄美尐妖づ 提交于 2019-12-11 18:15:44
问题 As we are about to start downloading big data from the server, we have two options to work with: Downloading compressed XML file each 10 seconds, where we will store data to be consumed at the client site. Calling Zend AMF Server each 10 seconds, and listening to methods callback results, it will return data that we will be consuming at client side. ( inspired by Zend AMF – AS3 and PHP ) Which approach will be faster? and which approach will save us bandwidth? Any recommendation? 回答1: AMF

Service Browser for AMF calls (Flex to Java)

烈酒焚心 提交于 2019-12-11 14:35:24
问题 Has anyone used or is aware of a service browser to test AMF calls? I am looking for a tool similar to ZamfBrowser ( http://www.zamfbrowser.org ), but one that works for the Java environment. ZamfBrowser is geared towards AMFPHP. The idea here is to provide a service browser, that allows developers to test Java services using the AMF protocol, without having to go through the Flex UI all the time. There has got to be something out there already for this, but I can't seem to locate anything...

amfphp 2.2, index.php gives fatal error?

徘徊边缘 提交于 2019-12-11 11:23:57
问题 I downloaded the lastet AMFPHP version from http://www.silexlabs.org/amfphp/downloads/ I tried this on Wamp and Xampp by hitting the default Amfphp URL, that is _http://localhost/amfphp-2.2/Amfphp/ And I put this on live server http://cubixshade.com/pitv/amfphp/Amfphp/ but getting the same error "Fatal error: Cannot use object of type stdClass as array in D:\xampp\htdocs\amfphp-2.2\Amfphp\Plugins\AmfphpMonitor\AmfphpMonitor.php on line 167" I have added or changed nothing in the downloaded

AMF ActionResult for asp.net mvc

喜你入骨 提交于 2019-12-11 07:22:38
问题 I'm building a mvc application which will communicate with flash via AMF, anybody knows if there is any AMF ActionResult available on the web ? EDIT : using @mizi_sk answer (but without using IExternalizable) I did this ActionResult: public class AmfResult : ActionResult { private readonly object _o; public AmfResult(object o) { _o = o; } public override void ExecuteResult(ControllerContext context) { context.HttpContext.Response.ContentType = "application/x-amf"; using (var ms = new

How to connect app Android with amf web services?

匆匆过客 提交于 2019-12-11 06:51:17
问题 I want to write and read to web service AMF . I tried import flex-messaging-core.jar and flex-messaging-common.jar but Eclipse give me the next error: Eclipse: (Android 2.2) ...... Error generating final archive: Found duplicate file for APK: flex/messaging/version.properties Origin 1: ......\android\flex-messaging-core.jar Origin 2: ......\android\flex-messaging-common.jar 回答1: As per the Adobe site you need to use flex-messaging-client-android.jar . Once I started using that file instead of

Understanding an AMF Polling call

故事扮演 提交于 2019-12-11 06:48:48
问题 One of my testers is asking me about an AMF polling that we do in our app: flex_amf_call( "AMF3_call_12", "Gateway=http://test.url.com:22000/InventoryTesting/boa/messagebroker/amfpolling", "Snapshot=t19.inf", MESSAGE, "Method=null", "TargetObjectId=/7", BEGIN_ARGUMENTS, "<AMF3><object-externalizable-custom><flex.messaging.messages.CommandMessage>\n " "<destination>InvTestMessaging</destination>\n <messageId>" "4AF91854-F89E-F56D-EE22-4EC8BBAEA4BC</messageId>\n <timestamp>0</timestamp>\n " "

Best practice to handle nullable Integer in a Java - Flex remoting application?

你说的曾经没有我的故事 提交于 2019-12-11 05:21:01
问题 I have an Application consisting of a Java Server part and a Flash/Flex client, both communicate via BlazeDS. In order to have the same typed Objects on both sites, I use the GAS3 code generator (used by flex-mojos). But now I am facing the problem of handling nullable Integers. The problem is that I have an Object (A) which contains a foreign key ID which is reference an optional Object B. – But I only send the ID to the flex client. On the Java site it is easy: class A { private Integer bFk

What could cause a failure in PHP serialize function?

我们两清 提交于 2019-12-11 03:30:12
问题 I have some serverside PHP code that attempts persist a data object (essentially an multi-dimensional array) to a backend database. This data object originally comes in as AMF actionscript object sent from a flex application. I want persist the object in whole for later use so I have used the php serialize function and encode the object down a simple string that can go into a database field. The code looks like this: $serializedDataObject = base64_encode(serialize($objectInstance-

use amf remoting with asp.net mvc

安稳与你 提交于 2019-12-10 11:58:30
问题 anybody knows if it is possible to do calls from flash to asp.net mvc actions using amf remoting ? if yes, how? which technologies should be used and how to combine them on the flash side it would be something like this: //Connect the NetConnection object var netConnection: NetConnection = new NetConnection(); netConnection.connect("http://localhost:59147/Home/Index"); //Invoke a call log("invoke call TestMethod"); var responder : Responder = new Responder( handleRemoteCallResult,