How to update service?

Hello, I think the new Data/Services feature  in Flex 4 is great!
Is there a way to automatically update a service? For instance, Flex can automatically create a service to connect to a database, but if I edit the mysql table structure then I have to delete the service and create a new one..
Thanks!

This is weak type on the server side.
>>the valueObject does not update<<
You will have to use "configure return type" the right click menu option in the data/services panel, to update the data type.
>>How to create strong type on the server side?<<
If you want to have strong type on the server side, you will have to create a Employee.php which represents the Employee data structure and you will have to start returning that type in your php methods.
You can continue with the configure return type option, so that you don't have to worry too much on the server side.
Thanks
-Sunil

Similar Messages

  • Help-urgent - how to update service pack and apply patches for ADS

    Dear all,
       I've just download the sp 11 and the patch ,how should i update my ADS? I've try to search the forum but to no avail. Pls advise,thanks.
    Regards,
    Joan

    Hi Joan,
    To deploy an SCA or SDA, proceed as follows:
          1. Make sure you have downloaded the SCA or SDA from SAP Service Marketplace.
          2. Start the SDM GUI. To do this, execute the following file:
                a) Windows: RemoteGui.bat in folder \usr\sap\<SID>\<instance>\SDM\program
                b) Unix: RemoteGui.sh in folder /usr/sap/<SID>/<instance>/SDM/program
          3. The SDM GUI screen appears.
          Note: With SAP Web Application Server 6.30 the SDM server is started whenever you start the SAP system. To check whether the SDM server is running, use the tools SAP Management Console (Windows) or jcmon (UNIX).
          4. Choose "SDM Gui -> Login" or the icon "Connect to SDM Server". The dialog box "Enter Login Information for SDM Server" appears.
          5. Enter the following information:
                a) Password
                The initial password is "sdm" (without quotes).
                b) User description (optional)
                c) Hostname
                d) Port
                With instance number 00, the default port number is 50018. If your instance number is different from 00, the port number changes to
                Port = 50018 + 100 x <instance number>.
                You have to calculate the new port number and enter it manually.
          6. Choose "Login". The SDM GUI appears.
          7. Choose tab "Deployment".
          8. Choose "Add SCA/SDA to Deployment List (Local File Browser)". A file selection screen appears.
          9. Select the SCA or SDA file you would like to deploy and choose "Next" to read the information on the following screens.
          10. Choose "Next" until the "Start" button appears.
          11. Choose "Start". After the SCA or SDA has been completely deployed, a success message appears.
          12. Choose "Confirm" to return to the SDM GUI.
          13. When you have finished work, log out from the SDM server. Choose "Deployment -> Logout" or the icon "Disconnect from SDM server" for this.
    If this answers your question, please mark the question accordingly and do award points if helpful.
    Regards,
    Arafat

  • How to update  Service Contract using BAPI/FM for ME31K

    Hi ,
    I am using BAPI BAPI_CONTRACT_CREATE to create contracts.
    It works fine, the only problem i am facing is while updating line item with item category "D' its simply skips the item category and create a item. The item category is blank when i see in transaction ME33K.
    When i create it using ME31K transaction with line item item category type  "D' its ask me to fill the services also for that line item.
    My question is is there any BAPI which i can use to update the Services for item line with item category  D.
    Thanks
    Amar

    Hi Amar,
    Not sure if this would help you but you can consider writing different logic (probably a BDC) for item category 'D', and use BAPI for all other cases (if 'D' is the only exception).
    BAPI documentaion says:
    *External services (planned and unplanned services) are not supported.
    Creation of configurations is not supported*
    Regards,
    Shyam

  • How to update the service order status at meter level

    Hi
    I need to fetch one open service order and update the retrieved open service order status at meter level.
    I am trying to do it through BAPI_ALM_ORDER_MAITAIN but i am not able to do it.
    Please let  me know the process how to update.
    Thanks & Regards
    Pallavi

    Hi,
    Check if this code works ...
    REPORT zbapi .
    DATA t_meth TYPE TABLE OF bapi_alm_order_method.
    **Internal table for Operation (BAPI)
    DATA t_oper TYPE TABLE OF bapi_alm_order_operation.
    DATA t_comp TYPE TABLE OF bapi_alm_order_component.
    **Internal Table for Opertaions UP (BAPI)
    DATA t_comp_up TYPE TABLE OF bapi_alm_order_component_up.
    **Internal table for BAPI Return code
    DATA t_ret TYPE TABLE OF bapiret2.
    ***WORK AREA DECLARATIONS
    **Work Area for Hedaer
    DATA:wa_header TYPE caufvdb,
    wa_meth TYPE bapi_alm_order_method,
    wa_op TYPE afvgb,
    wa_comp TYPE resbb,
    wa_comp1 TYPE bapi_alm_order_component,
    wa_comp_up TYPE bapi_alm_order_component_up,
    wa_oper TYPE bapi_alm_order_operation.
    PARAMETERS:TEST.
    ****Fill Method Internal table
    CLEAR wa_meth.
    wa_meth-method = 'SAVE'.
    APPEND wa_meth TO t_meth.
    wa_meth-refnumber = sy-tabix.
    wa_meth-objecttype = 'COMPONENT'.
    wa_meth-method = 'CHANGE'.
    wa_meth-objectkey(12) = '000004000104'.
    wa_meth-objectkey+12(4) = '0010'.
    wa_meth-objectkey+16(4) = '0010'.
    APPEND wa_meth TO t_meth.
    **Component Internal table
    wa_comp1-reserv_no = '0000001072'.
    wa_comp1-res_item = '0001'.
    wa_comp1-activity = '0010'.
    wa_comp1-item_number = '0010'.
    wa_comp1-special_stock = 'B'.
    wa_comp1-requirement_quantity = '15'.
    wa_comp1-stge_loc = '0001'.
    wa_comp1-backflush = 'X'.
    APPEND wa_comp1 TO t_comp.
    **Component Update Internal table
    wa_comp_up-special_stock = 'X'.
    wa_comp_up-backflush = 'X'.
    wa_comp_up-requirement_quantity = 'X'.
    wa_comp_up-stge_loc = 'X'.
    APPEND wa_comp_up TO t_comp_up.
    **Call Bapi
    BREAK-POINT.
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
    TABLES
    it_methods = t_meth
    it_component = t_comp
    it_component_up = t_comp_up
    return = t_ret.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.   <--- Hope u r using this too
    regards,
    Naveen
    Edited by: Naveen Deva on Apr 16, 2009 9:12 AM

  • How to update web service proxy in JDeveloper 10.1.3.0

    hi all
    I want to ask how to update web service proxy in JDeveloper 10.1.3.0?

    What do you mean update?
    You can go into the source code and update whatever you want.
    If you mean that the WS spec has changed - then you can either change the proxy manually, or create another proxy.

  • How can I use the update service

    Hello experts,
    could you please explain me how to use the update service from a business object in the VC. I have created a object which contains following attributes:
    - key(ID)
    - created by(UserID)
    - creted at(Datetime)
    - modifiedAt(Datetime)
    - modifiedBy(UsedID)
    - argument(string)                 Kardinalität: 1...1
    I have developed an application service which returns the whole entries of the table.
    Now I want to select the row and update the attribute argument.
    (For example the value is 24, and now I want to change it to 25. )
    But if I test the service UPDATE in the Service Browser it cames always the error message that a value in the mandatory field argument is missing.
    Any ideas?????? I am using the NWDS SP1.
    Many thanks!!!
    Regards Marco

    Hi Marco,
    In CAF you can do it by first using the update method to retrieve the BO instance and set the new value.
    Regards,
    Srinivasan Subbiah

  • How to update the PHP Class Service back in Flash Builder 4

    I'm not sure if my post title makes any sense or not but let me explain.  I've been working on an application in Flash Builder 4 using the ZendFramework and PHP services and everything is work great. the problem I have is after I make changes to my services PHP class (edit php file that has my functions in it), how to I updated those functions in the Flash builder application?
    For example, I needed to pass a second object into one of my function in my PHP class and after I edited the file and saved it, I don't see the changes in the Flash builder 4 application. Is there a button I can run to update the PHP class back in Flash Builder?
    Thanks,
    John Baranowski

    How do you use Flash Builder to regenerate the code for the same PHP service I connected to prior? When I first connected to the PHP service Flash Builder automatically built a package with all kinds of actionscript functions in it. I added a function to my PHP Class file server side and I need help on how to update the package back in Flex to see my new function. Can anyone help me??
    -John

  • How to update Biztalk consumed WCF service in biztalk

    Hello All,
    I have consumed WCF service in BizTalk using BizTalk WCF Service Consuming Wizard by -> ADD -> Add Generated Item option.
    This created few Schema files and one orchestration.
    Now the other team made changes in datatype on two field from int to string.
    how to update this BizTalk Consumed WCF service to reflect these changes ?
    Thanks,
    Nilesh
    Thanks and Regards, Nilesh Thakur.

    Hold on!
    Are you sure they only changed the data type on two fields? If so, all you need to do is change the type in the schemas you already have. For such a small change, you don't need to regenerate.
    Also, if that's the only change, they type setting on two fields, you should not get any Map or Orchestration Errors. Well, you might get an illegal cast error of one of those fields is Distinguished and you doing an assignment in an Expression Shape.
    Also, keep in mind, the Schemas are the only really useful things created by the Wizard, I have never used the Orchestration, it's just a Port Type definition.  So, you can always generate into a new Project and compare/replace the Schema.  So
    long as you keep the .Net Type Name, you should be ok.
    If you are still getting Map and Orchestration errors, then they changed much more than two field types.  If you post the actual errors, we can provide some guidance.

  • Any suggestion on how to stop "update service provider"

    Every time I connect my iPhone to my iMac computer, iTunes keeps asking to update my service provider. I keep updating the settings, but it keeps asking me to update service provider every time I connect. How do I stop this from happening?

    One of the most common causes of camera delay that I've seen is having too many pictures stored on your phone.

  • HT6172 Server Update v3.1.1: How does one get past the Updating Services screen: "The server is being updated on this Mac"?

    Upon opening Server after the update has installed, it simply hangs for hours on end (more than 5 hours) on the above screen, with the progress bar showing about 1/3 complete. Please help!

    -update-
    Did not yet completely reset the server. (It's not mine… it's from a customer so completely resetting the server is really the last thing he wants to be done…)
    but I've digged deeper into the problem and the logs.
    Test: renaming the .plist files mentioned in the arcticle about resetting the server
    /Library/Preferences/com.apple.serverd.plist > /Library/Preferences/com.apple.serverd-old.plist
    /Library/Preferences/com.apple.servermgrd.plist > /Library/Preferences/com.apple.servermgrd-old.plist
    This triggers also a 'new setup' from the server instead of 'updating services'.
    And even now the configuration of the server halted on the same place in the logs!
    It's always in the part with 70_calendarcommonextra.py
    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/CommonE xtras/70_calendarcommonextra.py
    2014-04-16 11:36:42+0100 Requesting postgres start via /Applications/Server.app/Contents/ServerRoot/usr/bin/xpg_ctl
    2014-04-16 11:36:42+0100 received postgres stdout '2014-04-16 11:36:42 XPG.32230:  Executing pg_ctl [\'/Applications/Server.app/Contents/ServerRoot/usr/bin/pg_ctl\', \'-p\', \'/Applications/Server.app/Contents/ServerRoot/usr/bin/xpostgres\', \'start\', \'-l\', \'/var/log/caldavd/xpg_ctl.log\', \'-w\', \'-o\', "-c listen_addresses=\'\' -k \'/var/run/caldavd/PostgresSocket\' -c shared_buffers=105 -c max_connections=70 -c standard_conforming_strings=on -c unix_socket_permissions=0770 -c log_lock_waits=TRUE -c deadlock_timeout=10 -c log_line_prefix=\'%m [%p] \' -c logging_collector=on -c log_truncate_on_rotation=on -c log_directory=/var/log/caldavd/postgresql -c log_filename=postgresql_%w.log -c log_rotation_age=1440"]\n2014-04-16 11:36:42 XPG.32230:  Spawning... [\'/Applications/Server.app/Contents/ServerRoot/usr/bin/pg_ctl\', \'-p\', \'/Applications/Server.app/Contents/ServerRoot/usr/bin/xpostgres\', \'start\', \'-l\', \'/var/log/caldavd/xpg_ctl.log\', \'-w\', \'-o\', "-c listen_addresses=\'\' -k \'/var/run/caldavd/PostgresSocket\' -c shared_buffers=105 -c max_connections=70 -c standard_conforming_strings=on -c unix_socket_permissions=0770 -c log_lock_waits=TRUE -c deadlock_timeout=10 -c log_line_prefix=\'%m [%p] \' -c logging_collector=on -c log_truncate_on_rotation=on -c log_directory=/var/log/caldavd/postgresql -c log_filename=postgresql_%w.log -c log_rotation_age=1440"]\n'
    2014-04-16 11:36:42+0100 received postgres stdout 'waiting for server to start....'
    2014-04-16 11:36:43+0100 received postgres stdout '.'
    2014-04-16 11:36:44+0100 received postgres stdout '.'
    2014-04-16 11:36:45+0100 received postgres stdout '.'
    2014-04-16 11:36:46+0100 received postgres stdout '.'
    2014-04-16 11:36:47+0100 received postgres stderr pg_ctl: could not start server
    and then some lines below
    calendarcommonextra: Apr 16 11:36:48 Service was not previous enabled
    and the it stops, and keeps waiting forever…
    Then I've tried to expermiment a little bit in the /Library/Server folder with renaming some folder to see if thsi could solve the problem. (Because the folders are getting recreated with default settings and data). So I've renamed "Calendar and Contacts" and tested: No success. I've renamed "PostgreSQL" and tested: No success. …
    When I read some articles about these problems most of the time the problem seems to be related to some 3th party from specific software is installed, like when someone installed another version of Python instead of using Apple's. The upgrade process does not seem to like this and freezes.
    A quick look in the Downloads folder of this specific server showed an installer of pgAdmin, used to configre/control PostGreSQL databases… so -in this case- this was installed by another external company to do somehting on that server which I don't know what it does .
    But for now, I've pinpointed the problem. The original PostGreS of OS X Server on this server is tampered/overwritten by another PostGreSQL and this will be the reason why the update does not work.
    I have to phone that other company next week to see if they are aware of this issue, and hopefully they know how to fix this.
    bottom line
    reading the ServerSetup.log is the first thing to do!

  • How to update my new phone number after my U-verse phone service is disconnected?

    How to update my new phone number for forwarding  after my U-verse phone service is cancelled/ disconnected?

    I did call them. They said once the phone service is disconnected, there's nothing they can do about it. The thing is that when I called them to cancel the U-verse service yesterday, they did not offer me the opportunity to update the new phone #. This is so frustrating!

  • How to download older updates in Software Update Service?

    Hello,
    In our company, we have a mixture of Mac OS X 10.6.2, 10.6.3 and 10.6.4 servers. Due to proxy-restrictions, only one of these servers is able to download updates directly from Apple (this one has 10.6.4 installed). We have set up the Software Update Service on this server to distribute the updates to all other servers and at first sight, it seemed to work fine.
    However, we noticed that our Software Update Server is only downloading the most recent versions of all software updates. e.g. Security Update 2010-05 and Security Update 2009-05 are available, but not Security Updates 2009-01 up to 2009-04. They don't even show up in the list of available updates. Since Security Update 2009-05 requires at least 10.6.4 (but Security Update 2010-04 can still be installed on 10.6.2) we're unable to install any recent security update on our 10.6.2-servers.
    Is there a way to configure Software Update Service to download older Security Updates? Running a centralized update server offers little benefit to us if it doesn't allow to install security updates on older Mac OS X releases... Updating all servers to 10.6.4 is not an option, as the software running on the servers is not always supported on the very latest Mac OS X releases.
    Thanks,
    Filip

    fvvjqe3 wrote:
    Thanks for the suggestion. I just tried the following:
    - stop Software Update Service
    - remove /var/db/swupd/html and /etc/swupd to restore default settings
    - start SUS again
    - now both "Copy all updates from Apple" and "Delete outdated software updates" were unticked. That should be fine I suppose, as I don't want to download all the updates (e.g. we don't want printer drivers, Final Cut and so no), but only the ones we select. However, we still don't see e.g. Security Update 2010-04 in the list of available updates. Am I missing something here?
    2010-05 includes all the previous security updates, I cannot find any reference to a 2010-004 update for Snow Leopard, only for Leopard (10.5). There was a 2010-003 for Snow Leopard, Mac OS X 10.6.4 Update would also have included previous security updates. It looks like there was never a 2010-004 for Snow Leopard.

  • Adobe flash player update service 11.3 r300 has stopped working, what causes it and how do I fix it?

    I get this message once and a while: "adobe flash player update service 11.3 r300 has stopped working"  I have reenstalled the flash player but it came back.  any ideas?

    This may help.
    https://bugbase.adobe.com/index.cfm?event=bug&id=3225162
    Good luck,
    Keith

  • How To Disable Update Service Prompt

    Hello,
    I am deploying NI 488.2 onto multiple remote systems using silent installation.  The installation works well except that an NI Update Service prompt appears after restarting.  I can disable the prompt by unchecking the "periodic check..." check box in the NI Update Service settings.  However, I want to be able to "uncheck" this box during or immediately after the installation.  Is there a configuration file or registry entry that I can use to remotely disable the update service prompts?  Thank you for your help!!
    -Eric
    Solved!
    Go to Solution.

    Hi Steve, 
    I'm referring to the command line arguments used when automating installation of NI installers. KnowledgeBase 4GGGDQH0 has more explicit instructions for automating installation.
    If you're not automating installation, you can manually deselect the request to contact National Instruments for new notifications and updates in the installer dialog.
    LaRisa Mohr
    Staff Product Support Engineer - NI Update Service
    National Instruments R&D

  • Adobe Flash Player Update Service 11.3 r300 has encountered a problem and needs to close.  We are

    I get following message:
      Adobe® Flash® Player Update Service 11.3 r300 has encountered a problem and needs to close. We are sorry for the inconvenience.
    How can I solve this?

    People,
    Listen. This service is, has been and seemingly will be: FREE. So while emotions are running on the hot side of the guage, let's remember; it is FREE. Adobe owes no one anything. Now who's to blame, really? We, the people are to blame. Why? Because everyone has been ok with the fact that one company essentially designed and released a technology for streaming from the net. One company. And almost all of us are using this one company's technology to stream; for FREE.
    But now we are not ok with it when, after we are prompted to update, we have the issue of it not working? We all never saw the ridiculously high potential for this one company to screw things up, intentionally or otherwise? What the ramifications, that we are now experiencing, might be? Nah, we just took it for granted that we would continue to be served. Well the serve came, everyone. Mistake or otherwise.
    It's like this country [US], up until four-years ago. Everyone was either running around with snow shovels and hefty garbage bags to gather all the money they were making or sailing the seas of expectation and an, 'I am out there to get mine' attitude, and then the sh*t hits the fan and now people are complaining? About the very system until four years ago was spoon feeding them poolside with mai-tai's? While it was crushing everyone else in the known world?
    No doubt it seems incredulous that a multi-billion dollar company has an IT department that would include in an update, for their own software, that would be inconducive to working. No doubt. But keep in mind: we are all either using browsers by Apple or MS. Anything happens to these browsers, including a virus or anything else that threatens our use of them and...?
    So climb off the haughty, 'I deserve' crap and walk on the solid ground of trying to resolve this issue here at Adobe and around the net. If we were to band together, as the 99%, we could solve this, no problem. But then that holds true with resolving this fictitious economic downturn nonsense, that we solidly take for truth at face value, because our mainstream media says so. But no other species on this rock flying through space would know what the f*ck we were talking about.

Maybe you are looking for