Issue with Adobe flex data.xml file not reachable from bsp behind firewall

Hi Gurus,
I have a problem with the <mx:HTTPService> tag the following is the actual tag,
<mx:HTTPService
id="Srv"
url="data.xml"
useProxy="false"
method="POST" result="resultHandler(event)"/>
When accessed locally I can see the data in the flex as the data.xml can be reached. when the same is accessed from internet behind firewall, the url is entirely different and the .swf file in the BSP page cannot access the data.xml. I cannot give the absolute url in the tag as the BSP page application is accessed differently in different servers. any help on this would be greatly appreciated
Thanks
Akbar

Sorry somehow I missed this question, an even easier way to do this is to allow your Flash movie to "script" ( this is the default behavior for a Flex application ) and then call some javascript to obtain exactly what the page URL is and then go from there to get your data:
import flash.external.ExternalInterface;
import mx.utils.URLUtil;
var
if(ExternalInterface.available){
     pageURL = ExternalInterface.call("window.location.href.toString");
// Do whatever you need with the URL here.
     var serverName:String = URLUtil.getServerNameWithPort(pageURL);
-d

Similar Messages

  • Oracle EPM 11.1.2 issue with system-jazn-data.xml & HIT entries

    Have been working on configuring Oracle EPM 11.1.2 and have one final issue from the diagnostic utility that I cannot figure out. Configuration sequence is as follows and each step is installed in its own database:
    Step 1 - Foundation/Shared Services/Calc Mgr/EPMA/Essbase to a single relational DB. I am not configuring the web server until the final step.
    Step 2 - Hyperion Performance Scorecard
    Step 3 - Planning
    Step 4 - Profitability
    Step 5 - RA and configure web server.
    I have used both SQL Server Express 2008 and Oracle DB 11g and get the same result.
    When I complete the install, restart all of the services, and run the diagnostic utility, I get a failure with foundation services indicating that the file "system-jazn-data.xml" cannot be found. No real help is provided with the error message and have found no help in the docs or on the web. I have searched the disk and the file seems to be in the proper place per the docs. I have done partial configs and do not get the error. I have then compared the system-jazn-data.xml file from the successful config to the system-jazn-data.xml file from the failed config they are identical. Both files seem to be bloated with tens of thousands of lines, most of them blank.
    I had reached a point where I thought the issue was related to Performance Scorecard and removed that step. I am now getting the error again.
    Anyone seeing this issue? Is it just a bogus message in the diagnostic report and can be ignored? Any other thoughts?
    Thanks
    EPMCloud

    Update - After going through the install many more times, I still do not know what the issue is, but I believe I have figured out how to resolve it. It appears that if you go back (after everything is installed and configured) and reconfigure the application server for Foundation services, the issue is corrected.
    I am running some final test now and if I discover something different, I will update the post.
    EPMCloud

  • UME LDAP Data - XML file not appearing

    Hi,
    I have configured the readonly ADS with DB for the user authentication. Now I want to restore back to the default datasource configuration (dataSourceConfiguration_database_only.xml). But in the dropdown box in the Configtool >> UME LDAP data under the "Directory Security" tab, I am not able see the config XML file for the DB only. I tried uploading the file, but its saying file already exists. After this I tried deleting the fils from the cluster_data\server\persistent\com.sap.security.core.ume.service and then uplaoded the XML file. Still this is not appearing in the List of Datasources available.
    Can you please let me know how shall I revert the Datasouce to DB only?
    Regards,
    Debasis

    Hi,
      Go to ConfigTool -> Global Server Configuration -> Services -> com.sap.security.core.ume.service.
    You can change the value of ume.persistence.data_source_configuration to dataSourceConfiguration_database_only.xml.
    Regards,
    Siva
    P.S: Award points if you find this useful.

  • Issues with removing Flex data binding to use Air 14

    Hello,
    I was wondering if anyone had optimal solution for replacing the Flex data binding classes in Air 14. I'm unable to merge the Flex and Air SDK together anymore so all the binding handlers need to be replaced. Has anyone else run into this issue yet? The automated binding generation and handling was the best feature of Flex and now that it's broken it creates huge issues for me.
    This is for Air desktop and mobile applications. They still build just no of the event handling works.
    Cheers,
    Pete

    I had forgotten I solved this myself last Dec. So basically from what I can tell the precompiler no longer does any [Bindable] conversions so you have to manually create the getters and setters for your model when this changes. I hope this helps anyone who may run into the same problem. There's literally no documentation on this any wheres.
    i.e.
    [Bindable]
    public var username : String;
    becomes
    private var _username : String;
            [Bindable(event="propertyChange")]
            public function get username():String
                return this._serviceState;
            public function set username(value:String):void
                var oldValue:Object = this._username;
                if (oldValue !== value)
                    this._username = value;
                    if (this.hasEventListener("propertyChange"))
                        this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "username", oldValue, value));
    You also need to make sure what ever class contains this property implements IEventDispatcher and has the following functions:
    IEventDispatcher implementation
    private var _bindingEventDispatcher:flash.events.EventDispatcher =
    new flash.events.EventDispatcher(flash.events.IEventDispatcher(this));
      * @inheritDoc
    public function addEventListener(type:String, listener:Function,
      useCapture:Boolean = false,
      priority:int = 0,
      weakRef:Boolean = false):void
    _bindingEventDispatcher.addEventListener(type, listener, useCapture,
    priority, weakRef);
      * @inheritDoc
    public function dispatchEvent(event:flash.events.Event):Boolean
    return _bindingEventDispatcher.dispatchEvent(event);
      * @inheritDoc
    public function hasEventListener(type:String):Boolean
    return _bindingEventDispatcher.hasEventListener(type);
      * @inheritDoc
    public function removeEventListener(type:String,
    listener:Function,
    useCapture:Boolean = false):void
    _bindingEventDispatcher.removeEventListener(type, listener, useCapture);
      * @inheritDoc
    public function willTrigger(type:String):Boolean
    return _bindingEventDispatcher.willTrigger(type);

  • Xml file not loading from different server

    Hi,
    I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from eckul.com" and will not actually pull in the number. Unfortunately I can't put the files on the same servers. Any help would be much appreciated, below are the links and the xml code I'm using followed by the action script. Cheers
    http://www.sainters.net/newsletters/2010/flash_test_membership2.html
    http://www.eckul.com/number.xml
    <?xml version="1.0"?>
    <inventors>
        <person>
            <name>892</name>
            </inventors>
    function loadXML(loaded) {
    if (loaded) {
    _root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
    _root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    name_txt.text = _root.inventor;
    comment_txt.text = _root.comments;
    } else {
      trace("file not loaded!");
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("http://www.eckul.com/number.xml");

    so, in frame 1 of your fla before you execute that cross-domain load method, use:
    System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
    where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    </cross-domain-policy>
    and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
    </cross-domain-policy>

  • Issue with Adobe flex redeployment

    when I redeploy Flex web application by copying all files from bin-release to IIS , after refreshing or re-open the browser(chrome/IE)the client side still using the previous files, I have to clear web browser history to get the latest files, my server side properties:
    windows server 2008 R2 standard
    64-bit operating system
    client side:
    windows 8/7
    64-bit operating system
    adobe flash builder 4.5 to export the release

    Sorry somehow I missed this question, an even easier way to do this is to allow your Flash movie to "script" ( this is the default behavior for a Flex application ) and then call some javascript to obtain exactly what the page URL is and then go from there to get your data:
    import flash.external.ExternalInterface;
    import mx.utils.URLUtil;
    var
    if(ExternalInterface.available){
         pageURL = ExternalInterface.call("window.location.href.toString");
    // Do whatever you need with the URL here.
         var serverName:String = URLUtil.getServerNameWithPort(pageURL);
    -d

  • Caching Issues with Adobe Flex and HTTPservice

    I faced a strange issue a coupla days back. In one of my Applications I had a Timer which would fire every 10 secs and would fetch data using a HTTPService call when fired. Surprisingly though, the initial results fetched by the HTTPservice was cached and would not reflect any changes when the data changed in the background, in IE, however the problem would not occur in Firefox !
    I sort of hacked the HTTPService url to add a random number at the end of the call to make it believe that it was calling a different URL every time and it worked. But I would definitely like to know the reason for this behavior

    Hi, Abesh. 
    I ran into the same thing, but it did not do this until recently!  I had recently installed Flex 3.0 beta, so maybe something changed with the compiler and/or the Flash VM in this regard.  Also, you can change the behavior of the Flex/Flash runtime by changing the caching settings in IE (check page for newer version on each visit).
    Rick

  • Security Issues with SMB affect MS Office files being slow from Network locations

    On our windows 7 machines our users our having slowness issue opening Office files from a network location
    This slowness only affect domain users.  Domain admins have no slowness issues.
    Make changes to trusted documents ro trusted location.  Trust network location has no affect.
    If I disable SMB them domain users can open Office files from network location with no slowness.
    Any ideas?

    Hi Navar,
    There has been a lot of discussions about the performance impact of SMB.
    When SMB is enabled, communications to and from Windows clients will experience a significant impact on performance, which affects both the clients and the server. This is kind of by design.
    More reference:
    http://technet.microsoft.com/en-us/library/jj852239(v=ws.10).aspx
    So if you have identified that SMB is causing the performance issues, you can disable SMB on any of your Windows clients that do not require protection.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Firefox 3.6.23 having freezing and rebooting issues with Adobe Flash Player 11 Plugin

    Firefox 3.6.23 is experiencing constant freezing and rebooting issues with Adobe Flash Player 11 Plugin, not sure if it is a conflict issue or not.
    Since the update there had been no reported issues till today when the blue screen came up on me, this issue prior to plug in 11 had occurred at least 6 times, this issue only happens on firefox.
    I do not wish to update since recent firefox browsers seem to have a lot of ongoing issues.

    Anyone able to help please?
    Thanks.

  • I am having issues with Sidebar files not appearing from within InDesign CS5.5. They show up fine from other Adobe applications. Using OS10.6.8.

    I am having issues with Sidebar files not appearing from within InDesign CS5.5. They show up fine from other Adobe applications. Using OS10.6.8.

    I would first of all trash the preference file for InDesign, make sure the application is closed then find the prefs in
    /Users/USER NAME/Library/Preferences/Adobe InDesign and just throw the entire folder away, it will generate a new one after you launch InDesign again.
    Now launch InDesign and see if the problems are resolved.
    If not I would repair your permissions on your hard drive wih disk utility, and if that fails then di-install InDesign and re-install that single application.
    Let me know if any of these suggestions work for you
    I will be checking my email although you might have to wait for a response as I will be taking a microlight flight over the Victoria Falls tomorrow. Yay can hardly wait.

  • I got the following for Adobe Reader that there was an issue with it. C:\Program Files (x86)\Adobe\Reader 11.0\Reader\NPSWF32.dll file How do I fix this? Thanks.

    How can I fix this problem. I got the following for Adobe Reader that there was an issue with it.  C:\Program Files (x86)\Adobe\Reader 11.0\Reader\NPSWF32.dll file

    Try uninstalling using http://labs.adobe.com/downloads/acrobatcleaner.html then reinstall.

  • Issue with Adobe Prox shutting down when combining files

    I am having an issue with Adobe.  I can open files no problem but when I click to combine multiple files into one pdf, as soon as I try to add the files, it automatically shuts down?

    Does it crash on adding specific files or just about any file (try a simple PDF file)

  • Web Data Scraping with Adobe Flex?

    Hi all.
    I need to get a lot of data coming from several websites.
    For now, I'm using Djuggler, but I'm wondering if something simular can be achieved with Adobe Flex?
    I have no experience with Adobe Flex in this field, so any remarks, comments, suggestions, tutorials, would be much much appreciated!
    I need to have good arguments to convince my boss to buy Adobe Flex :-)
    Thanks a lot in advance!!!
    Kind Regards
    Jurgen Landrie

    No.  Read-access won't help.  What is required is that there is a webservice available for your use.
    For example, you can go to Yahoo and view stock quotes via the Yahoo finance page.  And yes, you can screen-scrape it, but Yahoo also provides a webservice to access the quotes directly.  Flex is designed to make calls to those webservices and display the data.  IIRC, the terms and conditions of many websites discourage or disallow screen-scraping.

  • I am having a file moving issue with Adobe Reader XI

    I am having a file moving issue with Adobe Reader XI on a Windows 7 32bit system. When Adobe reader is set as the default program for PDF files moving files from one directory to another takes over a minute, regardless of the size of the file. When the default handler is set to another program, like Nuance or PDF Creator, this is instant. What in Adobe Reader is causing this and what can I do to speed up file moving? Any help will be greatly appreciated. Thank you.

    I am using Windows 7 home edition and using Internet Explorer 10
    The PDF's are online on websites that I am trying to open.  Both on the site as well as trying in a new window.
    Thank you
    Jeff

  • Anybody know what's up with the menu.xml.files not being available for DW after installing on a new comp?

    Anybody know what's up with the menu.xml.files not being available for DW after installing on a new comp?

    Usually that error can be cleared up by renaming the personal config folder. Turn on your OS's hidden files and then go to...
    C: > Users > your username > AppData > Roaming > Dreamweaver (version) > your language > configuration
    Rename the configuration folder configuration-old and start DW up. That should create an entirely new configuration folder and correct the menu.xml file.

Maybe you are looking for

  • Changing background in a JOptionPane

    This is probably very simple, but I'm having some trouble. I simply want to change the background of the message in my JOptionPane dialog box (and also change the font of the message, but I think I figured that one out). Here's the code.... JLabel la

  • Address Book is Not Working

    Suddenly Address Book is not working.  I can type addresses into Mail, but if I try to click on names directly from Address Book, nothing happens.  It has been working fine until today.  Contacts is fine; all addresses are there, but I wanted to ente

  • HT4889 can i migrate word files only from mac pro to iMac?

    how do i migrate microsoft word files from one mac to another?

  • LMS 3.2 Campuss Data Collection Does Not Start

              I Discovered devices correctly in CS>DCR . Initially there was no problem in running data collection in Campuss Manager. But now when i try to run data collection manually or by a scedule, it does not start. Although the notification appear

  • Hide Material desc field

    Hi Experts, I need your advise on whether i can disable/hide <b>Material desc field</b> for whichever TCode that having the field originally. Please comment. Thanks in advance.