[svn:fx-3.x] 10063: Fix calling HTTPService responders twice.

Revision: 10063
Author:   [email protected]
Date:     2009-09-08 12:33:30 -0700 (Tue, 08 Sep 2009)
Log Message:
Fix calling HTTPService responders twice.
QE notes: None.
Doc notes: None.
Bugs: SDK-22883
Reviewer: Svetlin
Tests run: checkintests
Is noteworthy for integration: no
Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-22883
Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as

Similar Messages

  • Calling HTTPService from Flex

    Hi,
    I know how to call a HTTPService in actionscript as follow.  I was wondering how to call HTTPService in Flex (not from actionscript).
        post_submit_tn_service.send();
        <mx:HTTPService id="myservice"
        </mx:HTTPService>

    Hi,
    Here is my problem.
    Let's assume I have two mxml files.
    The mxml file2 contains HTTPService which is called in a ViewStack from file1.
    When ViewStack is set to file2 for the second time (to update datagride), createComplete in file2 is not being called. So, no HTTPService is called when ViewStack is set to file2 for the second time.
        <!-- file1 -->
        <mx:ViewStack id="vsMyStack" x="0" y="0" width="100%" height="100%" >
              <mx:Canvas id="file1" label="Login" width="100%" height="100%">
             </mx:Canvas>
            <mx:TabNavigator id="viewstack1" width="100%" height="100%">
                <views:file2 width="100%" height="100%"/>
                <views:file3 width="100%" height="100%"/>
              </mx:TabNavigator>
        </mx:ViewStack>
    <!-- file2 ->
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init();">
        private function init():void
            post_service.send();
        <mx:HTTPService id="post_service"
            url="http://localhost/prod-ar/webservices/get_day_of_year.php"
            method="POST"
        </mx:HTTPService>
    </mx:VBox>

  • [svn:fx-4.x] 15080: Fix FTE in UIFTETextField which occured if baseline getter was called before width or height were set and autoSize =TextFieldAutoSize.NONE.

    Revision: 15080
    Revision: 15080
    Author:   [email protected]
    Date:     2010-03-26 14:47:47 -0700 (Fri, 26 Mar 2010)
    Log Message:
    Fix FTE in UIFTETextField which occured if baseline getter was called before width or height were set and autoSize=TextFieldAutoSize.NONE.  In this case, createTextLinesFromTextBlock returned without creating any text lines because there wasn't any width.  FTETextField.getLineMetrics assumes there is at least one line and throws a range error if there isn't.  In this case, set autoSize to TextFieldAutoSize.LEFT, measure the text, and then restore the autoSize value.
    QE notes:
    Doc notes: None
    Bugs: SDK-26016
    Reviewed By: Jason
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-26016
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/spark/src/mx/core/UIFTETextField.as

  • [svn:fx-trunk] 5355: Minor fixes to deal with corner cases where developers try to play keyframe-less MotionPaths or call getValue () outside of an effect actually playing.

    Revision: 5355
    Author: [email protected]
    Date: 2009-03-17 13:03:28 -0700 (Tue, 17 Mar 2009)
    Log Message:
    Minor fixes to deal with corner cases where developers try to play keyframe-less MotionPaths or call getValue() outside of an effect actually playing.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-19964, SDK-19966
    Reviewer: Jason
    Testing: checkintests, Mustella Effects, ListDataEffects, mx/effects
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19964
    http://bugs.adobe.com/jira/browse/SDK-19966
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.a s
    flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as

    Revision: 5355
    Author: [email protected]
    Date: 2009-03-17 13:03:28 -0700 (Tue, 17 Mar 2009)
    Log Message:
    Minor fixes to deal with corner cases where developers try to play keyframe-less MotionPaths or call getValue() outside of an effect actually playing.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-19964, SDK-19966
    Reviewer: Jason
    Testing: checkintests, Mustella Effects, ListDataEffects, mx/effects
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19964
    http://bugs.adobe.com/jira/browse/SDK-19966
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.a s
    flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as

  • [svn:fx-3.x] 6344: Fix a problem where Application was not receiving an error event when HTTPService failed .

    Revision: 6344
    Author:   [email protected]
    Date:     2009-04-28 11:46:31 -0700 (Tue, 28 Apr 2009)
    Log Message:

    It looks like your script is targeting the Finder - if Aperture is what is running the script, it will need the proper entitlements to control stuff outside its sandbox.  You might try using the bundle identifier, which is usually the way to go since it can be trapped by a try statement, for example
    try -- test for an application
      application id "com.apple.Safari"
    on error errmess -- doesn't exist
      log errmess
      # whatever
    end try

  • Error while calling HTTPService

    i am getting  [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"] error while trying to call a htttpservice.
    the following is the code which i am using to call the httpservice. my flex app and the http service which i am trying to call is located on the same server. if i paste the URL in the browser and click enter i was able to retreive the data.
    but when i use the same URL in the flex its not working. i tried using an application called HTTPanalyzer which logs all the http requests
    made by all the applications.but i couldnt find the flex app making any call to the server at all. i.e. its not actually sending request at all.please help me
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Script>
            <![CDATA[
                import mx.controls.*;
                import mx.collections.*;
                import mx.managers.PopUpManager;
                import mx.core.Application;
                import mx.events.*;
                [Bindable]
                private function passKeys():void{
                    var params:Object={};
                    params["bu"]=bu.text.toUpperCase();
                    params["poid"]=poID.text.toUpperCase();
                    params["poget"]=Application.application.poadd.poMetaData.toXMLString();
                    Alert.show(http_createPO.url);
                    Application.application.mode="A";
                    http_createPO.send(params);
            ]]>
        </mx:Script>
        <mx:HTTPService id="http_createPO" showBusyCursor="true" url="http://xxxx.com/WEBLIB_FX_DOC.SM_FX_PO.FieldFormula.IScript_createPO" result="Application.application.getPO(event)" resultFormat="xml" fault="Alert.show(event.fault.toString())"/>
        <mx:Button x="134" y="68" label="Create PO" id="createPO" click="passKeys()"/>
           <mx:TextInput x="166" y="11" id="bu"  keyUp="autocomplete(this.bu,event)" fontWeight="bold"/>
        <mx:TextInput x="166" y="37" id="poID" text="Next" fontWeight="bold"  maxChars="8"/>
    </mx:TitleWindow>

    Thanks for the reply guys.
    i had it working.i have not changed anything from the code perspective i tried deleting browser cache and server cache.but its working only on some machines..any iddea guys?

  • [svn:fx-trunk] 7605: VideoPlayer fixes:

    Revision: 7605
    Author:   [email protected]
    Date:     2009-06-07 12:40:59 -0700 (Sun, 07 Jun 2009)
    Log Message:
    VideoPlayer fixes:
    -Going in to fullScreen mode, push the videoplayer on to the application directly as a child.  Otherwise there?\226?\128?\153s no way to guarentee the right coordinates to use when setting the fullScreenRect as I noticed they may change later on.
    - Fix up fullScreen mode to deal with not having access to topLevelRoot()
    - Hide the popup when the ?\226?\128?\1563 second no user-interaction?\226?\128?\157 occurs in fullscreen mode.
    - Remove playheadTime setter from VideoElement...it wasn?\226?\128?\153t supposed to be on there.  They should use seek() instead.  VideoPlayer is correct here.
    - When switching skins, we keep track of the video element?\226?\128?\153s state (where it was in the playback and whether it was playing)
    - In VideoElement, sometimes the underlying object would send out a STOP state change handler after calling play() due to its asynchronous nature.  We call setPlaying() when someone calls play() or pause() or stop() so that the controls update to what the user is trying to do, but when a stop occurs because of end of video, we still need to setPlaying(false).  Also, in this case, when we get a Play stateChange, we should call setPlaying(true).
    - Make sure we call videoPlayer.stop() when swapping video element?\226?\128?\153s or when swapping the underlyign video player object
    QE Notes: -
    Doc Notes: -
    Bugs:SDK-21508, SDK-21616, SDK-21255
    Reviewer: Alex
    tests: checkintest
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21508
        http://bugs.adobe.com/jira/browse/SDK-21616
        http://bugs.adobe.com/jira/browse/SDK-21255
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/VideoElement.as

  • [svn:bz-trunk] 21394: bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX .

    Revision: 21394
    Revision: 21394
    Author:   [email protected]
    Date:     2011-06-16 12:34:13 -0700 (Thu, 16 Jun 2011)
    Log Message:
    bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX.
    get the sessions id before we invalidate the duplicate session.
    Checkintests pass
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseHTTPEndpoint.java

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • [svn:fx-trunk] 11286: Small fix to List multiple selection commit.

    Revision: 11286
    Author:   [email protected]
    Date:     2009-10-29 16:59:07 -0700 (Thu, 29 Oct 2009)
    Log Message:
    Small fix to List multiple selection commit.
    Problem: Dispatching programatically mouse_down event to the item renderer would not put it in the selection.
    Reason: commitSelection() was getting called twice, once through ListBase.commitProperties() and a second time through List:commitProperties()
    Fix: Clear the multipleSelectionChanged flag inside commitSelection() to prevent it from being called twice.
    QE notes: None.
    Doc notes: None
    Bugs: None
    Reviewer: Glenn
    Tests run: checkintests, mustella (List)
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as

    You have used elements like header, footer, footer1 and nav without using the correct DOCTYPE declaration. Replace the first line of your code with
    <!doctype html>
    Also have a look here for other problems http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fhome.surewest.net%2Fstorytales%2F test%2Fforposting.html
    After the above has been fixed, please come back here to fix the remaining problem(s)
    Gramps

  • [svn:osmf:] 13544: Attempt to fix the broken command line build.

    Revision: 13544
    Revision: 13544
    Author:   [email protected]
    Date:     2010-01-15 17:13:13 -0800 (Fri, 15 Jan 2010)
    Log Message:
    Attempt to fix the broken command line build.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml

    If there was a magic bullet to keeping clients healthy, then keeping clients healthy would not be an issue.
    However, ConfigMgr 2012 does have a a built-in client health tool called ccmeval -- this is run using a scheduled task on client systems every day and does a very good job of keeping clients healthy.
    Using a task sequence or anything directly deployed by ConfigMgr won't work because its a catch-22: how is the ConfigMgr agent supposed to run a deployment if it or a dependent component is not healthy.
    Other things to keep clients healthy:
    - Don't give users local admin privileges.
    - Beat users that hard shutdown or reboot systems (this is IMO the number 1 cause of client health issues)
    - Get rid of XP
    - Use client startup script that supplements ccmeval
    Jason | http://blog.configmgrftw.com

  • [svn:bz-trunk] 21014: bug fix for RTMP security test case failure for Tomcat 7,

    Revision: 21014
    Revision: 21014
    Author:   [email protected]
    Date:     2011-04-04 13:44:59 -0700 (Mon, 04 Apr 2011)
    Log Message:
    bug fix for RTMP security test case failure for Tomcat 7,
    defer the ValveBase.getContainer() call to run time.
    Checkin tests not run as it only applies to Tomcat 7
    Modified Paths:
        blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/Tomcat7Valve.java

    Revision: 21014
    Revision: 21014
    Author:   [email protected]
    Date:     2011-04-04 13:44:59 -0700 (Mon, 04 Apr 2011)
    Log Message:
    bug fix for RTMP security test case failure for Tomcat 7,
    defer the ValveBase.getContainer() call to run time.
    Checkin tests not run as it only applies to Tomcat 7
    Modified Paths:
        blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/Tomcat7Valve.java

  • [svn:fx-4.x] 14806: Fix the same mirroring bug in both mx: WindowedApplication and s:WindowedApplication.

    Revision: 14806
    Revision: 14806
    Author:   [email protected]
    Date:     2010-03-17 06:50:37 -0700 (Wed, 17 Mar 2010)
    Log Message:
    Fix the same mirroring bug in both mx:WindowedApplication and s:WindowedApplication.  When using air,  setActualSize is called before commitProperties/invalidateLayoutDirection so invalidateLayoutDirection needs preserve the width as well as mirror in _layoutFeatures.
    QE notes:
    Doc notes: None
    Bugs: SDK-25735, SDK-25880
    Reviewed By: Jason, Kevin
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25735
        http://bugs.adobe.com/jira/browse/SDK-25880
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/airframework/src/mx/core/WindowedApplication.as
        flex/sdk/branches/4.x/frameworks/projects/airspark/src/spark/components/WindowedApplicati on.as
        flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/UIComponent.as

  • [svn:fx-4.x] 14245: * Fixed inactive incremental compilation issue where library changes

    Revision: 14245
    Revision: 14245
    Author:   [email protected]
    Date:     2010-02-18 08:53:00 -0800 (Thu, 18 Feb 2010)
    Log Message:
    Fixed inactive incremental compilation issue where library changes
      were not causing application recompilation.
    QE notes: We should add a JUnit OEM API test for this scenario.
    Doc notes:
    Bugs: SDK-25513
    Reviewer: Pete F.
    Tests run: checkintests
    Is noteworthy for integration: yes, affects active incremental
                                   compilation from FB.
    Code-level description of changes:
      Modified the loadCompilationUnits() used by
      flex2.tools.oem.Application to pass the "sources" and "units" args
      down, so that the PersistenceStore can populate them.  This is
      necessary to get OEMUtil.isRecompilationNeeded() called in
      Application.recompile().
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25513
    Modified Paths:
        flex/sdk/branches/4.x/modules/compiler/src/java/flex2/compiler/CompilerAPI.java

    Dear Pallavi,
    Very useful post!
    I am looking for similar accelerators for
    Software Inventory Accelerator
    Hardware Inventory Accelerator
    Interfaces Inventory
    Customization Assessment Accelerator
    Sizing Tool
    Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
    Request help on such accelerators... Any clues?
    Any reply, help is highly appreciated.
    Regards
    Manish Madhav

  • Querry related to Fix call option in IP10

    Hi,
         For performance based plans - in IP10 - for a scheduled plan Fix a call option is greyed out ..where the same is present in time based plans. Any specific reason for this ??
    regards
    giri

    You can't use Call Fix up for Multiple counter plan, I feel.
    Please go through below link.
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/3c/abb5da413911d1893d0000e8323c4f/content.htm

  • [svn:fx-trunk] 14462: Quick fix to ensure total byte counts are accurate for -size-report.

    Revision: 14462
    Revision: 14462
    Author:   [email protected]
    Date:     2010-02-26 14:11:20 -0800 (Fri, 26 Feb 2010)
    Log Message:
    Quick fix to ensure total byte counts are accurate for -size-report.
    QE notes: None
    Doc notes: None
    Bugs: SDK-25600
    Reviewer: Paul
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25600
    Modified Paths:
        flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SizeReport.java

    If this is textual input (as in a CSV file), you wouldn't use a DataInputStream or DataOutputStream. Use FileReader and FileWriter objects instead.
    Actually, unless this is a homework assignment that tells you to write it yourself, you should just use a library that can parse and format CSV files and just use that.
    My battle plan is to count the number of rows and commas. I would then use these counts in my subsequent loops. Why? What is the purpose of those counts?
    Personally, I'd suggest that you start by writing a method that does the changes you need on a single line of input. (The changes you describe sound like they can all happen on a per-line basis.) Write lots of unit tests to try out various inputs and that you get the correct outputs, given the changes you say you need on a given line.
    When you're done with that and have it working perfectly, then you can write the code to read a file, loop through it, call the method that fixes a single line, and then output that line.

Maybe you are looking for

  • Issue in Creation of shipment with events  using BAPI_SHIPMENT_CREATE

    Hello experts, I am trying to create shipments using BAPI_SHIPMENT_CRETAE for which data is provided in an excel. The issue here is I have to create the events in shipment i.e., I need to fill the Further dates tab. But in this BAPI there is no such

  • Photoshop CS4 Activation Error

    Hello, I've been using Adobe products for a while now. However, I'm experiencing a problem with Photoshop CS4 - I have been for a while but I thout it'd eventually go away. I have 2 computers. I have CS4 installed on both. However, a while back It wa

  • How to read a CSV File

    Hi All, I am new to the forum so i dont know if i can post this message in this section or not but i did not find any related section in the menu so i am posting it here. I want to read a .CSV (comma separated file) in a particular location and see i

  • Itunes won't install correctly in PC...Apple Mobile Device Service failed to start

    I have recently been getting messages that ITunes was installed incorrectly. I've followed all the recommend procedures and it still does not work. I'm also getting a message that the Apple Mobile Device Service failed to start. Also, when I plug in

  • JVMTI Based Profiler problem

    Hi to all, I am working on a JVMTI based profiler agent library, using this i am trying to achieve the BCI during runtime. I am using JVMTI's redefine class features and instrumenting the bytecode during runtime. Now i am facing a realy weird problem