Local HTTPService?

We've built a little xml reader that uses an HTTPService to
read in an XML file and format it using e4x. The formatted data is
then displayed in a tree component and allows the reader to drill
down into the data. We'd like to build a demo for CD-ROM that
showcases the app, but HTTPServices doesn't seem to work from a
CD-ROM. Is there another type of service we should be using? Any
suggestions?
Retiari

Thanks for your reply.
It's a local xml file sitting in an assets folder. Here's the
code (typing from memory):
<mx:HTTPService id="e4xService"
url="assets/content.xml"
results="resultHandler(event)"
resultFormat="e4x"/>
The weirdest thing is that it works just fine when we launch
it in FlexBuilder 2, and when we launch the file from the explorer
inside the bin folder. When we copy all the files (not changing
their location of course) to another place on the hard drive none
of the xml data gets displayed. The paths in the xml file are all
relative as well.
Any clues as to what's going on?
Thanks
Retiari

Similar Messages

  • HTTPService works locally, but not on internet

    This local HTTPService call works:
    <s:HTTPService id="userRequest" url="http://127.0.0.1:8888/myproj/users.php" useProxy="false" method="POST">
    But when I attempt to use this:
    <s:HTTPService id="userRequest" url="http://mydomain.com/plt/test/users.php" useProxy="true" method="POST">
    On my internet hosting service, I get an error:
    [RPC Fault faultString="[MessagingError message='Destination 'DefaultHTTP' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']" faultCode="InvokeFailed" faultDetail="Couldn't establish a connection to 'DefaultHTTP'"]
    I have read some stuff about a config file, but do not really understand how it applies to my mobile project. Someone please help.

    That is a crossdomain issue because you have the site
    accessible via www or without.
    If you use
    http://www.sneeple.com/media_test/index.html
    to access that page it will work.
    Here's what to do to fix it:
    http://forums.flashgods.org/viewtopic.php?f=39&t=94

  • Error while issuing an httpService from a local swf

    We have a swf that  includes a Flex HTTPService call to check for
    tomcat status. This  call is resulting to below error:
    Error #2028:  Local-with-filesystem SWF filefile:///C:/......./click.swfcannot  access Internet URLhttp://localhost:8600/.../dummy.html."
    We are able to get  over this error by adding this click.swf as "Always Allow"
    at http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.ht ml#119065
    However, in  production environment it is not feasible to do this manual  step.
    We would want to  know if there is a way to let the flash player know that this is  trusted
    by modifying  any config file of Flash player or flex.
    Please suggest. Any  pointers on resolving this is greatly appreciated

    Make sure you use -use-network=true.  Or AIR.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • HttpService only works on local!?

    Hello, I need help.  I've built  a simple datagrid, it is populated by an httpservice who is called on creation complete.
    when I click the the run Main option, in Flex Builder, it runs no problem. When I upload the bin release, it does not populate.  Is there some setting I don't know about?
    ============
    CODE
    ============
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
                   backgroundColor="#0B0101" width="1080" height="612"
                   creationComplete="send_data()">
        <fx:Style source="Main.css"/>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
            <s:HTTPService id="userRequest" url="http://theServer.com/scripts/xml_output.php" useProxy="false" method="POST">
            </s:HTTPService>
        </fx:Declarations>
        <fx:Script>
            <![CDATA
                import mx.controls.Alert;
                private function send_data():void
                    userRequest.send();
                private function onClick() :void
                        if( grid.selectedIndex==-1 )
                        else
                            body.visible=true;
                            varPass.text=grid.selectedItem.ID;
                            title.text=grid.selectedItem.name;
                            desc.text=grid.selectedItem.description;
                            cred.text=grid.selectedItem.price;
                            grid.selectedIndex=-1;
                protected function button1_clickHandler(event:MouseEvent):void
            ]]>
        </fx:Script>
        <mx:DataGrid id="grid" click="onClick()"  x="37.2" y="63.3" width="895" height="450" dropShadowVisible="false" dataProvider="{userRequest.lastResult.courses.course}" chromeColor="#2240C0" fontSize="20" color="#070202" fontWeight="bold" verticalAlign="top" textAlign="center" enabled="true" paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10">
            <mx:columns>
                <mx:DataGridColumn sortable="false" dataField="ID" width="0" visible="false"/>
                <mx:DataGridColumn sortable="true" headerText="Course" dataField="name"   width="90"/>
                <mx:DataGridColumn headerText="Subject" dataField="subject" resizable="false" width="90"/>
                <mx:DataGridColumn visible="false" wordWrap="true" sortable="true" width="250" headerText="description" dataField="description" />
                <mx:DataGridColumn sortable="true" headerText="price" dataField="price" width="90"/>
            </mx:columns>
        </mx:DataGrid>
        <s:BorderContainer id="body" visible="false" x="107" y="92" width="853"   height="505" backgroundColor="#4D50CA"  dropShadowVisible="true" cornerRadius="20" borderWeight="8" borderAlpha="0.43" borderVisible="true">
            <s:Label x="41" y="21" text="Title" width="645" height="70" fontSize="28" fontWeight="bold" fontFamily="Times New Roman" color="#F8F2F2" textDecoration="underline" id="title"/>
            <s:Label x="268" y="111" text="Label" width="464" height="274" fontSize="16" color="#FEFDFD" backgroundColor="#9C99D4" id="desc" paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10" fontWeight="bold"/>
            <s:Button click="body.visible=false;" x="642" y="421" label=" X" width="54" height="45" id="Close" chromeColor="#F21212" focusColor="#F81828" color="#FEF8F8" fontSize="21" fontWeight="bold"/>
            <s:Button x="557" y="422" label="YES" width="58" height="44" fontWeight="bold"   click="button1_clickHandler(event)"/>
            <s:Label x="321" y="421" width="173" height="48" backgroundColor="#778CD2" color="#FCF8F8" fontWeight="bold" id="cred" paddingLeft="20" paddingRight="10" paddingBottom="10" paddingTop="20" fontSize="21"/>
            <s:Label x="321" y="421" visible="false" id="varPass" />
            <mx:LineChart x="10" y="136" id="linechart1" width="235" height="155">
                <mx:series>
                    <mx:LineSeries displayName="Series 1" yField=""/>
                </mx:series>
            </mx:LineChart>
            <mx:Legend dataProvider="{linechart1}" x="29" y="71"/>
        </s:BorderContainer>
    </s:Application>

    What is the url of the swf when uploaded?  If you aren't uploading to
    theServer.com, you might be running into security issues.  Security is not
    as tight when running from FlexBuilder.

  • Xml file not getting loaded locally...

    Hi,
    I have created a project and it uses an xml file which I have used in assets folder within the src of the project(The project was created in D:\C Drive\Documents\SAP UX\go_green\wasl_DB\bin-debug). The url path which I have used in HTTPService is :
    <mx:HTTPService id="srv" url="assets/datafile.xml" result="srvResultHandler(event)" fault="srvFaultHandler(event)"/>
    This works fine when I run it through flex, i.e, it gets into srvResultHandler result function. But when I moved the bin-debug folder to some other drive and to some other folder, and when i tried opening the swf file, it fails. It is getting into srvFaultHandler fault function, where I have given a alert message, "Error reading xml file.".
    Can someone please let me know where am I going wrong??? I don't want to run this in any server, I want this to run in 3 desktops locally always.......
    Please help,....
    -Deepak

    add a compiler argument -use-network=false in your project compiler setting:
    - right click on project ( it must be open ), go to properties
    - go to Flex Compiler section.
    - add the above argument in Additional Compiler Arguments box ( you may have -locale en_US already there, put a space after it and paste above one.)
    hope it helps.

  • 7942G IP phone does not upgrade and does not accept locale

    Hello everyone!
    I stumbled upon a rather strange behavior on a CP-7942G IP phone. It is a new phone, which I have myself unpacked from the box, along with 2 others.
    Now, the problem is, this particular phone did not load the user-locale, specified in the telephony-services config on the CUCME and did not display the time correctly:
    cnf-file location flash: cnf-file perphone user-locale RU load CME-locale-ru_RU-Russian-7.0.1.1.tar user-locale 2 U1 RU network-locale RU
    While trying to debug what's going on, I eventually unpacked a second phone (same model) and got the same result: the user-locale was English, ASCII. I have downloaded the latest firmware update from the Cisco.com website (version 42.9.3.1.SR2.1S as opposed to previous 42.8.4.2S). Changed the config and restarted the second phone. I has updated it's firmware, restarted and got all settings correctly (Russian, UTF-8, display time).
    The first phone though - the one it has all started with - still has the same problem. I tried to factory-reset it during it's power-on cycle, it tried to update, but looks like it didn't. This is what is shows in the Device Information section on the web-interface:
    App Load ID  jar42sccp.8-4-1-23.sbn Boot Load ID  tnp42.9-3-1-57.bin Version  SCCP42.8-4-2S.bin
    Version  SCCP42.8-4-2S
    I'm not a Cisco pro, but looking in the console logs it seems that the phone does try to apply the locale settings, but reverts to default for some reason (look for text in BOLD):
    |=== Syslogd === Thu Sep 26 10:13:42 2013
    ====================================================
    NOT 10:13:42.736527 JVM: Startup Module Loader|cip.midp.rms.l:? -   loaded entry: _cip_properties.db=/flash0/RMS/appdb/_cip_properties.db
    NOT 10:13:42.737816 JVM: Startup Module Loader - Deletion of file Successful/flash0/RMS/appdb/_cip_properties.dbk
    NOT 10:13:42.739051 JVM: Startup Module Loader - Deletion of file Successful/flash0/RMS/appdb/_cip_properties.dbk
    ERR 10:13:44.409247 JVM: Startup Module Loader|SystemManager:n/a - Encountered Property Exception while getting: device.system.targetmodules
    NOT 10:13:44.483161 JVM: NativeIO assumed to be integrated into the VM
    DBG 10:13:45.112916 lcd_open: return success!
    NOT 10:13:47.776918 JVM: Font.addRes() owner=class cip.g3.r2d.y this=Font name=Monospace.font size=13 sty
    NOT 10:13:47.777555 JVM: leFlags=0 tabWidth=0 tabTol=0
    NOT 10:13:47.803214 JVM: Font.addRes() owner=class cip.g3.r2d.y this=Font name=Monospace.font size=17 sty
    NOT 10:13:47.803814 JVM: leFlags=0 tabWidth=0 tabTol=0
    NOT 10:13:47.855490 JVM: Font.addRes() owner=class cip.g3.r2d.y this=Font name=Unicode.font size=19 style
    NOT 10:13:47.856090 JVM: Flags=0 tabWidth=0 tabTol=0
    NOT 10:13:47.906921 JVM: Font.addRes() owner=class cip.g3.r2d.y this=Font name=Unicode.font size=17 style
    NOT 10:13:47.907565 JVM: Flags=0 tabWidth=0 tabTol=0
    NOT 10:13:47.958760 JVM: Font.addRes() owner=class cip.g3.r2d.y this=Font name=Unicode.font size=18 style
    NOT 10:13:47.959358 JVM: Flags=0 tabWidth=0 tabTol=0
    NOT 10:13:48.009978 JVM: Font.addRes() owner=class cip.g3.r2d.y this=Font name=Unicode.font size=15 style
    NOT 10:13:48.010602 JVM: Flags=0 tabWidth=0 tabTol=0
    WRN 10:13:48.160504 JVM: Startup Module Loader|Skin:? - Font reference not found for UIComponent=kemtext
    NOT 10:13:48.317399 JVM: MediaTermination assumed to be integrated into the VM
    NOT 10:13:48.821965 JVM: libMT:start SignOn()
    NOT 10:13:48.824926 JVM: *** VIEO should already be running. NO? Start "/ubin/vieo &" now ***
    NOT 10:13:48.825972 JVM: libMT: send _MTStart...
    NOT 10:13:48.831661 JVM: LibMT (vieoProcess.c): registered VIEO callbacks
    DBG 10:13:49.820548 audev: audioHwInit,,,
    DBG 10:13:49.820933 audev: audioHwInit.
    NOT 10:13:49.886879 DSP: _dspdvrStart ok, DSP bootup completed successfully
    NOT 10:13:49.894065 DSP: DSP Tone/Ring DSP initialization completed successfully
    NOT 10:13:49.895646 DSP: dspdvrinitEnableAudioOutput enabled = 1
    NOT 10:13:49.896197 DSP: DSP INIT-*** DSP_STATE_READY***
    NOT 10:13:49.898130 JVM: LibMT: MediaTerminationStart OK!
    NOT 10:13:50.010519 JVM: Startup Module Loader|ComponentController:? - Initializing MVC comp module's trace mechanism
    NOT 10:13:50.123210 JVM: TftpNative assumed to be integrated into the VM
    NOT 10:13:50.574189 JVM: HTTPService assumed to be integrated into the VM
    WRN 10:13:50.879507 SECD: WARN:getCertInfo: ** phone has no LSC
    NOT 10:13:52.372683 DSP: configurationNumber 1, enabled 0
    NOT 10:13:52.379534 DSP: mtSetDeviceBandwidth: Wideband Headset - deviceWideband=0
    NOT 10:13:52.382165 DSP: mtSetDeviceBandwidth: Wideband Handset - deviceWideband=2
    NOT 10:13:52.384033 DSP: mtSetG722Codec: g722enable=0
    NOT 10:13:52.402407 DSP: configurationNumber 0, enabled 0
    NOT 10:13:53.353620 JVM: ENTERING loadSystemProperties
    NOT 10:13:53.355397 JVM: EXITING loadSystemProperties
    WRN 10:13:53.451585 JVM: Startup Module Loader - *******MIDlets Not allowed in REL load*******
    NOT 10:13:53.452824 JVM: Startup Module Loader|cip.midp.midlet.MIDletManager:? - Initializing MIDletManager ...
    NOT 10:13:53.454023 JVM: Startup Module Loader|cip.midp.midlet.MIDletManager:? - Initializing PushRegistry ...
    NOT 10:13:53.950401 CDP-D: configSelectVLAN: 3 OP_USE_CDP:2 oper:101 cdp:101 lldp:4096 admin:4096 mac:0:25:83:85:73:18
    NOT 10:13:53.951035 CDP-D: CDP OP: clear cross ref
    NOT 10:13:53.951487 CDP-D: getCdpExtaInfo: OP:2 Cos:0 Trust:0 lldp.idxOfInterest:-1
    WRN 10:13:53.952071 CDP-D: cdpSetCos T:0 C:0
    NOT 10:13:53.952540 CDP-D: CosTrust:  0 0
    NOT 10:13:53.958093 CDP-D: vvlan changed --> New:101 old:4096 101
    ERR 10:13:53.958658 CDP-D: setVVLANConfig VVLAN CHANGED --> NEW:101 OLD:4096 101
    NOT 10:13:53.963511 CDP-D: vlan Configured --> New:100 old:4096 :100
    NOT 10:13:53.964616 CDP-D: Sent SIGNINFO & SIGIPCFG
    NOT 10:13:53.965261 CDP-D: cdpSetDhcpEnableFlg: SIGNINFO
    NOT 10:13:53.967656 JVM:  setSystemProperty() name=microedition.hostname value=SEPD0C789154FDC
    NOT 10:13:53.969538 JVM:  setSystemProperty() name=microedition.locale value=en
    NOT 10:13:53.971370 JVM:  setSystemProperty() name=microedition.encoding value=ASCII
    NOT 10:13:53.972995 JVM:  setSystemProperty() name=microedition.platform value=CP-7942G/7.0.1
    NOT 10:13:53.974623 JVM:  setSystemProperty() name=com.cisco.device.settings.config.userid value=
    NOT 10:13:54.031701 JVM: Startup Module Loader|cip.midp.pushregistry.f:? - Starting MIDP PushRegistry ...
    NOT 10:13:54.032873 JVM: Startup Module Loader - Deletion of file Successful/flash0/RMS/appdb/MAP1
    NOT 10:13:54.034091 JVM: Startup Module Loader|cip.midp.pushregistry.f:? - MIDP PushRegistry started successfully.
    NOT 10:13:54.035283 JVM: Startup Module Loader|cip.midp.midlet.MIDletManager:? - Initializing MIDP MemberFilter ...
    NOT 10:13:54.036494 JVM: Startup Module Loader|cip.midp.midlet.MIDletManager:? - MIDletManager initialized.
    NOT 10:13:54.259788 JVM: Creating new StateMachineThread
    NOT 10:13:54.409562 PAE: SIGIPCFG received...
    WRN 10:13:54.484755 SECD: WARN:getCTLInfo: ** phone has no CTL
    WRN 10:13:54.488679 SECD: WARN:getCTLInfo: ** phone has no CTL
    NOT 10:13:54.497820 DHCP: DHCP enabled...
    NOT 10:13:54.499483 DHCP:  dhcpSendReq: status 0x12300000
    NOT 10:13:54.500511 DHCP: Sending Request...
    ERR 10:13:54.503878 INETD: Local connect failed: 2
    NOT 10:13:54.526871 CDP-D: catchipcfg:getdhcpinfo IP:0 domain: chngVal:0
    NOT 10:13:54.528288 CDP-D: catchipcfg:getdhcpinfo IP:0 domain: chngVal:0
    NOT 10:13:54.529090 PAE: SIGIPCFG received...
    NOT 10:13:54.530615 DHCP: Enable
    NOT 10:13:54.537357 DHCP:  dhcpSendReq: status 0x12300000
    NOT 10:13:54.537887 DHCP: Sending Request...
    NOT 10:13:54.538902 DHCP: ACK received
    NOT 10:13:54.539424 DHCP: Succeeded
    NOT 10:13:54.541514 ESP: send ADMIN, logging = 1, shell = 0, ipconfig = 1
    NOT 10:13:54.545277 tftpClient: request server 0 ---> 10.80.129.1
    NOT 10:13:54.552395 DHCP: IP Address -- 10.80.129.12
    NOT 10:13:54.552928 DHCP: Subnet Mask - 255.255.255.128
    NOT 10:13:54.553372 DHCP: Default Gwy - 10.80.129.1
    NOT 10:13:54.576800 CDP-D: catchipcfg:getdhcpinfo IP:a50810c domain: chngVal:1
    NOT 10:13:54.578452 PAE: SIGIPCFG received...
    NOT 10:13:54.592996 tftpClient: request server 1 ---> 
    NOT 10:13:54.665767 tftpClient: request server 0 ---> 10.80.129.1
    NOT 10:13:54.666679 ESP: server 0 = 10.80.129.1
    NOT 10:13:54.670348 tftpClient: request server6 0 ---> ::
    NOT 10:13:54.674687 tftpClient: request server 1 ---> 
    NOT 10:13:54.675609 ESP: server 1 = 
    NOT 10:13:54.677936 ESP: send ADMIN, logging = 1, shell = 0, ipconfig = 1
    NOT 10:13:54.683752 tftpClient: request server6 1 ---> ::
    ERR 10:13:54.689776 JVM: GETHOSTBYNAME: Empty Parameter
    WRN 10:13:54.719514 JVM: Startup Module Loader|NetUtil.traceIPv4DNSErrors:? - DNS Unknown Host
    NOT 10:13:54.724673 SECD: updateCTL: starting CTL update
    NOT 10:13:54.726696 SECD: ctlRequestFile: Socket 7 connected to /usr/tmp/tftpClientSock
    NOT 10:13:54.727408 SECD: ctlRequestFile: Request CTLSEPD0C789154FDC.tlv
    NOT 10:13:54.729751 tftpClient: tftp request rcv'd from /usr/tmp/ctlSock, srcFile = CTLSEPD0C789154FDC.tlv, dstFile = /usr/tmp/CTLFile.tlv
    NOT 10:13:54.734219 tftpClient: auth server - tftpList[0] = ::ffff:10.80.129.1
    NOT 10:13:54.734742 tftpClient: look up server - 0
    WRN 10:13:54.736310 SECD: WARN:lookupCTL: CTL update in progress, no old CTL, assume TFTP NONSECURE
    NOT 10:13:54.738353 tftpClient: secVal = 0xa
    NOT 10:13:54.738948 tftpClient: ::ffff:10.80.129.1 is a NONsecure server
    NOT 10:13:54.739405 tftpClient: temp retval = SRVR_NONSECURE, keep looking
    NOT 10:13:54.739866 tftpClient: retval = 10
    NOT 10:13:54.740746 tftpClient: Non secure file requested 
    NOT 10:13:54.749039 TFTP: [31]:Requesting CTLSEPD0C789154FDC.tlv from 10.80.129.1
    NOT 10:13:54.752921 TFTP: [31]:Error --> No such file
    NOT 10:13:54.758291 SYSMSG: pid 31 (/sbin/tftpd) Normal Exit, status = 2
    INF 10:13:54.758326           runtime = 0.010 secs
    INF 10:13:54.758344          user cpu = 0.001067950 secs
    INF 10:13:54.758361        system cpu = 0.003620740 secs
    INF 10:13:54.758374    child user cpu = 0.000000000 secs
    INF 10:13:54.758388     child sys cpu = 0.000000000 secs
    INF 10:13:54.758406    sys interrupts = 0.000427430 secs for 6 interrupts
    INF 10:13:54.758427 total cpu = 0.004688690 secs ( 0% utilization )
    NOT 10:13:54.761297 SECD: ctlRequestFile: tftp Status 2 rcv'd
    NOT 10:13:54.762017 SECD: updateCTL: finished CTL update
    ERR 10:13:54.762581 SECD: EROR:updateCTL: ** had NO CTL and CTL tftp FAILED** tftp-err 2
    NOT 10:13:54.765755 tftpClient: request server 0 ---> 10.80.129.1
    NOT 10:13:54.766486 ESP: server 0 = 10.80.129.1
    NOT 10:13:54.768900 tftpClient: request server 1 ---> 
    NOT 10:13:54.769575 ESP: server 1 = 
    WRN 10:13:54.788934 SECD: WARN:getCTLInfo: ** phone has no CTL
    NOT 10:13:54.801182 tftpClient: tftp request rcv'd from /usr/tmp/tftp, srcFile = SEPD0C789154FDC.cnf.xml, dstFile = /usr/ram/SEPD0C789154FDC.cnf.xml
    NOT 10:13:54.803072 tftpClient: auth server - tftpList[0] = ::ffff:10.80.129.1
    NOT 10:13:54.803598 tftpClient: look up server - 0
    WRN 10:13:54.805232 SECD: WARN:lookupCTL: ** no CTL, assume TFTP NONSECURE
    NOT 10:13:54.807172 tftpClient: secVal = 0xa
    NOT 10:13:54.807773 tftpClient: ::ffff:10.80.129.1 is a NONsecure server
    NOT 10:13:54.808235 tftpClient: temp retval = SRVR_NONSECURE, keep looking
    NOT 10:13:54.808678 tftpClient: retval = 10
    NOT 10:13:54.809110 tftpClient: Secure file requested
    NOT 10:13:54.809523 tftpClient: Non secure file approved  -- SEPD0C789154FDC.cnf.xml 
    NOT 10:13:54.816938 TFTP: [7]:Requesting SEPD0C789154FDC.cnf.xml from 10.80.129.1
    WRN 10:13:54.822003 SECD: WARN:getCTLInfo: ** phone has no CTL
    WRN 10:13:54.825845 SECD: WARN:getCTLInfo: ** phone has no CTL
    NOT 10:13:54.835047 TFTP: [7]:Finished --> rcvd 1456 bytes
    NOT 10:13:55.010336 SECD: clearTFTPList: cleared all TFTP entries
    NOT 10:13:55.046228 JVM: VendorConfig - logging display == 1
    NOT 10:13:55.047554 JVM: VendorConfig - logging display, theValue == 17
    NOT 10:13:55.169337 JVM:  setSystemProperty() name=microedition.encoding value=utf-8
    NOT 10:13:55.171804 JVM:  setSystemProperty() name=microedition.locale value=RU
    ERR 10:13:55.237375 JVM: Startup Module Loader|cip.cfg.r:? - Delete of sshUserInfo file failed
    ERR 10:13:55.238704 JVM: Startup Module Loader|cip.setg.ScreenSaveProperty:? - Config file field <displayOnTime> is incorrectly formatted. Defaulting.
    ERR 10:13:55.240553 JVM: Startup Module Loader|cip.setg.ScreenSaveProperty:? - Config file field <displayIdleTimeout> is incorrectly formatted. Defaulting.
    NOT 10:13:55.246502 SECD: setSecMode: sec mode set to NONE (was NONE)
    NOT 10:13:55.263415 JVM: setTimeZone tz:Russian Standard/Daylight Time ctz:Europe/Moscow
    NOT 10:13:55.595116 SECD: clearSRSTList: cleared all SRST entries
    ERR 10:13:55.646423 JVM: GETHOSTBYNAME: Empty Parameter
    WRN 10:13:55.699101 SECD: WARN:cancelCapfOp: CAPF not in use, user cancel ignored
    NOT 10:13:55.699692 SECD: clearCapfList: CAPF table cleared
    ERR 10:13:55.702675 JVM: GETHOSTBYNAME: Empty Parameter
    ERR 10:13:55.711673 SECD: EROR:addCapfEntry: phone has no CTL, can't use CAPF
    WRN 10:13:55.724535 JVM: Startup Module Loader|NetUtil.traceIPv4DNSErrors:? - DNS Unknown Host
    ERR 10:13:55.725747 JVM: Startup Module Loader|cip.sec.CapfProperty:? - Failed to resolve Capf Ipv4 Address with hostname
    ERR 10:13:55.727617 JVM: Startup Module Loader|cip.sec.CapfProperty:? - dns failed previously.will resolve it now
    WRN 10:13:55.728964 JVM: Startup Module Loader|NetUtil.traceIPv4DNSErrors:? - DNS Unknown Host
    ERR 10:13:55.730207 JVM: Startup Module Loader|cip.sec.CapfProperty:? - Failed to resolve Capf Ipv4 Address with hostname
    NOT 10:13:55.753975 SECD: setSecMode: sec mode set to NONE (was NONE)
    NOT 10:13:55.785279 JVM: Startup Module Loader - Deletion of file Successful/usr/ram/SEPD0C789154FDC.cnf.xml
    NOT 10:13:55.786489 JVM: Startup Module Loader|cip.cfg.r:? - DELETE ConfigFile:(ram/SEPD0C789154FDC.cnf.xml)WAS SUCCESSFUL
    NOT 10:13:55.788171 INETD: Set IP mode 1
    NOT 10:13:55.788705 INETD: Requestted IP mode is same as current mode
    NOT 10:13:55.789870 CDP-D: cdpSetRepeater 11
    NOT 10:13:55.790704 CDP-D: set pc vvlan access --> 26
    NOT 10:13:55.823622 CDP-D: catchipcfg:getdhcpinfo IP:a50810c domain: chngVal:1
    NOT 10:13:55.828991 ESP: send ADMIN, logging = 1, shell = 0, ipconfig = 1
    NOT 10:13:55.830112 DNS: SIGHUP received...
    NOT 10:13:55.832373 PAE: SIGIPCFG received...
    NOT 10:13:55.841392 tftpClient: request server 0 ---> 10.80.129.1
    NOT 10:13:55.842016 tftpClient: tftp request rcv'd from /usr/tmp/tftp, srcFile = User_Define_1/mk-sccp.jar, dstFile = /usr/ram/L10N-1584653765
    NOT 10:13:55.847011 tftpClient: auth server - tftpList[0] = ::ffff:10.80.129.1
    NOT 10:13:55.847529 tftpClient: look up server - 0
    WRN 10:13:55.849117 SECD: WARN:lookupCTL: ** no CTL, assume TFTP NONSECURE
    NOT 10:13:55.851181 tftpClient: secVal = 0xa
    NOT 10:13:55.851781 tftpClient: ::ffff:10.80.129.1 is a NONsecure server
    NOT 10:13:55.852235 tftpClient: temp retval = SRVR_NONSECURE, keep looking
    NOT 10:13:55.852654 tftpClient: retval = 10
    NOT 10:13:55.853080 tftpClient: Secure file requested
    NOT 10:13:55.853491 tftpClient: Non secure file approved  -- User_Define_1/mk-sccp.jar 
    NOT 10:13:55.861589 TFTP: [4]:Requesting User_Define_1/mk-sccp.jar from 10.80.129.1
    NOT 10:13:55.865280 TFTP: [4]:Error --> No such file
    NOT 10:13:55.870648 SYSMSG: pid 4 (/sbin/tftpd) Normal Exit, status = 2
    INF 10:13:55.870685           runtime = 0.010 secs
    INF 10:13:55.870703          user cpu = 0.001025390 secs
    INF 10:13:55.870720        system cpu = 0.002738420 secs
    INF 10:13:55.870733    child user cpu = 0.000000000 secs
    INF 10:13:55.870747     child sys cpu = 0.000000000 secs
    INF 10:13:55.870765    sys interrupts = 0.000473360 secs for 6 interrupts
    INF 10:13:55.870786 total cpu = 0.003763810 secs ( 0% utilization )
    NOT 10:13:55.907442 JVM:  setSystemProperty() name=microedition.encoding value=ASCII
    NOT 10:13:55.909263 JVM:  setSystemProperty() name=microedition.encoding value=ASCII
    NOT 10:13:55.954262 JVM:  setSystemProperty() name=microedition.locale value=en
    NOT 10:13:55.956112 JVM:  setSystemProperty() name=microedition.locale value=en
    WRN 10:13:55.974314 JVM: Startup Module Loader|cip.l10n.UserLocaleProperty:? - Unable to process LocaleProperty 'device.settings.config.localization.userlocale'
    NOT 10:13:55.993687 tftpClient: request server 1 ---> 
    NOT 10:13:56.012450 tftpClient: request server 0 ---> 10.80.129.1
    NOT 10:13:56.013069 tftpClient: tftp request rcv'd from /usr/tmp/tftp, srcFile = United_States/g3-tones.xml, dstFile = /usr/ram/L10N-61391065
    NOT 10:13:56.025036 ESP: server 0 = 10.80.129.1
    NOT 10:13:56.036772 tftpClient: auth server - tftpList[0] = ::ffff:10.80.129.1
    NOT 10:13:56.037342 tftpClient: look up server - 0
    WRN 10:13:56.039157 SECD: WARN:lookupCTL: ** no CTL, assume TFTP NONSECURE
    NOT 10:13:56.041548 tftpClient: secVal = 0xa
    NOT 10:13:56.042149 tftpClient: ::ffff:10.80.129.1 is a NONsecure server
    NOT 10:13:56.042608 tftpClient: temp retval = SRVR_NONSECURE, keep looking
    NOT 10:13:56.043031 tftpClient: retval = 10
    NOT 10:13:56.043464 tftpClient: Secure file requested
    NOT 10:13:56.043876 tftpClient: Non secure file approved  -- United_States/g3-tones.xml 
    NOT 10:13:56.075611 TFTP: [3]:Requesting United_States/g3-tones.xml from 10.80.129.1
    NOT 10:13:56.079347 TFTP: [3]:Error --> No such file
    NOT 10:13:56.084690 SYSMSG: pid 3 (/sbin/tftpd) Normal Exit, status = 2
    INF 10:13:56.084726           runtime = 0.030 secs
    INF 10:13:56.084744          user cpu = 0.001016140 secs
    INF 10:13:56.084761        system cpu = 0.004127440 secs
    INF 10:13:56.084774    child user cpu = 0.000000000 secs
    INF 10:13:56.084788     child sys cpu = 0.000000000 secs
    INF 10:13:56.084806    sys interrupts = 0.000648400 secs for 10 interrupts
    INF 10:13:56.084827 total cpu = 0.005143580 secs ( 0% utilization )
    WRN 10:13:56.152126 JVM: Startup Module Loader|cip.l10n.NetworkLocaleProperty:? - Unable to process LocaleProperty 'device.settings.config.localization.networklocale'
    WRN 10:13:56.185037 SECD: WARN:lookupCTL: ** no CTL, assume UCM NONSECURE
    NOT 10:13:56.201903 JVM: Adding SRST .. #valid : 1
    WRN 10:13:56.205891 SECD: WARN:lookupSRST: no CTL, treat SRST as non-secure
    NOT 10:13:56.211795 JVM: Done with SRST: 1
    NOT 10:13:56.274791 tftpClient: request server 1 ---> 
    NOT 10:13:56.275707 ESP: server 1 = 
    NOT 10:13:56.352535 tftpClient: request server6 0 ---> ::
    NOT 10:13:56.359771 tftpClient: request server6 1 ---> ::
    NOT 10:13:56.407633 JVM: SecureSocketImpl.create() fd=java.io.FileDescriptor@111f4 valid=true
    WRN 10:13:57.135911 JVM: Startup Module Loader|cip.mmgr.ds:? - [MediaMgrSM]: Unhandled Event, State = StateOnHook Event = EventServicesTxStop
    WRN 10:13:57.149565 SECD: WARN:getCTLInfo: ** phone has no CTL
    WRN 10:13:57.153827 SECD: WARN:getCTLInfo: ** phone has no CTL
    NOT 10:13:57.165025 tftpClient: request server 0 ---> 10.80.129.1
    NOT 10:13:57.178308 tftpClient: request server 1 ---> 
    NOT 10:13:57.243532 tftpClient: request server6 0 ---> ::
    NOT 10:13:57.249934 tftpClient: request server6 1 ---> ::
    ERR 10:14:39.590147 NTP: Thu Sep 26 09:14:39 2013
    ERR 10:14:57.374505 JVM: cvmDebug: executing - 5. Dump total obj counts in java heap
    ERR 10:14:57.386075 JVM: Counted 27546 objects
    ERR 10:14:57.386815 JVM: Total Heap Size:3800064
    ERR 10:14:57.387491 JVM:  Free Heap Size:2771660
    ERR 10:14:58.370281 JVM: cvmDebug: executing - 7. Dump string value of [C instances in java heap
    ERR 10:16:48.404683 JVM: cvmDebug: executing - 5. Dump total obj counts in java heap
    ERR 10:16:48.419137 JVM: Counted 34953 objects
    ERR 10:16:48.419359 JVM: Total Heap Size:3800064
    ERR 10:16:48.419512 JVM:  Free Heap Size:2329208
    ERR 10:16:49.400355 JVM: cvmDebug: executing - 7. Dump string value of [C instances in java heap
    WRN 10:16:52.068040 CDP-D: lldpInetdStatsRsp: port: 0
    WRN 10:16:53.007959 CDP-D: lldpInetdStatsRsp: port: 1
    WRN 10:16:53.947877 CDP-D: lldpInetdStatsRsp: port: 0
    WRN 10:18:53.378017 CDP-D: lldpInetdStatsRsp: port: 0
    WRN 10:18:55.337826 CDP-D: lldpInetdStatsRsp: port: 1
    Any ideas what can be done? The phone now displays the time correctly, but the second button shows empty squares where the "Login" button should be. All the rest of the phone inteface is in English.

    For some veru strange reason the problem... resolved itself.
    I had to remove the phone from the Ethernet line today, because I needed it. I then re-plugged decided to re-plug it back(in about 10 minutes from the initial power off) and voila: the phone sucessfully updated itself and received the right locale...
    I wish I knew what was the real problem behind this.
    I did change the config on CUCME today, but I have just added a "Text to display on phones" (command "system message"). I then re-created CNF files (but I have tried that already last week).
    Maybe the stars aligned in a different way today, I don't know...

  • Can't set public Object in HTTPService result listener

    Hello.
    I am using a data object class.  The class is based on a class that contains the HTTPService calls.  I want to return the event.results to the local instance of the class by setting a public Object = the results Object. However, the public object is null after the HTTPService event result listener function is finished.
    It is easier to see than to describe:
    In the main application. i make an instace of my activity class:
    myactivity:activity = new activity() ;
    now, I invoke the getdata method:
    myactivity.getdata() ;
    The getdata() method fails at runtime, because it tries to reference the results object.
    See the base class and the activity class below.
    BASECLASS: (just the main parts are listed here):
    public class transferObject
            public var baseurl:String ;
            public var dbresult:Object =new Object();
            public var service:HTTPService ;
            public function transferObject()
            geturl("ghost") ;
            public function geturl(db:String) : void
                    baseurl = "https://xyzzy/" ;
            public function getHttpService(methodname:String):void {
                    service = new HTTPService();
                    service.url = this.baseurl + methodname;
                    service.channelSet ;
                    service.method = "POST";
                    service.addEventListener("result", httpResult );
                    service.addEventListener("fault", httpFault);
                    service.send();
               public function httpResult(event:ResultEvent):void {
                    dbresult = event.result ;
    //DBRESULT IS THE OBJECT I WANT TO REFERENCE IN THE DERIVED CLASS
                 //Do something with the result.
                public function httpFault(event:FaultEvent):void {
                    var faultstring:String = event.fault.faultString;
                    Alert.show('Error sending data: '+faultstring+' '+event.fault);
    HERE IS THE DERIVED CLASS:
    package dataObjects
        public class activity extends transferObject
        import mx.controls.Alert ;   
    [Bindable]
    public var event_id:String ;
    [Bindable]
    public var description:String ;
           public function activity()
                super();
            public function getdata():void
                getHttpService("eventually.sendtest") ;
              this.event_id = dbresult.result.activities.activity.getItemAt(0).event_id ;
    ----> THE LINE ABOVE FAILS AT RUN TIME BECAUSE THE DBRESULT OBJECT IS NULL
    THANK YOU FOR ANYHELP YOU CAN PROVIDE

    Sorry, but parameters of a ServeletRequest can not be modified. Look at the javadocs on ServeletRequest and you will see that "getParameterMap" returns an immutable Map. JSF is simply wrapping that method call with their own "getRequestMap" method. Setting an attribute, request.setAttribute(name, object), is how you pass things using the request to servlets, jsps, etc. on down the line. Just get the attribute instead of the parameter where you need it. Set your "parameter" in the attributes, down the line, check the attribute first, if it exists, use it, otherwise look for the parameter.

  • How do I initialize an array after getting xml data via httpservice?

    I am having a problem trying to initialize an array with data from an external xml file obtained via httpservice.  Any help/direction would be much appreciated.  I am using Flex 4 (Flash Builder 4).
    Here is my xml file (partial):
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Root>
        <Row>
            <icdcodedanddesc>00 PROCEDURES AND INTERVENT</icdcodedanddesc>
        </Row>
        <Row>
            <icdcodedanddesc>00.0 THERAPEUTIC ULTRASOUND</icdcodedanddesc>
        </Row>
        <Row>
            <icdcodedanddesc>00.01 THERAPEUTIC US VESSELS H</icdcodedanddesc>
        </Row>
        <Row>
            <icdcodedanddesc>00.02 THERAPEUTIC ULTRASOUND O</icdcodedanddesc>
        </Row>
    </Root>
    Here is my http service call:
    <s:HTTPService id="icdcodeservice" url="ICD9V2MergeNumAndDescNotAllCodes.xml"
                           result="icdcodesService_resultHandler(event)" showBusyCursor="true"  />
    (I have tried resultFormat using object, array, xml).
    I am using this following Tour de Flex example as the base -http://www.adobe.com/devnet-archive/flex/tourdeflex/web/#docIndex=0;illustIndex=1;sampleId =70500
    and updating it with the httpservice call and result handler.  But I cannot get the data to appear - I get [object Object] instead.  In my result handler code  I use "icdcodesar = new Array(event.result.Root.Row);"  and then "icdcodesar.refresh();".
    The key question is: How to I get data from an external xml file into an array without getting [object Object] when referencing the array entries.  Thanks much!
    (Tour de Flex example at http://www.adobe.com/devnet-archive/flex/tourdeflex/web/#docIndex=0;illustIndex=1;sampleId =70500  follows)
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   xmlns:local="*"
                   skinClass="TDFGradientBackgroundSkin"
                   viewSourceURL="srcview/index.html">
        <fx:Style>
            @namespace s "library://ns.adobe.com/flex/spark";
            @namespace mx "library://ns.adobe.com/flex/mx";
            @namespace local "*";
            s|Label {
                color: #000000;
        </fx:Style>
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                private var names:ArrayCollection = new ArrayCollection(
                    ["John Smith", "Jane Doe", "Paul Dupont", "Liz Jones", "Marie Taylor"]);
                private function searchName(item:Object):Boolean
                    return item.toLowerCase().search(searchBox.text) != -1;
                private function textChangeHandler():void
                    names.filterFunction = searchName;
                    names.refresh();
                    searchBox.dataProvider = names;
                private function itemSelectedHandler(event:SearchBoxEvent):void
                    fullName.text = event.item as String;   
            ]]>
        </fx:Script>
        <s:layout>
            <s:HorizontalLayout verticalAlign="middle" horizontalAlign="center" />
        </s:layout>
        <s:Panel title="Components Samples"
                 width="600" height="100%"
                 color="0x000000"
                 borderAlpha="0.15">
            <s:layout>
                <s:HorizontalLayout horizontalAlign="center"
                                    paddingLeft="10" paddingRight="10"
                                    paddingTop="10" paddingBottom="10"/>
            </s:layout>
            <s:HGroup >
                <s:Label text="Type a few characters to search:" />
                <local:SearchBox id="searchBox" textChange="textChangeHandler()" itemSelected="itemSelectedHandler(event)"/>
            </s:HGroup>
            <mx:FormItem label="You selected:" >
                <s:TextInput id="fullName"/>
            </mx:FormItem>
        </s:Panel>
    </s:Application>

    Hello,
    Instead of extracting the first zero element from the vid array, you should take that out and connect it allone.
    Attachments:
    init.bmp ‏339 KB

  • Xml data using httpservice

    I am trying the new Flex 3 Beta. On my local machine I am
    referring to data in results.xml stored in the same folder as the
    mxml. When I run the program, I get a prompt for local host, choose
    cancel and my sheet with the data comes up great. Problem: if I
    copy the project to put on another machine when running the program
    I get an error and the screen comes up blank. The error is #2148
    swf file cannot access local resource file ("even though the path
    is correctly displayed!")...followed by.... Only
    local-with-filesystem and trusted local SWF files may access local
    resources. I am not using any local webhosting, just want to be
    able to present the flex application and data on another computer.
    Below is the line from my mxml file defining the HTTPService, data
    comes from results.xml
    <mx:HTTPService id="srv" url="results.xml"
    useProxy="false" result="resultHandler(event)"/>

    Don't sure about your XML structure, but for now i see the problem here between this 2 lines of code:
    loadLangService.send();
    btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;
    Think data that your httpService should receive just can't go so fast to populate the lastResult before you call it in the next line
    Try adding a result listener to your service before you send it:
    loadLangService.addEventListener(ResultEvent.RESULT, handler);
    loadLangService.send();
    function handler(event:ResultEvent):void {
         btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;

  • Renaming a Project causes error when running locally

    The app uses an HTTPservice on a remote webserver. I have
    been running the same app locally for weeks. I occasionally publish
    up to the web server and all has been fine.
    I renamed the project (in the IDE) but now anytime I try to
    run the app locally I get:
    [RPC Fault faultString="Security error accessing url"
    faultCode="Channel.Security.Error" faultDetail="Destination:
    DefaultHTTP"]
    Still works fine when pushed to the web server.
    I have other apps that work fine locally and hit the same web
    server for HTTPservice.
    I tried renaming other projects and found that the same
    problem occured each time the project was renamed.
    Any suggestions?

    Found the cause of the problem, its FlashFireBug in Mozilla. When a swf is launched FlashFirebug tries to capture the swf, this messes up mobile apps running on the desktop.
    Found the answer in this post: http://forums.adobe.com/thread/852612

  • How to get result of HTTPService within a function?

    Hello all,
    I'm trying to call an HTTPService's send() and get the
    resulting data from within a function, and assigning it locally.
    Specifically, this is what I want:
    private function getData():void {
    myRPC.send();
    //How do I set the result of myRPC.send to a variable here?
    // Neither myRPC.send().result, nor myRPC.lastResult works! I
    get null both times!
    // But if I set myRPC.result to a separate function that
    handles an event, I get the correct data...but not what I want.
    var myObject:Object = ???? myRPC.???
    <mx:HTTPService result="???" fault="???" id="myRPC"
    method="GET" resultFormat="e4x" url="someurl" useProxy="false">
    <mx:request xmlns="">
    <somedata>hi</somedata>
    </mx:request>
    </mx:HTTPService>
    I am also not sure what to put in 'result' and 'fault' since
    I don't want the result/fault to be passed to another
    function...could anyone explain this please? Thanks!

    "Hamshmam" <[email protected]> wrote in
    message
    news:g70olu$jcd$[email protected]..
    > Hi Greg,
    >
    > While this is not what I am looking for, thanks for your
    response.
    >
    > I am familiar with traditional HTTPService requests and
    passing the
    > resulting
    > event to a function handle directly and then modifying
    the object from
    > there.
    > However, as I described in my earlier post, I'm looking
    for a way to get
    > the
    > resulting event of the HTTPService.send() within a
    different function.
    >
    > I am doing this because if I have another function
    dependent on the
    > HTTPService.send()'s data, I cannot simply call the
    HTTPService.send()
    > from
    > within that function and update a class private var with
    the data, which I
    > access from the wrapping function. This is because the
    HTTPService is by
    > nature
    > asynchronous, so it is possible that the class private
    var will remain
    > null
    > while further lines of code are executed, all the while
    the HTTPService is
    > interacting with the server concurrently.
    >
    > I hope it is clear now why I need to assign the result
    of a HTTPService
    > result
    > directly within a function, if you or anyone else could
    shed some light on
    > that, I would appreciate it! Thanks for your response.
    http://www.johnwilger.com/2007/03/future-value-pattern-in-actionscript-3.html

  • Limit to number of HTTPService calls made at once?

    Hello,
    I have 5 Cairngorm Events that I am dispatching at the same time(one right after the other  - all of which call a separate HTTP Service. This works fine when I run the application locally however when I deploy my project to a Glassfish server, it only works intermittently, with the app hanging when it doesn't work. 
    My temporary work around to this is to chain some of the events together so less call are going out at once, but I don't really like this as a viable solution because it slows down performance.
    Is there a maximum number of HTTPService requests that Flex can make at once before it hangs?

    Actually, that document referes to "Personal File Sharing" - 10 is the limit imposed by Apple for AFP, which is Apple's proprietary protocol.
    "Windows Sharing" or SMB is open source, and I don't think there is a limit imposed by the license.
    The "tested and theoretical maximums (limits)", for SMB on 10.3 Server puts the limit at 1000 connected users (tested and theoretical - with the caveat that the numbers will be limited based on available resources). Between them, the users would be limited by the "number of open files" (theoretically up to 12288, but tested to 1000). But I don't know for sure what if any differences exist between the SMB versions installed by default in OS X Client vs. Server or if anything has changed with the version installed in 10.4.

  • Locale Resource Bundle Best Practice

    Hi
    I have a Flex application that loads it's locale resource bundle from a service.
    So when the httpservice loads the bundle it populates an instance of a class "I18NBundle" that contains all the bundle properties. For instance you could do:
    i18nBundle.hello_message and it would return "Hello"
    I'm currently using Cairngorm for this project so this i18nBundle instance it's on the model locator.
    What I'm seeing and that I don't like is that for a component be able to get the bundle it must access to the model locator and then to the i18nBundle.
    Instead of that what I would like is that each component doesn't rely on this for getting the bundle.
    I guess I could create a "bundle" property on each component class and then pass it the reference to the bundle when it is instanciated. It seems it could be messy and a difficult task to initialize this property in some cases for instance on a datagrid cell renderer.
    Other could be transforming the I18NBundle class into a singleton and then when the service response it's recieved the singleton it's initialized. Since all application components should/must access the same locale bundle I guess this could be a better option.
    What do you think about this?
    Do you think there is some a better way to achieve this with Flex?
    Any opinion or recommendation would be appreciatted.
    (I don't wish to use the Adobe Flex proposal of having the properties file on the Flex project and the compiling them into swf.)
    thanks in advance.
    Polaco.
    ps: If you think I haven't expressed myself correctly please let me know and I will rewrite it.

    I have managed to extend IResourceBundle and added it to ResourceManager.
    The only problem now is that my bundle does not represent a language and it doesn't need a name either.
    Since the localization part is done on the webapplication and then the apporpiate bundle returned in the request's response.
    So it's locale attribute value is "".
    And it's name is "".
    I can display a property correctly if I use the following code:
    (resourceManager.getResourceBundle('','')).content.helloMessage
    but I doesn't work if I try to retrieve it like:
    resourceManager.getString("", "helloMessage");
    any ideas ?
    thanks

  • HTTPService Error after waiting

    Hi.
    I've got a strange error using both HTTPService class and
    URLLoader class: the error happens when the server is slow and the
    service need to wait without getting data for a while
    Trying using the SWF player, in local, this happens about 30
    seconds after the request.
    With an SWF in a browser this happens about 2 minutes after
    the request.
    The error I get is a generic Stream Error #2032 without any
    informations about the couse.
    Thank you for help.

    var loginService:HTTPService = new HTTPService();
    login.addEventListener(FaultEvent.FAULT, handleFault);
    loginService.url = "
    http://localhost/login?req=login&username=user&password=pass&TS="+(new
    Date()).time;
    loginService.send();
    I also tried to use URLVariables as send method params.
    The result data doesn't matter, it always happens when the
    server doesn't send any bytes and doesn't close the connection, as
    it 's still computing the request.

  • Dynamic HTTPService URL

    How about when i wanted my HTTPService url to become dynamic
    that it gets from an external text file or xml file. Here is an
    exampl...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:remoting="com.oreilly.
    programmingflex.rpc.*" layout="absolute"
    initialize="initializeHandler(event)">
    <mx:Script>
    <![CDATA[
    private function initializeHandler(event:Event):void {
    textService.send( );
    private function resultHandler(event:Event):void {
    textArea.text = String(textService.lastResult);
    ]]>
    </mx:Script>
    <!--<mx:HTTPService id="feedRequest" url="ip.txt"
    result="resultHandler(event)" useProxy="false"/>-->
    <mx:HTTPService id="textService" url="
    http://yourdomainname.com/ip.xml"
    result="resultHandler(event)" />
    <mx:TextArea id="textArea" width="500"/>
    <mx:VideoDisplay id="vid"
    source="{textService.lastResult.subscribers.thevideo}" width="450"
    height="338" x="20" y="75" />
    </mx:Application>
    As you can see my HTTPService URL points to a file named
    ip.txt, the file includes my database URL where i will get my files
    to be played in my VideoDisplay. Is there anybody who can help me
    with this stuff. any reply would be very much appreciated.
    thanks!!!

    Are you asking if you can make the URL property of the
    HTTPService that points to the textService dynamic?
    You can bind the property to some local variable that is
    dynamically built:
    <mx:HTTPService id="textService" url="{someXMLFilePath}"
    result="resultHandler(event)" />
    The someXMLFilePath variable can be built in the
    initializeHandler ( or where ever you want).

Maybe you are looking for