Loading from XML file instead of webservice duringdevelopment?

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Loading from XML file instead of webservice duringdevelopment?

    Our situation is that we have a number of flex developers creating flex
    components which interact with webservices.

    We have created facade classes over the webservice invocations that inject
    things such as the currently authenticated users credentials, webservice
    endpoint urls, etc.

    During development, I would prefer for our facade classes to not actually
    invoke the webservice but rather just load xml locally so that the developer
    has a more simplified development experience.

    I am having trouble finding out how to load XML from disk (for example:
    c:\sourc repo\data.xml), is this possible? Since Flash runs in a sandbox I
    assume not, but what workarounds are there? Any other suggestions?

    Thanks for any help or suggestions,


    chrismorrisette Guest

  2. Similar Questions and Discussions

    1. Loading PDF file
      :confused; I've done what Contribute tells me to do about loading a PDF file from my computer. I get the file into the edit box but there is a...
    2. problem in loading webservice data in datagrid
      Hi all, i have some problem in my application.Anybody direct me?.When i tried to load my webservice data into datagrid control,it shows some error...
    3. Help loading .net webservice data into flex grid -surely this is simple???!!!
      Hi, Tanks for your answer, but im not seem the solution yet. I have dificult whith XML structure. My webservice return the XLM below. I need...
    4. How to clean file cache before loading PDF file ?
      Hi, I have one application in which we open PDF file inside it using the following api . BOOL ok = m_pAcroAVDoc->OpenInWindowEx (pszPathName,...
    5. Loading a Flash ComboBox from a CF WebService
      I have a table in my database that stores Institution Types. The records are basically made up of two columns; a unique ID and a Name, which I want...
  3. #2

    Default Re: Loading from XML file instead of webservice duringdevelopment?

    What about httpservice to load the xml?
    If you start the app from the debugger it should work (cause the debugger starts the app in a trusted sandbox ;) )

    best regards
    kcell
    kcell Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139