Can i have tow HttpService in the same application???

I try to use tow HttpService (one for delete row in a table
and the other for read the table):
<mx:HTTPService id="listcls" url="
http://127.0.0.1:32000/affcls.php"
useProxy="false" method="POST">
<mx:request xmlns="">
<clsci>{clsci.text}</clsci><clsint>{clsint.text}</clsint><prfci>{lstprfci.text}</prfci>
</mx:request>
</mx:HTTPService>
<mx:HTTPService id="supcls" url="
http://127.0.0.1:32000/suprcls.php"
useProxy="false" method="POST" >
<mx:request xmlns="">
<clsci>{toto.text}</clsci>
</mx:request>
</mx:HTTPService>
PHP files work correcly! But i must kill my application and
restart it to see the change!!!! Why?
Please help me!!!

Hey MattAka,
If I understood correctly, you want to send DELETE, get
result, then fire off READ, then get result? You can definitely use
two HttpServices in your app. Make two result handlers, first call
DELETE, then on result why not call both the DELETE result handler
and READ send and wait for that result?
<mx:HTTPService id="supcls" url="
http://127.0.0.1:32000/suprcls.php"
useProxy="false" method="POST" result="
handleDeleteResult();listcls.send()">
Or, handle the result of DELETE and in that function, call
the READ.send(). I think that's the same thing Jeffrey was aiming
at.

Similar Messages

  • Fact table have tow column reference the same dim table

    In my analytic domain, my fact table have tow column reference the same dim table, but in physical diagram, between two table ,can only have one join, so i create a copy of the dim table, then finish the join in physical. This method can resolve this question, but not so good, Anyone have perfect solution?

    user4497169 wrote:
    Thanks,
    yours method is very very good, I don't know this method before. Where do you get this imfomation?The sample sales RPD has (good) modelling references you can refer to, otherwise think about how you'd write the SQL Statement yourself, you'd need to use an alias to access the same table on seperate joins.

  • Can I have 2 iPhones with the same number??

    Can I have 2 iPhones with the same number??
    I have a fairly new 5S iPhone. I would like to add a "iPhone 6" when available. Can I get it WITH THE SAME PHONE # ?

    Dual NAM is a different animal - that means having tow phone numbers on the same phone.  That's not allowed any longer, true.
    The OP is asking about having the same number on two devices - and Elector gave a solution.  Just move the SIM from phone to phone, depending on which one you want to use at any given time.  You cannot use the same number on two devices simultaneously.

  • Can you have two iPods on the same account

    I have an Itouch and an old classic that I want to load different music on.  Can I have two ipods on the same account?  Thanks

    I have a iMac, MB Pro, iPad 1, iPad 2, iPad Mini, iPod 4th all on the same iTunes account. Is that what you mean?

  • Can you have 2 ipods on the same accounts with different play list?

    Can I have 2 ipods on the same accounts with different plalists?

    Sure.  Each iPod is identified in iTunes with its own name and you configure each one as you wish:

  • Can we have multiple Podcasts with the same Mac Account?

    Hi all,
    Can we have multiple Podcasts with the same Mac Account?
    For example, I have a single .MAC account and create a website with multiple Podcast pages...or within iWeb I create multiple sites, and each has a podcast.
    Is there a problem?
    Thks
    Leo

    Its not possible for the same development object. Only 1 person can access an object at a time and if mutiple users modify an object new TASKs are created under the same TRANSPORT.
    Only after releasing the tr you can create a new tr on the same object.
    Message was edited by:
            Abhishek Jolly

  • HT1766 can you have multiple iPhones in the same iTunes account without overwriting each phones content?

    Can you have multiple iPhones in the same iTunes account without overwriting each phones content?

    Hi sandexpress,
    As Ocean20 indicates, you want to make sure that you have automatic syncing turned off. In iTunes Preferences under Devices, make sure you have "Prevent iPods, iPhones, and iPads from syncing automatically" checked. Then connect each iPhone, and make sure that "Manually Manage Music and Videos" is checked on the Info page for each of them. Then go into each page for each device, and select what you want to sync to that particular device. (you would do this one device at a time - complete the steps for one of the phones, then connect the next one and do the same thing).
    With this kind of setup, you can modify what will sync at any given time for a particular device once you have connected it to iTunes, but before you click on the Sync button at the bottom of the screen. If you want to change some sync options on a particular device, you would just go into the page you wanted to change (Music, Photos, Apps, etc.), make your changes, and then Sync.
    If you do not have any changes, you can just hook up the phone and click on Sync.
    Hope this helps.
    Cheers,
    GB

  • Can i have 2 iPhones with the same apple id?

    can i have 2 iphones with the same apple id?

    Will it created any problems...
    if i download a paid apps on one of my iphone ,......will it be avaible on the second iphone (free)
    what if i dont wanna sharge the apps & game, thanks.....

  • Can you have multiple databases on the same LUN in Exchange 2010?

    I'm sure you can but is it possible with exchange 2010 to have multiple databases on the same LUN.  We currently have 8 DB's all writing to their own DB drive and separate log drive so 16 drives in total.  I need to spin a new DB up this week and
    wanted to double check this is possible.  I've looked online and cant find anything that I've seen before that says this is possible.
    Thanks.

    Hi,
    Yes, multiple databases could be placed on the same LUN, but it's not recommended.
    If you have 2 drives fail at the same time (it happens more than you think), then losing 100% of your DBs is a lot worse than losing one of them or some of them depending on where the failures are.
    Here is a similar thread for your reference:
    Multiple databases on the same LUN in Exchange 2010
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Can I have multiple hotspots on the same ALV grid?

    Hi,
    I have a simple ALV grid report with a hotspot.  I can't seem to find any examples or information on whether I can have 2 hotspots on the same ALV grid line.
    Is this possible and is there an example somewhere that I can look at?
    Thanks for your help!
    Andy

    Check the code below
      METHODS:set_hotspot_ebeln CHANGING pc_alv TYPE REF TO cl_salv_table
                                         pc_report TYPE REF TO lcl_report.
    *--Event Handlers for alv
        METHODS:on_link_click FOR EVENT link_click OF cl_salv_events_table
                              IMPORTING row column .
    METHOD set_hotspot_ebeln.
        DATA: lf_cols_tab TYPE REF TO cl_salv_columns_table,
              lf_col_tab  TYPE REF TO cl_salv_column_table.
        DATA: lf_events TYPE REF TO cl_salv_events_table.
        lf_cols_tab = pc_alv->get_columns( ).
        TRY.
            lf_col_tab ?= lf_cols_tab->get_column( 'VGBEL' ).
          CATCH cx_salv_not_found.
        ENDTRY.
        TRY.
            CALL METHOD lf_col_tab->set_cell_type
              EXPORTING
                value = if_salv_c_cell_type=>hotspot. "5-stands for hot spot
          CATCH cx_salv_data_error .
        ENDTRY.
        TRY.
            lf_col_tab ?= lf_cols_tab->get_column( 'VBELN' ).
          CATCH cx_salv_not_found.
        ENDTRY.
        TRY.
            CALL METHOD lf_col_tab->set_cell_type
              EXPORTING
                value = if_salv_c_cell_type=>hotspot. "5-stands for hot spot
          CATCH cx_salv_data_error .
        ENDTRY.
        lf_events = pc_alv->get_event( ).
    *--Set event handler for click on cell
        SET HANDLER lf_report->on_link_click FOR lf_events.
      ENDMETHOD.                    "set_hotspot_ebeln
      METHOD on_link_click.
        DATA:la_put TYPE type_put.
        READ TABLE lf_report->i_put INTO la_put INDEX row.
        CHECK sy-subrc = 0.
        if column = 'VGBEL'.
        SET PARAMETER ID 'BES' FIELD la_put-vgbel.
        CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
        elseif column = 'VBELN'
       "<----
       endif.
      ENDMETHOD.                    "on_link_click

  • Can we have multiple transports for the same object.

    Hi guys,
    Can we have multiple transports for same object in dev system. Can anyone tell me how can this be done.
    Thanks

    Its not possible for the same development object. Only 1 person can access an object at a time and if mutiple users modify an object new TASKs are created under the same TRANSPORT.
    Only after releasing the tr you can create a new tr on the same object.
    Message was edited by:
            Abhishek Jolly

  • Can we have multiple policies for the same gateway?

    Hi all,
    Is there a way in which we can have multiple policies for the default gateway?
    When I try adding a new gateway (which is not mentioned in the installer.properties file) and have policies, there is a 404 error.
    When I add another service to the same gateway, I get an error - that the service could not be added to default policy.
    Help me please...
    My need is as follows
    Want to have multiple policies, so that each of the web-service can be attached to same. The relation needs to be one-to-many. One policy can have multiple web-services.
    Thanks in advance...

    Its not possible for the same development object. Only 1 person can access an object at a time and if mutiple users modify an object new TASKs are created under the same TRANSPORT.
    Only after releasing the tr you can create a new tr on the same object.
    Message was edited by:
            Abhishek Jolly

  • How can I make different windows of the same application I have open remain on their respective desktops/spaces after reboot?

    Hi all,
    I use the same applications for work, entertainment and other personal activities, so it's impossible to simply assign different apps to different desktops/spaces. Thus, I have open windows of the same programs (Pages, TextEdit, Preview) arranged on several desktops. If I reboot my laptop, the windows are just crammed on Desktop 1. Can something be done about it?

    Barney,
    many thanks for your efforts and your time (preparing and posting the screenshot, answering to this question,...).
    Unfortunately, moving the focus to the next window only works with windows on the same desktop.
    btw, using a german keyboard layout and german language settings the shortcut is "cmd+<".
    I can switch with this shortcut between different windows of my Safari which reside on the same desktop, but I cannot swith between different safari windows distributed over several desktops.
    Thanks,
    equi    

  • Can you have two services on the same IP within the CFE?

    Hi,
    I am testing AccAD and have come across a situation where we have two HTTP SAP systems, one portal and one SRM, that have the same destination host, ie http://testapp. But a end user will access each system via the URL's http://testapp:9010 and http://testapp:9015.
    I can get AccAD to connect to both different apps by changing the DNS but inside one of the apps it will call the other using http://testapp:9010. so unless I change the internal config one app can not call the other.
    So what I would like AccAD to do is call app1 via http://testapp:9015 and the other via http://testapp:9010 where defined in AccAD the hostname testapp is the same IP address.
    Any clues and sorry if the problem explaination is confusing?
    Regards
    Brian Lane

    Hi Brian,
    I checked your question with the development team, and here's the response:
    If you define 2 service types under the same server then you will have delivered services on the same IP address.
    The only thing that you need to consider is that the 2 service types will have the different ports.
    Define one service type with port 9010 and another one with 9015.
    After this step, as usual, please add both service types to the server and define remote offices.
    On the CFE you can then do: netstat -ntl
    You will see the same IP address listening to 2 different ports.
    Hope this helps, best regards
    Jana Richter

  • Can you have multiple accounts on the same ipad2?

    Can my wife and I share the same iPad using two different accounts? If so, how?

    If you want differing accounts (like on a PC where you login to different user accounts) with different settings (like background image, icon settings per page, etc,) per account, then no.

Maybe you are looking for