Cancel remoteobject transaction

Hello,
I'm wondering if it's possible to cancel a remotobject's transaction.
This is the case:
A user may upload articles to my backend database. But while this is uploading it must be possible to disconnect this transaction. (If the transaction takes too long for example it must be possible to cancel this).
I did some research but couldn't find it yet.
Here's some code.
My delegator:
            var token:AsyncToken=this.service.saveArticle(articleVO);
            token.resultHandler=responder.result;
            token.faultHandler=responder.fault;
            token.addResponder(responder);
My Service:
                var channel:AMFChannel=new AMFChannel("my-amf", "http://localhost:8080/.../messagebroker/amf");
                var channelSet:ChannelSet=new ChannelSet();
                channelSet.addChannel(channel);
                articleService.channelSet=channelSet;
         <mx:RemoteObject id="articleService"               
                     destination="articleService"/>
I think there are different solutions. Call the remoteobject's disconnect function, the channelset's disconnect function or something with the asynctoken. But I didn't figure it out yet. Can someone help me plz?
thx

BlueVeinz, Michael and all,
I wonder if this is in fact always possible? Presumably Flex can only cancel the things over which it has control, not the detailed behaviour of remote systems. For example, a database engine may grant you permission to query but not cancel. The documentation that Michael pointed to says (among other things) under the cancel() entry "Cancels the last service invocation or an invokation with the specified ID.       Even though the network operation may still continue, no result or fault event       is dispatched" - in other words Flex will stop nagging you about it, but it may well not be possible to do anything about the operation itself. Again, one can imagine a remote web service operation that simply exposes no faciilty for being cancelled - the best you can do is to flag your lack of interest in it.
From a user's perspective this may well be enough, but if the original question related to actual resources being used I think the issue is different.
All the best,
Richard

Similar Messages

  • I'm really sorry i just bay my griAddress again to my phone please grindar extra just for one month and you charge me for one year so i would like to cancel that transaction and pay only monthly many thanks marcel

    I'm really sorry i just bay my griAddress again to my phone please grindar extra just for one month and you charge me for one year so i would like to cancel that transaction and pay only monthly many thanks marcel

    These are user forums. You are not speaking to Apple. We can't assist you. You must contact Apple directly in your country.
    Customer Service: Contacting Apple for support and service - this includes international calling numbers.

  • Wi don't disappear if user cancel the transaction

    Frinends,
    I'm testing one scene, that the wi calls one transaction, and this transaction calls (by button click) other transaction (MIGO).
    If the user cancel the MIGO and go back and exit... I want the wi continue in inbox.
    I remember that once a time Ramki answered me to user EXIT_CANCELLED statement in the method, controlled by a variable. But I don't know how to use this statement.
    how can I do this ?

    Hi Peter,
    That's it, but I didn't understand how to do this...
    1- I have to create a variable ...
    2- if I identify that the user had canceled the transaction, I have to interceptate with the EXIT_CANCELLED macro. But how I call this macro... because I've tested and put it on the end of the method directly, but the wi disapears always.
    eg.: (Is this the way to do that ??????)
    begin ... method
    call ... MIGO
    if (some condition, I don't know)
      EXIT_CANCELLED.
    end if.
    end ...method
    Please, helpe what to do step-by-step.... I think it isn't so hard to do...
    Thanks,
    Glauco

  • I made a movie purchase assuming I could use an authorization code received to download. How do I cancell the transaction ?

    I made a movie purchase assuming I could use an authorization code received to download. How do I cancell the transaction ?

    dfviens wrote:
    I made a movie purchase assuming I could use an authorization code received to download. How do I cancell the transaction ?
    Not sure what that means.
    But purchases are final as per the Itunes Terms and Conditions. No refunds are available.
    However that does not mean you can't wait to download it.  Or just pause the download until you are at a location where you wish to download it.

  • HT3702 Itunes and auto cc charges???my credit card was charged 19.99 by the apple itunes store....I have no purchases in my history....how do I cancel this transaction? and why is it on there....how do I find out?

    Itunes and auto cc charges???my credit card was charged 19.99 by the apple itunes store....I have no purchases in my history....how do I cancel this transaction? and why is it on there....how do I find out?

    You've checked the purchase history on your account via your computer's iTunes : log into your account on your computer's iTunes via the Store > View Account menu option, you should then see a Purchase History section with a 'see all' link to the right of it. Click on that and you should then see a list of your purchases.
    There are instructions on this page for viewing / managing / stopping auto-renewing subscriptions : http://support.apple.com/kb/HT4098
    If nothing shows on your iTunes purchase history (you don't have a Mac and have any purchases in the Mac App Store), and you only have the one account, then you should contact your card issuer.
    If something does show on your history but you didn't buy it, and nobody else has access to your account or devices and made the purchase, then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • HT201359 Why am I being charges almost $16 and almost $6 when All I've ordered is ONE song???? How do I cancel the transaction???

    Why am I being charges almost $16 and almost $6 when All I've ordered is ONE song???? How do I cancel the transaction???

    http://www.apple.com/support/itunes/contact/

  • I cancelled my transaction to purchase the lion ox, but still charged me

    I cancelled my transaction to purchase the lion ox, but still charged me?

    This has nothing to do with itunes.  it is a MAc app Store question.
    Once you click "Buy" it is bought.  There is no cancelling.

  • How to cancel RemoteObject operation in Flex 1.5?

    Hi,
    My project is using Flex 1.5.
    I have 2 buttons.One is calling remote method (search) using RemoteObject, another one is cancel the operation. If the search takes too long, user can cancel it, and start another search.
    How to do that in Flex 1.5?

    hi
    you can set global styles in design view in "appearance" tab

  • No "Number of canceled bill" after canceling in Transaction VF11

    Hi @ everybody,
    I wrote a new ABAP-Program in our company, which check
    in some cases, whether the field VBRK-SFAKN (Number of canceled bill)
    is filled or not! So far so good, it works!
    But now I have the problem, that the field VBRK-SFAKN is not allways filled,
    when it should be filled! Normaly it should be filled, when the tuple is or stands for a
    "canceled bill" (sorry for the bad english). In this case the field SFAKN contains
    the Bill-number (VBELN) from the actually/originally bill!
    The Bills will be cancelled over the transaction "VF11".
    For me is the mystery, that sometimes the field is filled and sometimes not!
    So...can somebody tell me, why the field SFAKN isn't filled in some cases?
    It would be very nice....thanks!
    Sincerely

    Hi Sebastian,
    VBRK- is the Billing Document: Header Data
    When ever we sell to customer we dnt expect that customer would cancel the order. in 99% cases when we sell we will close the sale by getting money for the items sold.
    SO we create Order and do Billing (VF01) and the collect money and post the incoming payment.
    it is possible that in a day if I do 100 inovices out of which only 2% will be cancelled. Then If I have to cancel the Billing document I will take VBELN and then Go to Transaction VF11 and enter and save, this owuld create a new Cancellation document and this would have a seperate number which is stored in field SFAKN. SO all VBELN need not have SFAKN. Only a few VBELN will have SFAKN.
    Hope this clarifies..
    Reward if it helps
    Regards
    Srini

  • Option for cancel fraudulent transaction?

     Sometimes I detect by my own software( anonymous proxy, "red" fingerprints, invalid client timezone, "bad" reverse DNS, etc. ) fraudulent transaction. I do refund but I have to pay fees when I refund the money. Is it exists any way to cancel transaction if PayPal can't detect the fraud?  

    You may end up charged, if the purchase went through. Get up with support to have them investigate your account. They may disable it for security reasons, but it is easy enough to get enabled again:
    http://www.apple.com/emea/support/itunes/contact.html

  • Action canceled for transaction ftxp

    I'm trying to understand the difference of behavior for transaction ftxp between my quality and production system.
    If I execute FTXP on QAS, the action is canceled (message tk495).
    There is nothing in ST22, SM21, SU53...
    I need to open the client in transaction SCC4, and then it works...
    But if I execute FTXP on PRD, it works directly. I don't even have to open the client.
    My user has sapall permission in both systems...
    Do you have any idea or suggestion ?
    Maybe this is a customizing configuration...I don't know...
    Eduardo

    This is allowed in production because the client has a role "production", which does allow you to execute.
    Whereas in the Quality, you need to open the client inorder to copy or transport.
    This is the expected behavior because you are trying to do client specific changes.
    By the way, you can do it in your dev and transport it to your quality.
    Any tax account adjustment you have to manually do it quality by opening your client.
    Also message tk495 may be due to your authorization or client setting.
    Link: [https://service.sap.com/sap/support/notes/356483]

  • Cancelled Verification transaction

    I replaced a credit card and neglected to update my billing information, so the transaction to renew my subscription was denied.  I updated my card into and was told a $1 verifiaction transaction would be put through.  I checked my billing history and it shows the transaction, but the status is "cancelled."  Also there is a transaction using the old card today that was again denied.  I had updated the autopay section to use the new card info as the default payment method.  Not sure what is going on  and do not want my subscription cancelled.  Thanks

    Hi Karen
    Please check the current period in T Code - MMRV .
    Regards,
    Bijoy Kumar

  • How to avoid mandatory fields popup when cancelling a transaction

    Hi All,
    I have created a Employee create page and put some mandatory fields on it
    and have 2 buttons apply and cancel . if i navigate to that page and not enter anything and press cancel button a dialog comes up asking me to enter mandatory fields
    what should i do to avoid that popup ?
    thanks
    ananya

    Either
    1) disable client side validation on press of cancel button
    2)Or Don't mark the fields required and handle this in ur code on apply button event as server side validation.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                               

  • How to cancel a transaction in Oracle Lite 10g R3

    Hi,
    I have a publication with 7 publication items (updatables), Server wins in any conclict.
    I made some changes in some records of the 7 tables of my oracle lite database.
    I synchronize the changes, without any error messages, But I cannot find those changes in the tables in my oracle database (9i).
    So, I check in the Mobile Manager, in the Data Synchronization/Repository/Input Queue.
    I find the transaction #203 with all the publication items.
    I also find an error in the "Error queue", It seems like there was a conclict in one of my publication items. So I choose the option "Take value from server", then the error disapear from the "Error queue". However, the transaction stay in the "Input queue".
    I made other changes to the tables in the database lite, and then synchronize. But It seems like nothing happens, there isn´t any other transaction in the "input queue", and I cannot fin all the changes I made in my database (9i).
    Can anyone help me????
    Regards, Santiago

    I found this messagein the MGP History User
    Applied Record     Counts:
    Insert Count     = 3
    Update Count     = 6
    Delete Count     = 0
    Applied PubItems:
    TECNICO
    SUSCRIPTOR
    LISTA_MATERIALES
    LIQCLI
    VALORAC_ACTIVIDADES_OPE
    CARGA_DEMANDADA
    DESCSOL
    TECNICO
    SUSCRIPTOR
    LISTA_MATERIALES
    LIQCLI
    VALORAC_ACTIVIDADES_OPE
    CARGA_DEMANDADA
    DESCSOL
    TECNICO
    SUSCRIPTOR
    LISTA_MATERIALES
    LIQCLI
    VALORAC_ACTIVIDADES_OPE
    CARGA_DEMANDADA
    DESCSOL
    Compose Error:
    java.lang.Exception: MGP apply_before_compose aborted and compose postponed for SGARCIA as apply will generate sync errors
         at oracle.lite.sync.Consolidator$O8Server.fastPush(Unknown Source)
         at oracle.lite.sync.MGP$MGPG.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:534)
    /*********************************************/

  • HT3702 How to cancel a transaction

    While playing "Shall we date?: Ninja Love for GREE" I made a purchase of an item and I accepted it on accident and I would like to void this transaction so I can redownload this app.

    http://support.apple.com/kb/ht4098

Maybe you are looking for

  • Cover Flow Sort Problem To Do With Compilations?

    Hi, I just had a thought. Do you think the problem we're having with Cover Flow on the iPod Nano is to do with "Part of a compilation" not being ticked in iTunes? If you bought one movie soundtrack Album that has a different Artist for each track, sh

  • Hw to debug outbound function module

    Hi, I know how to debug inbound idoc using WE19 can sum1 tell how can i debug outbound function module. i want to debug to see as to why certain segments are not being updated in IDOC PORDCR1.PORDCR102. even though i put an external break-point it do

  • Preview Chinese Character Problem

    Hi expert, I face a problem in smartforms, the problem is the Chinese char that I used it not show properly.. It looks like the Char all is combine together but when I print it out, all is fine.

  • When installing InDesign CS6 I get an error message

    When installing InDesign CS6 I get an error message

  • Want to insert a record through DataControl

    Hello, I have created the view Vo Insert1.vo and i have created a a page add adding the operation createinsert and droped the Voinsert . when i insert the record the values disappers and the data has not been created in Database. Could please tel me