Hi,
Does anyone have any experience working with teh ADK and Flash Remoting (AMF) using NetConnection. It does not include any Request URL so we're trying to find how to tag the http requests to the server.
Thanks,
Gil.
Answer by Bruce D. ·
So I have a need for this. I need the remote object from flash that uses the NetConnection in the flash player sdk. The flash player sdk is closed source. I have no access to it or the url request that is generated. I know that the referrer needs to be added to the url request, but I was wondering if maybe if I could change the x-dtreferer to just use referrer. The referrer header, a well known supported header has the actual swf file name associated to it. I would think this would be a good way to identify remote object data. There is no URLRequest that can be accessed within the flash player.
FYI, BlazeDS is a server technology, not a client technology. It listens to requests that are amf formatted, but doesn't create them. It's still flash that controls the generation of the request.
Please tell me dynatrace has moved this forward in the last year.
Answer by Alexander S. ·
Hi Gil,
I'm jumping in here, because this is now more a product managment issue. I don't see a change to do this in the product.
Currently the only way would be to get the source code of BlazeDS and add a possibility to set the headers.
I know this is not a good solution, but currently we have no other requests on this technology and to less resources to investigate now.
Alex
Answer by Bernhard L. ·
No, we have not tried to instrument BlazeDS yet. After some googling I did not find any way to set a custom HTTP header. This would be required for correlating the web request to the action. You should try to get in contact with the BlazeDS devlopers. Maybe they can help you...
Bernhard
Answer by Bernhard L. ·
Hi!
BlazeDS is only supported on the serverside(Java sensor). It is not supported by UEM out of the box. You have to instrument it manually via the ADK.
bernhard
Answer by gil g. ·
Thanks Bernard,
I know this is what needs tobe done and we're now investigating the source code of the platform. it is based on BlazeDS, which is said to be supported in teh release notes so I hoped someone have done this (at least in development).
Gil.
Answer by Bernhard L. ·
Hi!
I don't know how this is possible with flash remoting, but you have to set an additional HTTP header on every request then the tagging will work:
header: x-dtreferer
value: URL of the html page which loaded the swf. You can retrieve the url with actionscript: ExternalInterface.call('window.location.href.toString');
I hope this helps!
Bernhard
JANUARY 15, 3:00 PM GMT / 10:00 AM ET