Actionscript 3 :: Flex Remote Service Verbose Mode?

Jul 31, 2009

Is there a way to display or log verbose communication DURING a remote service call with flex? In particular is there a way to get very detailed information about the service call while it is happening. Kind of like tracing HTTP headers from a command line. Basically, getting insight into the server transaction before the result or fault events occur?

I am assuming there must be a convenient way to expose stuff like IP addresses, DNS lookups, number of hops, latency, HTTP headers, AMF data as it is coming over the wire, etc.

View 2 Replies


Similar Posts:


Database :: Using Remote PHP Service With Flex AIR Application?

Feb 16, 2010

I'm developing a Adobe AIR application using Flash Builder 4. This app needs to access a remote PHP service which is being hosted on a remote web server. I am having troubles figuring out how to add a PHP data service which uses a remote service. I can add the PHP data service in Flash Builder as a service hosted on localhost, but given that this will not be feasible when the application is deployed, will not work. How to connect a Flash Builder (Flex) project to a remote PHP data service?

View 2 Replies

Flex :: Filling Datagrid From Remote Http Service?

Jul 21, 2009

I am trying my first flex application. And have a problems adding data from xml http service to datagid.

My xml file looks like this:

<players>
<player>
<name>test</name>

[Code]....

The problem is that nothing is shown in the datagrid

View 1 Replies

ActionScript 3.0 :: Create "Verbose Mode" (Enable/disable Trace Output)?

Jul 6, 2010

// Block Papervison3D trace outputPapervision3D.VERBOSE = false;that is, a global variable for enabling/disabling the trace outputs of my own program. I come up with creatinga class and putting a static boolean member variable. But there is something I'm not sure about: How to useit...For example: every time I need to do a trace, would I have to put this ? -->if( MyClass.VERBOSE ) trace("whatever");So it isn't needed to instance the object because a static variable is used. That's the way, isn't i

View 4 Replies

Flex :: Pass Data Retrieved From A Remote Object Service To A Modules Interface?

Jun 9, 2010

I found at this Adobe tutorial a nice "RemoteService" class that creates a RemoteObject and contains the functions for handling the result and fault events. If I wanted to use this approach, how could I pass the data from the result handler to interfaces that modules from the main application could use?

I could put the RemoteService/RemoteObject in the modules, but (in my opinion- and I could be wrong) the best design seems to be using the remote calls in the main app and passing the data along to the modules.

View 1 Replies

Asp.net :: Best Way To Structure Of Remote Service?

Dec 8, 2009

I'm not sure if this is technically a web service or not but I have a Flash file that periodically needs to make a round trip to a DB. As it stands, AS3 uses the URLLoader class to exchange XML with an ASP.NET/VB file on the server. The aspx code then goes to the DB and returns whatever information is requested back to the Flash file.As my program grows and I need to execute a larger variety of tasks on the server, I'm wondering if I should just keep placing functions in that same aspx file and specify in AS3 which function I should load for any given task. OR, is it better to break up my functionality into several different aspx files and call the appropriate file for the task?Are there any obvious pros and cons to either method that I should consider?

View 1 Replies

ActionScript 3.0 :: Remote Object Service Wrappers

Jan 22, 2010

I'd like to create a remote object service class such that I can encapsulate multiple service operations. These service calls get executed in many places and it would be nice to encapsulate their functionality. For example, something like

[Code]....

View 0 Replies

Flash :: Flex - Builder - View Verbose Build Logging?

Feb 2, 2012

Is it possible to enable verbose build logging in Flash Builder? Ideally, I want to be able to see the exact arguments that are being passed to the mxmlc.exe compiler. Context: I'm currently trying to automate our build process using GradleFx so we can move away from using Flash Builder and run our build on a CI server. At present, I'm running into a few problems and my lack of knowledge about the flash/flex build process is impeding progress. Being able to see what the FB project translates to would greatly aid me in being able to set up the new build scripts.

View 1 Replies

Php :: Flex Service - Bind A Service To A Button

Feb 2, 2011

I am experiencing a strange problem when I want to bind a service to a button or something else:

[Code]...

I can add the services to the Data Services panel but I have two strange things:

1) when I want to configure the return type he doesn't let me create a new ValueObject type, I only get the bottom datagrid which states: Properties returned by the operation: Property: country_Id, provence_Id, city_Id, id_cdpc, district_Id with the related values on the right side. Why can't I create a new data type on the top?

2) When I accept this and want to add the service call to a button (drag&drop) I get the following error: Error occurred while generating code. Make sure that there are no compiler eroors and try again after reopening the file. Componentn type services.cdpc.CDPC not found... (ps: When I perform a Test Operation everything seems to be ok, I get the expected output values)

View 1 Replies

Actionscript 3 :: Logging IN Flex Running Flash Player In Normal Mode (not In Debug Mode)?

Aug 8, 2011

I have a set of users who run my application in non debug mode. Off late they have been reporting lot of issues. But I am not able to debug as there is no log file.Is it possuible in flex 3 to do logging in a file without running in debug version. I understand trace only works if we run application in debug version.

View 1 Replies

Flex :: Security - Setting Wsdl Service In Flex Project Crossdomain.xml?

Apr 7, 2011

How can i settings crossdomain.xml my flex project.* this is my crossdomain.xml.

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>

[code].....

I've tried lots of different methods but my project send error message "Security error accessing url Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL [URL]"

put the file in different places

C:wampwwwMYPROJECTin-debugcrossdomain.xml
(my swf url : http://localhost/bin-debug/test.html checked http://localhost/bin-debug/crossdomain.xml its ok)
C:wampwwwcrossdomain.xml

I added the load line of the project

protected function application1_initializeHandler(event:FlexEvent):void
{
Security.loadPolicyFile("http://localhost/MYPROJECT/bin-debug/crossdomain.xml");
}

if flex server type select none everythings ok. but server type select PHP need crossdomain.xml how can i fix.

View 1 Replies

Flex - Pass Authentication Headers Using Flex HTTP Service?

Sep 6, 2010

I am trying to access a .Net service which requires an authentication header. If WebService is used it works fine. But when it is accessed using HTTPService it throws error. The project is already done by somebody else using HTTPService. Now changing to webService requires some time since there needs to be modification in a lot of files.

Below is the SOAP envelop required by the service.

[Code]...

View 1 Replies

Flex :: Builder - Deploy Flex App Using Different Web Service Urls?

Sep 28, 2011

Is there some sort of configuration settings in FlashBuilder 4.5 where you can easily switch between webservice urls? Right now I have to delete and recreate the web service every time I switch from local to production and vice versa.

View 2 Replies

ActionScript 3.0 :: Make A Video Player That Has Normal Mode And Fullscreen Mode

Nov 17, 2010

I wanted to make a video player that has normal mode and fullscreen mode. The part I am having trouble understanding is how to handle the video once it gets set to fullscreen. Do I just use the current video or do I get a high quality version of the video to show during fullscreen mode? What would be best practice for this situation?

View 1 Replies

ActionScript 2.0 :: Switch To Expert Mode From Normal Mode?

Jan 5, 2010

I'm trying to follow along with a basic animation tutorial online using ActionScript. It mentions to switch to expert mode from normal mode, but says that to do this, I need to click on a blue arrow with a box around it(which I don't see anywhere)? Where would I click to switch to expert mode? Is expert mode needed to animate certain things(I'm working with a movie clip)?

View 1 Replies

Flex :: Using Grails To Connect To A Flex Web Service?

Jun 20, 2009

I have a grails application that will be rendering an html page into a pdf file and I have a flex application sitting on a server that is going to accept REST parameters and construct a graph based on the parameters (which will be formatted in JSON). What I want to do is make a call to the flex app with my parameters and have the flex app create the graph, render a JPEG of the graph, then send an image back to grails. In other words, I want to put an HTML img src=that will render the image directly to the page so that my PDF Plugin in grails will render it into the PDF.

View 1 Replies

Flex :: Develop Flex/Air Application As A Service?

Jan 28, 2011

Is it possible to develop flex/Air application as a service. The application doesn't require any GUI it should run as service in embedded Linux/Linux/Windows.

View 1 Replies

Flex :: Mvc - A Different Service App Using Zend_Amf?

Feb 4, 2010

I have an iterator service that works fine already and returns a correctly structured values to my flex application through my Zend Amf server

$contacts = array();
mysql_connect( 'localhost', 'root', 'test' );
mysql_select_db( 'test' );

[code].....

View 2 Replies

Asp.net :: Asp.net - Flex App Not Hitting Web Service?

Dec 1, 2011

determine what is preventing my web service from being called. We have a working application in production and the developer who wrote it has left. am trying to build it on my machine and I can see a web service call in fiddler being made with the URL "/Services.asmx/MethodName" (as a GET request).I have set my break point in the asmx web service and it is not being hit. All I get in the flex front end is a pop up with " The remote server failed to respond and may be offline. he web service is in the same application as the web app that hosts the SWF file.I have the cross domain policy file in place.

View 1 Replies

Flex - Runing Native Process In Admin Mode In FLEX AIR 2 In Vista 6 Bit?

Jun 28, 2010

I have a Flex AIR2 application which uses native process to run CMD.exe. Application running fine on WinXP, Win R 2008 server. But not running on VISTA 64 bit OS. Flex not able to run CMD.exe when application installed in C:Program Files (x86). When I run application as Administrator mode it is working fine. Below is my code, I want to start cmd.exe as Administrator.

[Code]...

View 1 Replies

Flex :: Authenticate Desktop FLEX / AIR App With Remote Server?

Apr 21, 2011

I have an Adobe AIR/FLEX app packaged as a native installer application running on the desktop. From there, I need to do the following:

a) stay in the "app:" application sandbox so I can load "file://" JPGs into my mx:HTML control

b) authenticate with my server (CAKEPHP) to get a valid CAKEPHP Session Cookie, and

c) securely GET/POST XHR requests from javascript.

Can I authenticate using something like OAUTH or Facebook Connect without losing the application sandbox? It seems if I redirect from my mx:HTML, I lose my local privileges.Can I authenticate with my server using a different sandbox (remote?) and safely pass the Session Cookie to my application sandbox? Are either of these methods safe against scripting attacks?

View 1 Replies

Flex :: Stop A Web Service From Executing?

Jan 12, 2010

is it possible to stop a web service from executing?

I have a flex web application that searches clients with both full name and client id, when searching by name sometimes the usuer just types the last name and it takes a long time.

Since the app is used when clients are waiting in line, I would like to be able to stop the search and use their full name or id instead, and avoid waiting for the results and then having to search the user manually within the results.

I meant "web service" I actually meant mx.rpc.soap.mxml.WebService, I want to stop it from waiting for the result event and the fault event.

View 2 Replies

.net :: Use A Service Object Within Adobe Flex

Feb 3, 2010

How can I use a .NET service object in an Adobe Flex application? Is it even possible? Do I have to use some third-party tool?

View 3 Replies

Php :: AMF Data Is Incomplete With Flex Service?

Apr 28, 2010

I am bussy with a Flex Project with a data services. Flash builder installed Zend Framework with Zend_Amf.

When i run the project i get the error NetConnection.Call.Failed: HTTP: Failed. With chalers i say that Zend_Amf give the error: AMF data is incomplete (0 bytes of 0 bytes). Please check the recording limits in the Recording Settings.

I don't know what the problem means. I have searched on google, but i haven't found a good result. The Flex project code is:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]...

View 2 Replies

Flex :: Setting Up Web Service Client?

Jun 1, 2010

I am new to Flex and needed some help setting up Web service client.I have a web service of method: public String printEchoStr(String str);I am facing problem while creating action script to call this service.I am getting error1067 : Implicit coercion of a value of type String to an unrelated ty generated. webservices:PrintEcho.I am not sure if this is the correct way.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
xmlns:srv="generated.webservices.*"[code]...........

View 1 Replies

.net :: Flex - What Value Does WebORB Add When Accessing A .NET Service

Jul 1, 2010

I've been reading about WebORB, and am wondering: if I just need to call methods on a .NET web service from my Flex app, does it add any value?

View 3 Replies

Php :: Call An AMF Service Using Flex And Get Back A MP3?

Jul 6, 2010

My flex 3.5 application has an audio player whose content is accessed by calling an AMF service to get the mp3 data. As far as I can tell, flash.media.Sound is initialized with a URLRequest, so it's not clear to me how I can provide it with data using my RemoteObject.

I want to do one of the following things:

Provide data to the Sound object's load method from a RemoteObject service call.
Create a URLRequest object that will perform the requisite AMF wrapping so that my service implementation will look exactly like any other service call if at all possible. Any alternative that allows me to invoke a PHP4 AMF service and play the audio it returns in a Flash audio player.

View 3 Replies

Flex :: Sychronous Web Service Calls

Sep 10, 2010

Does adobe flex supports sychronous web service calls justify your answer???

View 1 Replies

Flex :: Set The Location For A SOAP Service?

Apr 8, 2011

I have successfully generated my web service proxies using the FlexBuilder menus. This particular web service has an internal (or incorrect) "location" specified in its WSDL. This means that when I go to make an actual method call, it fails because the DNS name specified in the location field is wrong. (It shows as "aborted" in fire bug).

How do I set the location attribute on the service object?

update:

The field that needs to be changed is listed below. It is called "WSDL- ndpoint." So the question is: How do I do this programmatically given the generated web service object (the one that extends WebServiceWrapper)?

<annotation name="ServiceConfig">
<item name="DEFAULT_ENTITY_PACKAGE">valueObjects</item>
<item name="WSDL-endpoint">http://eoc7/eoc7/api.asmx</item>
<item name="LINKED_FILE"></item>
</annotation>

View 2 Replies

Flex :: Supply The Parameters Int[] In A PHP Service?

Aug 1, 2011

My Flex Service Call is returning Null can anybody tell me where I am going wrong?

Database:
user_id: 1
user_name: stephen
user_password: qwerty
status: Active

[Code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved