Java through javawebstart not loading the xml file.-- need help

Dear All,
I am using jdk1.2.06, tomcat 5.25
In tomcat- inside webapps--mydirectory-- load.xml, applet1.java is present
in the browser applet1.java is called through javawebstart,
load.xml is loaded in applet1.java,where parsing is done in applet1.java,
but my problem is load.xml is not loaded in applet1.java through java webstart
Whether i want to do any pplicy file setting.. please clearly mention it..
thanks in advance

this is not the 'right' way to do it... but I think it should
work. I didn;t change the function name although I think its
supposed to be
getdetailsfrmXML instead of getetailsfrmXML
public function getEmpDetailsFrmXML() {
var xmlFileName:String = "emp.xml";
var employee_xml:XML = new XML();
employee_xml['externalScope']=this;
employee_xml.ignoreWhite = true;
employee_xml.load(xmlFileName);
employee_xml.onLoad = function(success) {
if (success) {
var xmlData = this;
this.externalScope.getetailsfrmXML.call(this.externalScope,xmlData);
} else {
trace("file not found");
public function getetailsfrmXML(details) {
trace(employee_xml.toString()+" mkmop");

Similar Messages

  • How to load the .xml file list from 'C:\Drag_list\Modified' into xmltype tb

    Hi all experts,
    I am in Oracle Enterprise Manager 11g 11.2.0.1.0.
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 22 11:40:23 2011
    is there anyone know why
    SQL> create or replace directory XMLDIR as '/xdb/faq/testdata'
    2 /
    SQL> set long 10000 pages 200 lines 150
    SQL> --
    SQL> select xmltype(bfilename('XMLDIR','2003.xml'),nls_charset_id('AL32UTF8'))
    2 from dual
    worked. but
    SQL> create or replace directory XMLDIR as 'C:\Drag_list\Modified';
    SQL> select xmltype(bfilename('XMLDIR','2011.xml'),nls_charset_id('AL32UTF8'))
    from dual
    did not work?
    IS there any way I can load the .xml file list from 'C:\Drag_list\Modified' into xmltype table?
    Thanks.

    did not work?Generally we'll need a bit more info than "it didn't work", was there an ora-X error message? What was the error?
    Assuming you're on *nix a 'C:\<folder name>\...' directory spec just plain won't work, the directory has to point to a valid storage location on the database server host.
    Try a host command (at the database server) and make sure the .xml file name and location is valid, in sqlplus a "bang" (exclamation) runs a host command, i.e.:
    SQL> !ls -l /xdb/faq/testdata
    ... usr grp ... 2003.xml
    ...But if you are on windows, its the `host` command:
    SQL> host dir c:\drag_list\modified
    mm/dd/yyyy ... 2011.xml
    ...  The create directory ... as ... must point to a valid storage location for it to work, at least that is step one.

  • How to load the .xml file list from 'C:\Drag_list\Modif into xmltype table?

    Hi all experts,
    I am in Oracle Enterprise Manager 11g 11.2.0.1.0.
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 22 11:40:23 2011
    is there anyone know why
    SQL> create or replace directory XMLDIR as '/xdb/faq/testdata'
    2 /
    SQL> set long 10000 pages 200 lines 150
    SQL> --
    SQL> select xmltype(bfilename('XMLDIR','2003.xml'),nls_charset_id('AL32UTF8'))
    2 from dual
    worked. but
    SQL> create or replace directory XMLDIR as 'C:\Drag_list\Modified';
    SQL> select xmltype(bfilename('XMLDIR','2011.xml'),nls_charset_id('AL32UTF8'))
    from dual
    did not work?
    IS there any way I can load the .xml file list from 'C:\Drag_list\Modified' into xmltype table?
    Thanks.
    Edited by: Cow on Apr 13, 2011 12:58 AM

    This is a question better suited for the sql and pl/sql support forum, since it is NOT an APEX based question..: PL/SQL
    Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Firefox flash plugin not loading external xml file?

    I have a Flash based website that uses an external xml file
    to load the interface and navigation. When I view the site in
    Firefox it never seems to load the xml file therefore the interface
    doesn't load.
    Any ideas?

    Hi,
    I have followed your instructions and could able to get it working for firefox. The sameway i tried with mozilla, but not working. This time, I didnt see any errors but it is not working as expected (no animations / images displayed)
    So could you please help me.
    My system config. is X86 Solaris 5.10.
    bash-3.00# pwd
    /usr/sfw/lib/mozilla/plugins
    bash-3.00# elfdump -e libflashplayer.so
    ELF Header
      ei_magic:   { 0x7f, E, L, F }
      ei_class:   ELFCLASS32          ei_data:      ELFDATA2LSB
      e_machine:  EM_386              e_version:    EV_CURRENT
      e_type:     ET_DYN
      e_flags:                     0
      e_entry:                  0x94  e_ehsize:     52  e_shstrndx:   37
      e_shoff:              0x7fb4ac  e_shentsize:  40  e_shnum:      39
      e_phoff:                  0x34  e_phentsize:  32  e_phnum:       3Thanks
    Ram.

  • Help in loading the xml file using  AS 2.0

    Hi
    I try to load the Xml file in As file but i need do all the
    fetching details from the __LoadXmlFile file function
    but it's working fine can any one help me for this issue
    ~~Sk

    You can't! Well, at least Flex cannot do this. All Flex can
    do is send this data -- any data -- to the server and it's up to
    you how you want to append this data to a file on the server.
    You see, flex can't write to local files. If you looking for
    client side file manipulation, take a look at Flex's desktop
    brother call AIR!
    ATTA

  • Multiple "slapd[46]: could not load the replica file" Errors

    Hi,
    We've got an OD master (10.4.8) that sporadically falls into a state where it reports the error "slapd[46]: could not load the replica file." many times over in the system log. It will start this with no warning and when everything is running just fine, but once it has started there errors build up until it is reporting them up to 20 times a second. Usually once it gets to this stage directory services start to suffer badly across the network and all connected servers. We usually have to reboot various servers at this point including the ODM in order to get services up and running again. After the reboots sometimes the problem will just disappear, sometimes it will just start building up again.
    We only have one other replica (down from 4) which is on a separate subnet across a WAN. We managed to get rid of the problem for a while by getting rid of the replicas on the local subnet, but it just pops back up again for no apparent reason.
    We attempted to install a new ODM with a brand spanking PW server a while ago and new replicas, but hit the same issue sometime into the install.
    The only time I've ever seen an issue with this many errors being reported so often it turned out to be a network loop, but I know there is not one present now. I did wonder about a rogue device on the network causing issues but I'm not fixed on this.
    Can anyone give me any ideas where to start looking for a resolution?
    Cheers
    Dan

    Step 1: Download subinacl.msi from the link
    http://go.microsoft.com/fwlink/?LinkId=23418 and install it.
    Step 2: Download my modified version of reset.cmd from
    http://gerger.com/o/assets/x/?id=22540 and save the file in 'C:\Program
    Files\Windows Resource Kits\Tools'.
    Step 3: Open Command Prompt as Administrator and type the following without
    quotes (hit Enter):
    'cd c:\program files\windows resource kits\tools'
    Step 4: Now type 'reset.cmd' and hit Enter (without quotes)
    You will see the Command Line Tool running for some seconds. The issue
    should have been fixed and Quicktime should run again.
    Enjoy!

  • Open Dataset for XML not reading the XML file, Returning Code 8.

    Dear all,
    Im trying to open an XML file using Open Dataset, since i have to execute this report in background and GUI_upload doesnt work in background.
    The XML file is available in my C:\, say, C:\xmlfile.xml.
    But  the open dataset is not reading any value into the g_xml_line . it is returning sy-subrc = 8.
    Below is my code for that, can anybody help me out to resolve.
    DATA : lv_filename LIKE rlgrap-filename.
      CLEAR: lv_filename.
      lv_filename = p_input.
      OPEN DATASET lv_filename FOR INPUT IN BINARY MODE.
      IF sy-subrc ne 0.
        WRITE:/ 'invalid file'.
      else.
      DO.
        READ DATASET lv_filename INTO  g_xml_line.
        IF sy-subrc EQ 0.
          APPEND g_xml_line TO g_xml_table.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
      CLOSE DATASET lv_filename.
       ENDIF.
    TYPES: BEGIN OF t_xml_line,
            data(256) TYPE x,
          END OF t_xml_line.
    DATA: g_xml_table       TYPE TABLE OF t_xml_line,
          g_xml_line        TYPE t_xml_line,
          g_xml_table_size  TYPE i.
    GET REFERENCE OF gt_person INTO gs_result_xml-value.
      gs_result_xml-name = 'IPIX'.
      APPEND gs_result_xml TO gt_result_xml.
    Perform the XSLT stylesheet
      TRY.
          CALL TRANSFORMATION zaum_manh_sync_rpt
          SOURCE XML g_xml_table
          RESULT (gt_result_xml).
        CATCH cx_root INTO gs_rif_ex.
          gs_var_text = gs_rif_ex->get_text( ).
          MESSAGE gs_var_text TYPE 'E'.
      ENDTRY.
    Kindly suggest me a solution. Points assured
    regs,
    raja

    After saving the file , below is the code i wrote, but it gives a runtime error with message
    No roll storage space of length 3788808 available for internal storage.
    ***Coding****
    PARAMETERS: p_file TYPE pathintern LOWER CASE DEFAULT '/usr/sap/DEV/SYS/global/XMLABAP2.XML'.
    DATA : lv_filename LIKE rlgrap-filename.
      CLEAR: lv_filename.
      lv_filename = p_file.
      DATA: l_fname TYPE filename-fileintern. " File name
    *GET THE FILENAME FROM THE APPLICATION SERVER
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
        EXPORTING
          directory        = p_file
          filemask         = '*'
        IMPORTING
          serverfile       = l_fname
        EXCEPTIONS
          canceled_by_user = 1
          OTHERS           = 2.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    */usr/sap/DEV/SYS/global/substanc
      lv_filename = l_fname.
      OPEN DATASET lv_filename FOR INPUT IN BINARY MODE.
      IF sy-subrc NE 0.
        WRITE:/ 'invalid file'.
      ELSE.
        DO.
          READ DATASET lv_filename INTO  g_xml_line.
       IF sy-subrc EQ 0.
          APPEND g_xml_line TO g_xml_table.
       ELSE.
         EXIT.
       ENDIF.
        ENDDO.
        CLOSE DATASET lv_filename.
      ENDIF.

  • How to load the XML file to BW3.5

    Hi Gurus,
    i am following the steps for extracting the data from XML to 3.5 following the steps in the HOWTOSENDXMLDATATOBW.doc. i have a doubt at the 22 nd Point where in the document given that jump to point 26 for 3.5 version. But where we need to specify the path of the XML file. Used the Tcode WSADMIN to test the Webservices, but i am unable to load the delta due to the above problem. what are the steps i need to follow in WSADMIN. We are using SOAPservice in BW.
    Please help me for finding the soluction for XML loading of the delta data to BW.
    Thanks,
    James
    Message was edited by:
            james winslet

    Hi,
    I am sending you a link that will provide you with some good idea on XML File Uploading....
    How to upload XML flat file
    Hope this helpful... award points
    regards,
    raj
    Message was edited by:
            gangaraju mullapudi

  • The find function (Ctl+F) , doesn't not expanding the xml file , to search for given search. If the the xml file is expanded , then find function finds the tag and data. How to fix this.

    The find function doesn't expanding the xml nodes to search. If the xml is expanded , then find function highlights both matching tag and data. how to fix this.
    == This happened ==
    Every time Firefox opened

    <xsl:value-of select="x"/> produces a string that consists of all text nodes in x.
    <xsl:copy-of select="x"/> produces an exact copy of x.
    Go to http://www.zvon.org/ for more information like this.

  • History not saved in the .json file - need help saving history

    The backup of the bookmarks AND history does not save the HISTORY. Help me here, why does the bookmarks get backed up, but not the History ?
    The experience of clicking on the History menu, then SHOW ALL HISTORY pulls up a Library applet that IMPLIES that the History will be preserved in the backup.
    I think there are more than a few people who would use this since migration to a new machine means severing one's HISTORY, unless a backup is available.
    David
    ps, thanks Goliath

    Bookmarks are backed up in the JSON file, history isn't.
    See for transferring your data to a new PC.
    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

  • How to create Inbound Idoc from XML file-Need help urgently

    Hi,
    can any one tell how to create inbound Idoc from XML file.
    we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml'  we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
    Please let me know the process to trigger inbound Idoc with out using  XI and any other components.
    Thanks in advance
    Dora Reddy

    Hi .. Did either of you get a result on this?
    My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
    I see lots of mention of using a Function Module.
    Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
    Or is there something tht can be done with Standard SAP?
    Thanks
    Lee

  • Writing to XML files need help

    Guys,
    I need to pull out data from the database and write it to multiple flat files in XML.
    I can't do it on the database server using utl_file, I need to do it on the client.
    Can you tell me the best way to achieve it.
    I am giving you a sample plsql that we have built.
    I have to create one file for each deptno.
    Your values suggestions/inputs would be appreciated.
    Dhiren
    declare
    queryCtx dbms_xmlquery.ctxType;
    cursor c1 is select * from dept;
    result clob;
    begin
    for c1rec in c1
    loop
    queryCtx := DBMS_XMLquery.newContext('select .... from emp where deptno = c1.deptno');
    result := DBMS_XMLquery.getXML(queryctx);
    DBMS_XMLquery.closecontext(queryctx);
    end loop;
    end;

    use the above pl/sql to generate xml.
    next step would be to create a folder on the xmldb repository.
    this has to be done with SYS user.
    DECLARE
    l_success      BOOLEAN := FALSE;
    l_resourceURL  resource_view.any_path%TYPE := '/public/scott';
    BEGIN
    IF (NOT DBMS_XDB.EXISTSRESOURCE(l_resourceURL)) THEN
         l_success := DBMS_XDB.CREATEFOLDER(l_resourceURL);
         COMMIT;
    END IF;
    END;
    /so now you have your folder as /public/scott under which you can create resources.
    resources in XMLDB is nothing but files.
    so the generated xml can be saved as xml file under the above path.
    to create a resource, you need xmldata and the resource name.
    eg.
    dbms_xdb.createresource('/public/scott/myxml.xml', l_xml_data);
    commit;
    now you can ftp the resource to the client,
    open <server name> 2100
    user scott tiger
    get /public/scott/myxml.xml c:\temp\myxml.xml
    close
    bye
    that's it.
    good luck.
    check the port of the ftp . normally by default it is 2100 unless it is changed by your admin,

  • Router's Web-based page not loaded correctly.. Need Help!!

    I'm using WRT54G v2.2 router and recently i noticed tat i've flashed a wrong firmware which is WRT54GL version, so wat i did was i flash the original v2.2 firmware which i noticed it had not been updated since 2007... after i flashed the router and i log into the 192.168.1.1 webpage.. all the tabs and many options are missing as though the page was not loaded correctly or fully loaded and i cant even get into the management page and so on..
    I really need help on this..  

    Hold the reset button down for 30seconds and then release it. Unplug the power cable for 10 seconds. try accessing the set up page once again and see if it makes a difference.

  • Twitter still will not load. Please I need help

    I did the hard shut of and twitter still will not load, I need help please

    what error are you getting - or is it just crashing on open - i have an iPhone 5 with IOS 6.0.1 and the twitter app works fine - have tou tried any of the alternative twitter apps available in the app store ( i am assuming you are talking about the official twitter app)?

  • The agent can not upload the xml file in the repository of the OMS

    Hi,
    I install an agent 10.2.0.4 HP-UX v.11.23, 64 bit, which has an Oracle database v.10.2.0.4.
    The OMS identified a single server, but no database.
    I uninstall the agent and remove the server from the OEM (html).
    I install agent again with the patch 6409645.
    Configure a security key to the agent (emctl secure agent).
    However, it generates a file error emagent.trc, when i start the agent:
    2009-04-14 12:23:05,819 Thread-1 WARN collector: MESSAGE_NLSID "Successful Name Registration Request Sent By Identity Provider(%)" is too long, truncating to "Successful Name Registration Request Sent By Identity Provider(%"
    2009-04-14 12:23:40,616 Thread-21 WARN upload: FxferSend: received http error in header from repository: https://gcontrol.manquehue.local:1159/em/upload
    ERROR-400|ORA-01861: literal does not match format string
    2009-04-14 12:23:40,619 Thread-21 ERROR upload: Failed to upload file B0000001.xml: HTTP error.
    Response received: ERROR-400|ORA-01861: literal does not match format string
    Please anyone can help me?
    David

    Hi:
    Do the following in OMS host:
    [oracle@gcontrol bin]$ ./emctl secure unlock
    Oracle Enterprise Manager 10g Release 4 Grid Control
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Checking the security status of the OMS... Done.
    Stopping the HTTP Server... Done.
    Updating HTTPS Virtual Host for Enterprise Manager OMS... Done.
    Starting the HTTP Server... Done.
    OMS Unlocked. Non Secure Agents may upload using HTTP.
    [oracle@gcontrol bin]$
    In Agent host:
    $AGENT_HOME/bin/emctl unsecure agent
    $AGENT_HOME/bin/emctl secure agent
    $AGENT_HOME/bin/emctl start agent
    $AGENT_HOME/bin/emctl status agent
    $AGENT_HOME/bin/emctl upload agent
    but the error continues:
    2009-04-16 18:08:07,700 Thread-1 WARN http: snmehl_connect: connect failed to (delfos:1830): Connection refused (error = 239)
    2009-04-16 18:08:07,700 Thread-1 ERROR main: nmectla_agentctl: Error connecting to https://delfos:1830/emd/main/. Returning status code 1
    Even start the agent without security, but the error remains. (unsecure only)
    2009-04-16 18:07:43,353 Thread-1 WARN http: snmehl_connect: connect failed to (delfos:1830): Connection refused (error = 239)
    2009-04-16 18:07:43,354 Thread-1 ERROR main: nmectla_agentctl: Error connecting to http://delfos:1830/emd/main/. Returning status code 1
    Not yet implemented $OMS_HOME/bin/emctl secure lock
    Any idea?
    Thanks for your help.
    David

Maybe you are looking for

  • CVD posting

    Hi, I am using TAXINN procedure for calculating my taxes. While maintaining excise default I have only kept JCV1 as CVD condition and rest of the field left blank. Now, I am doing Import procurement with zero (V0) Tax code. Following are the procedur

  • Using MacBook Pro abroad

    Hi, I have recently bought a new MacBook Pro with Retina display 13" in Australia and I'm going to Sweden for a while. Do I need to buy an adapter/converter ? Or will a simple plug (the kind you can get at an airport) do? I have plenty of different p

  • Whats the differece between them?

    Can anyone explain me the difference in this code? Why do we an if(!) condition? What are the best reasons to go for this kind of code? What is wrong with my breat label statement below? List<SalesOrder>listReturned = new ArrayList<SalesOrder>(); Set

  • Upstream WSUS Server and Sync

    Hello, Environment : 1. Server 2008 R2 Main Upstream server, hosts update content locally, SQL DB on another system.  2.  2 - Server 2008 R2 downstream servers, host update and sql content locally. We had our Main Upstream WSUS server crash after app

  • Exporting DVCPRO HD 720p24 to MPEG4 how do I respect the ratio 16:9??

    Hi I have to export a DVCPRO HD 720p24 project to an MPEG4, when I do it through compressor I play the QT after and it comes out as 4:3 and not the 16:9. Help???? Guy