Adobe Flex with xml creates cache problems....Need help

Hi,
I have created a qoute calculator in flex and the data's are pulled from an xml file, but when I upload these to server and when new xml file with new data is uploaded the application is showing with same old data.
Every time I have to change the xml and have to run the application one again to get new updated data.Following way I am connecting the xml file.
I have read in many places that by giving random time function will clear this cache so I tried and even that also not working for me.
Please, looking for an urgent help .
..................Code.................................
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete=" initComponent()"  layout="absolute" width="640" height="516" backgroundColor="#FFFFFF"  >
private function initComponent():void
                 var url:String = "data.xml?blabla="+new Date().milliseconds+";";
                var d:Date = new Date();
               xmlURL = url + "?" + Math.random();
               items.source=xmlURL;
<mx:XML id="items" source="data.xml" />
<mx:HTTPService id="xmlDataList" url="{xmlURL}" />   

try adding a datadump to your HTTPService; POST some irrelevant data, this will force the service to run without caching

Similar Messages

  • IE CACHE PROBLEM NEED HELP ASAP

    Every flex 2 app I make is being cached by IE! Works fine on
    FireFox, but everytime I run it in IE I need to dump my cache. Is
    there anything wrong.

    inlineblue and Tracy,
    Came across this post while looking for a solution for the
    cache problem. I am using Flex 2.0.1.
    Q1) From what I understood is adding a parameter to the
    AC_FL_RunContent("src", "MainMod?version1.1",...) call in the HTML
    wrapper will make sure the latest content is downloaded to the
    browser. Does this mean when the next time my MainMod.mxml is
    changed, I need to make this V1.2.
    Q2) I only saw one occurance of AC_FL_RunContent call in my
    wrapper where it is referring my SWF file. This is the only place I
    need to keep changing whenever the mxml file is changed?
    Q3) Looks like I have to change all Wrapper files (if I have
    multiple .mxml files in my project). Is there any we can automate
    this?
    Do you have a sample that I could take a look at to
    understand what needs to be changed to fix the issue?
    Appreciate your help.

  • Adobe Flex with RFC

    Hi all,
    Can anybody provide me with any document that involves integration of Adobe Flex with R/3 RFCs. I have tried SAP Integration woth Adobe Flex in form of Web Services, and it is working fine. Please help.
    Regards,
    Gita

    HI,
    U can try this code using Adobe Flex 2. BAPI_FLIGHT_GETLIST is used as example.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
         <mx:Script>
              <![CDATA[
                   import mx.rpc.events.ResultEvent;
                   import mx.rpc.events.FaultEvent;
                              import mx.controls.Alert;
              public function fault_getAll(event:FaultEvent):void
                        Alert.show(event.fault.faultString);
              public function result_getAll(event:ResultEvent):void
                   Alert.show(dsCol.toString());
              public function Test():void
                   ws.BAPI_FLIGHT_GETLIST.send();
              ]]>
         </mx:Script>
         <mx:XMLListCollection id="dsCol" source="{ws.BAPI_FLIGHT_GETLIST.lastResult.FLIGHT_LIST.item}"/>
         <mx:WebService id="ws" useProxy="false" showBusyCursor="true"
              wsdl="http://XXX.XX.XX.XX:8080/sap/bc/soap/wsdl11?services=BAPI_FLIGHT_GETLIST&style=rpc_enc" >
    Here XXX.XX.XX.XX - is nothing but Ip address and 8080 is port Number.
              <mx:operation name="BAPI_FLIGHT_GETLIST" 
                   resultFormat="e4x" result="result_getAll(event)" fault="fault_getAll(event)" >
                   <mx:request>
                     <AIRLINE>AIR</AIRLINE>
                     <DESTINATION_FROM></DESTINATION_FROM>
                     <DESTINATION_TO></DESTINATION_TO>
                     <MAX_ROWS>10</MAX_ROWS>
                     <DATE_RANGE>
                      <item>
                          <SIGN>I</SIGN>
                          <OPTION>GT</OPTION>
                          <LOW>20000101</LOW>
                          <HIGH></HIGH>
                      </item>
                     </DATE_RANGE>
                     <EXTENSION_IN></EXTENSION_IN>
                     <FLIGHT_LIST></FLIGHT_LIST>
                     <EXTENSION_OUT></EXTENSION_OUT>
                     <RETURN></RETURN>
                   </mx:request>
              </mx:operation>                                   
    </mx:WebService>     
         <mx:Button x="116" y="146" label="Button" click="Test()"/>
         <mx:DataGrid x="52" y="176" width="601" height="135" dataProvider="">
              <mx:columns>
                   <mx:DataGridColumn headerText="AIRLINEID" dataField="AIRLINEID"/>
                   <mx:DataGridColumn headerText="AIRLINE" dataField="AIRLINE"/>
                   <mx:DataGridColumn headerText="CONNECTID" dataField="CONNECTID"/>
                   <mx:DataGridColumn headerText="FLIGHTDATE" dataField="FLIGHTDATE"/>               
              </mx:columns>
         </mx:DataGrid>
    </mx:Application>

  • Integration of Adobe Flex with SAP Web Dynpro ABAP

    I am new to adobe flex development. i am following a tutorial prepared by
    Mr. Karthikeyan Venkatesan (Infosys Technologies Limited) Integration of Adobe Flex with SAP Web Dynpro ABAP-for ABAPers
    He used flex 3 to develop the flex application. i am using flex 4 downloaded from adobe(At a time Build release I used low version only 3.5). I followed all the steps. At a time of Run the data was not came.
    How to fetch the data?
    Please Guide how to proceed.

    Hi Laxmikanth,
    For Adebo Flex help..
    Please go through Thomas tutorial..
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163&overridelayout=true
    and ...
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480?quicklink=index&overridelayout=true
    Hope it might helps you
    Thanks,
    Kris.

  • How do you overlap PDF's and finish with one PDF file? Need help ASAP

    how do you overlap PDF's and finish with one PDF file?
    Need help ASAP

    I'm not sure if you can do that with CreatePDF.  Try it; you got one free use when you sign up with Acrobat.com
    If not, you will have to use Adobe Acrobat; there is a full-use 30 days trial.

  • Hello!i have problem to insttal potoshop cs6 this is,we've encountered the following issues.installer failed to initialize.this could be due to a missing file.please download adobe support advisor to detected the problem.please,help me

    this is,we've encountered the following issues.
    installer failed to initialize.this could be due to a missing file.please download adobe support advisor to detected the problem.
    please,help me!

    Hi there Mylenium, is there any way you can help me? My cs6 is doing all kinds weird things lately. The liquifying too stopped working completely, when I try to work with the actions, it starts flickering and changing opacity in color by itself. It starts flickering and is completely out of whack! I tried uninstalling and reinstalling and still no luck. I tried getting in touch with adobe and no luck with that neither! Is there anyway you might be able to help?

  • I just bought my MacBook Pro 13" and I tried to install an anti virus but then it went into a grey folder with a question mark I need help with restoring the iOS please

    I need help taking out the grey folder with the question mark and I've try everything except the CD thing because my MacBook didn't come with one so I really need help please

    What anti-virus software did you install? Although there's a lot of bad anti-virus software out there, no anti-virus software should cause such a problem. A gray screen with a flashing question mark on a folder means that no bootable system could be found, which means that the system was badly damaged or corrupt. Even installing bad software would not normally cause that, so either there was something badly wrong with the system already or the anti-virus software you tried to install was really, really bad!
    As mende1 says, you need to reinstall the system at this point. After your system is back up and running, read my Mac Malware Guide. If, after reading that, you want anti-virus software, use one of the programms recommended in that guide.

  • I Have An Iphone 4s And When I Listen To Music With My HeadPhones I Cant Lower The Volmume of The Music Beacuse Then It Will Have No Sound I Can Only Listen To The Music With The Volume Loud I Need Help What Can I Do ?

    I Have An Iphone 4s And When I Listen To Music With My HeadPhones I Cant Lower The Volmume of The Music Beacuse Then It Will Have No Sound I Can Only Listen To The Music With The Volume Loud I Need Help What Can I Do ?

    Hi Yendy14,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    Troubleshooting iPhone, iPad, and iPod touch accessories
    http://support.apple.com/kb/TS2634
    Cheers,
    - Judy

  • Adobe Form with XML interface cannot retrieve all data from SAP

    hi all
    I want to use the Adobe forms for the real estate module.
    I had seen that adobe forms can have an interface with XML input and output as parameter.
    In the interface type only the /DOCPARAMS an the DOCXML are INPUT parameters which are available.
    No other INPUT parameter can be added to it.
    When i try to retrieve the data in real estate there are some default function modules for retrieving the data from real estate.
    But this function modules also are going to find out if the form which asks for this information has a IMPORT parameter
    for the required data. For example, the SENDER data is retrieved, but before the default function module retrieve this data
    the function module checks if the form has a INPUT parameter SENDER.
    And that is not the case. And i cannot create the SENDER parameter to it, because this INTERFACE type does not allow it.
    Does anybody know a solution herefore?
    kind regards,
    Anton Pierhagen

    Hi Bhaskar
    It is a long time ago, almost 2 years.
    I created my own custom development for calling the Adobe form. This custom development uses the correct function module interface with the IMPORT XML.
    The XML which i sent as IMPORT PARAMETER to the form is also created by own custom development. Via the default XML class of SAP
    So that was my solution
    Kind regards,
    Anton Pierhagen

  • Adobe Form with XML interface

    hi all
    I want to use the Adobe forms for the real estate module.
    I had seen that adobe forms can have an interface with XML input and output as parameter.
    In the interface type only the /DOCPARAMS an the DOCXML are  INPUT parameters which are available.
    No other INPUT parameter can be added to it.
    When i try to retrieve the data in real estate there are some default function modules for retrieving the  data from real estate.
    But this function modules also are going to find out if the form which asks for this information has a IMPORT parameter
    for the required data. For example, the SENDER data is retrieved, but before the default function module retrieve this data
    the function module checks if the form has a INPUT parameter SENDER.
    And that is not the case. And i cannot create the SENDER parameter to it, because this INTERFACE type does not allow it.
    Does anybody know a solution herefore?
    kind regards,
    Anton Pierhagen

    I've found a own workaround for this problem

  • Adobe flex with floor plan manage

    Hi,
    Can we be integrate ABAP floor plan manager with adobe flex ?
    Many artical says that ABAP web dynpro can be integrate with adobe flex. However I could not found any document related to floorplan manager with adobe flex.
    Thanks,
    Jennifer.

    Hi Jennifer,
    FPM in its essence consists of WD ABAP coding. Therefore as a general rule, what is possible with WD ABAP is also possible with FPM. You can try this: Create a freestyle UIBB and there inside this integrate your Flex stuff in the way as you would do with freestyle WD ABAP. Then when you're finished you can make use of that UIBB in FPM where ever you would like to.
    Regards,
    Ulrich

  • Adobe Flex with Java webdynpro

    Hello,
    I like to use Adobe flex applications for my webdynpro java projects which then later I can use in portals. I need some learning materials for that. I was looking from google but I haven't found many sources. if you guys can help me out then It would be great.
    Regards,
    NK

    Hi Bala,
    Adobe Flex is not similar to Java Webdynpro. You can get more information from the Adobe Webpage and also a trial version. Adobe Flex is part of Visual Composer Compiler capabilities. At SAP TechEd in Munich was an interessting demo of rendering webdynpro with Flex during the Demo Jam. For more information you can download the Demo Jam Video <a href="http://www.sapteched.com/emea/activities/videos/DemoJam.wmv">here.</a>
    Best Regards,
    Marcel

  • Adobe Acrobat install not creating cached files

    Greetings,
    We have used the Customization Wizard to create the Adobe Acrobat Pro (8.x and XI/11.0.2)
    We DID select the option to:
    Enable caching of installer files on local hard drive
    The problem is that the cache directory that Adobe says it should create/populate, does not happen.
    The Adobe docs state:
    The files are installed to Program Files\Adobe\<product name and version> unless a different location is selected in Personalization Options. By default, all of the other installer files are also cached to the same location. If you change the installation path, then the location of the setup files will change accordingly.
    We checked there and there's no cached items created.
    Obviously this causes issues when doing a repair.
    So it looks for like the AcroStan.msi file which doesn't exist anywhere on the pc.

    I'm not sure what you mean.
    You mean grab a copy of the CD or something and try a manual install?

  • XML in java..need help with it

    hi, ive been programming in java for quite some time now. now im learning how to integrate it with XML. I am learning XML right now. I am trying to deveop a program, using java and XML which can store contacts of a few person(using XML) and then retrieve the contact of a certain person when asked (using java).
    I have defined the scema in a file name: contactlist-schema
    and the corrsponding XML file is named: contactlist.xml
    I have created a java program to traverse the contactlist.xml file (document = builder.parse(new File("contactlist.xml")))
    it compiles successfully, but when I try to execute it, it gives me this msg:
    Parse error: Element type "contactlist" is not declared.
    Can somebody pleeeaaase help me with this problem

    i am using DOM, the schema is:
    <?xml version = "1.0"?>
    <!DOCTYPE contactlist-schema>
    <Schema xmlns = "urn:schemas-microsoft-com:xml-data"
         xmlns:dt = "urn:schemas-microsoft-com:datatypes">
    <ElementType name = "contactlist" model = "closed">
         <element type = "contact" minOccurs = "0" maxOccurs = "*"/>
    </ElementType>
    <ElementType name = "contact" model = "closed">
         <element type = "name" minOccurs = "0" maxOccurs = "*"/>
    </ElementType>
    <ElementType name = "name" model = "closed">
         <AttributeType name = "tel" dt:type = "string"/>
         <attribute type = "tel"/>
         <AttributeType name = "email" dt:type = "string"/>
         <attribute type = "email"/>
    </ElementType>
    </Schema>
    the corresponding xml file is:
    <?xml version = "1.0"?>
    <!DOCTYPE contactlist>
    <contactlist xmlns = "x-schema:contactlist-schema.xml">
         <contact>
              <name>
                   Sarah
                   <tel> 0161-786-8611 </tel>
                   <email> [email protected] </email>
              </name>
         </contact>
         <contact>
              <name>
                   Anne
                   <tel> 0781-787-8956 </tel>
                   <email> [email protected] </email>
              </name>
         </contact>
         <contact>
              <name>
                   Zac
                   <tel> 0795-123-4567 </tel>
                   <email> [email protected] </email>
              </name>
         </contact>
         <contact>
              <name>
                   Lena
                   <tel> 0414-456-1234 </tel>
                   <email> [email protected] </email>
              </name>
         </contact>
         <contact>
              <name>
                   Lin
                   <tel> 0786-025-6974 </tel>
                   <email> [email protected] </email>
              </name>
         </contact>
         <contact>
              <name>
                   Emma
                   <tel> 0161-881-1234 </tel>
                   <email> [email protected] </email>
              </name>
         </contact>
    </contactlist>

  • Serious problem with my 3720 classic! NEED HELP!

    Hi! Today I switched on my pnone and after a while it rebooted. After that reboot, its rebooting after a couple o minutes again and again and again. Yesterday it was just fine! i have about 8000+ messages, but I cant back them up with ovi suite or nokia pc suite (older) because its rebooting constantly. What to do? I did a soft factory settings reset, but no effect...

    No, I have not upgraded my phone. My phone is as it was the first ime i bought it. The weird is that the day before the problems it was just fine, then I switched it of, and the next day it was malfunctioning.
    If I dont create any new playlist or try to delete any folder (files I can) th phone works fine, unless  there are things that I haven't go to yet and might cause the phone to malfunction again..
    If I try to create a playlist, it reboots constatly until I make a hard reset.
    ""Updating / Re-installing the firmware may help.. but there is a danger of phone re-booting during the process.. that may prevent a successful update and create more problem for you..""
    What do you mean? When I tried the first time the hard reset, it failed, and I had to do it 2 more times untill it was successful. Do you mean this,or a firmware update? (I didnt made any firmware update)
    If I make a firmware update, is it going to solve the problem??

Maybe you are looking for

  • Uploading Files to DMP for local storage (Failover ) in DMM/DMP 5.2 is not working

    Dear All, I face a problem in making failover on the DMP , I did the following: 1- make the design and save the presentation the needed to be failover. 2- from Advanced Tasks ---> File transfer to DMP or Server and select the presentation. 3- in the

  • Crystal report layout printing issue

    Hi Experts I have a bit of an urgent issue which I can't seem to solve. I have created a print spec using crystal reports 2008 sp3.  I am trying to print it using an epsom dot matrix printer which is brand new. When I print from crystal reports itsel

  • How to disable Purchase Order Print Preview function in the Portal

    We wish to expose some purchase order functions in our SAP Portal 7.0. The problem is that when we run any of the purchase order transactions as SAPGUI for HTML, the Print Preview function displays the full purchase order. This means that any user wh

  • Aging Analysis

    Hi, I want to do Aging Analysis in Payables by currency after revaluation. The report available after revaluation gives invoice details etc but in functional currency. I want by Currency and With Aging Is any report available in 11 or 11i. Thanks & R

  • Oracle DB at the receiver end

    Hi All, I have a scenario to insert/update/create product details into oracle backend from SAP. If the product is not available, the product should be created along with update of different details into Oracle DB tables. Does anyone worked on this ty