Deployment problem mx:HTTPService

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

  1. #1

    Default Deployment problem mx:HTTPService

    We developed a Flex application in a local RAD/Websphere development
    environment where it works fine. However after we loaded to the QA
    environment the data referenced by the application appears to fail to be
    delivered to the swf program.

    The Flex application uses mx:HTTPService to identify the source of the data
    thusly....

    <mx:HTTPService
    id="esData"

    url="/ShareholderInformationPortal/ExecutiveSummary.do?requestFor=ResponseData&
    amp;xml=true"
    useProxy="false"/>

    This url will cause the application server to obtain data from a database, and
    send back an XML formatted page. It also happens to display the data in the
    log (for testing purposes). In both the local and QA environment we see the
    data in the log, so we know that it is being obtained from the database.
    However the data is only populated in the flex application that runs locally.

    There are a number of differences between the local and QA server. Most of
    these can be controlled and eliminated. Specifically, QA goes through a Apache
    server, but the Apache server can and has been bypassed by adjusting the URL.
    QA also tends to use a proxy, but this can and has been be turned off.

    The only real differences we can clearly establish is that QA runs on
    Websphere 6.1.0.13 and the local server runs 6.1.0.2. Another difference is
    that local testing has all been on a local LAN and the QA server is relatively
    "far away" on the corporate network.

    Does anyone have any ideas?

    Thanks.
    Chip

    Chip Thomas Guest

  2. Similar Questions and Discussions

    1. Problem with HTTPService
      Hi: I'm new to flex. When i use a mxml to write some infomation in the form and then post it into a JSP page.It seems that no fault ,it still...
    2. charset problem in HTTPService
      Hi Please help me! Ive and HTTPService with ?takdirnameKayitRequest2? id and itis submitted to jsp1.jsp with the parameter...
    3. webservice deployment problem
      I have a webservice built and tested on my dev machine (with .net sudio, xp). Everything seems working fine for me in this environment. Then I...
    4. Deployment problem
      i have a problem in deploying the application written in visual studio.net. the project works well on my localhost but when i upload it to the...
    5. [XPOST]Problem with deployment of ASP.NET app
      Hi Yoyo, Thank you for your email. 1. Please lauch VS.NET, and open your web setup project first. 2. In the solution explorer, right click the...
  3. #2

    Default Re: Deployment problem mx:HTTPService

    Sounds like you do not have a crossdomain policy installed on the server. Look it up. It's an easy fix if this is the problem.
    ab1301 Guest

  4. #3

    Default Re: Deployment problem mx:HTTPService

    My understanding was that you only needed a cross-domain policy if the resource
    you were accessing was different from that which the swf file was loaded. In
    this case they are the same domain. In fact they would have to be since the
    URL specified in the mx:HTTPService is not absolute, but relative.

    Is there something I have wrong?

    Chip Thomas 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