Problem with load XML data

Hi.
I have a problem this load XML data. For example: file name:
01-05-2008.xml => in this file all data have date=01.05.2008.
Once i load period 01.05.2008 to 10.05.2008 my app load 10 files.
Sometimes some row this greater date stay earlier then row this
smaller date. I don't know why this happend. Bellow part of code.
Please help.
P.S. sorry for my very bad english.

Hi Lekser,
ntsii is totally right.
Calling httpservice send is a async operation, which means
you don´t know when the result event of such operation will
return.
You can also sort your grid after a xml data file was loaded.
At least it would guarantee that the entries appear in the
right order.
best regards,
kcell

Similar Messages

  • Xml publisher enterprise!!! create rtf file dynamically with load xml data

    i am new to xml publisher enterprise , i want a solution for this question ...
    i want create rtf file dynamically with loading xml data....means i wrote a program in jsp where the the output in xml file simultaneously create rtf file..but i enable load the xml data in rtf file but when i goto rtf file from where data in that load xml then it genrate the columns..but i want in dynamiclly to load the data will you please guide me ......

    Hi Atiq
    Im not quite clear on the requirement here:
    1. Do you just want to be able to extract the data and apply a template to the XML data from your jdp and render output?
    If so then you can use the XMLP APIs ... the are in the user guide. Particularly:
    RTFProcessor - converts RTF template to XSLFO stylesheet
    FOProcessor - takes, XML data, XSLFO stylesheet and output format and generates the required output.
    2. Do you want a template that will accept any data and just format it into rows and columns ? This can be written but your XML structure is going to have to be static, the data of course can be dynamic.
    Regards, Tim

  • Problem with a XML Data Server

    Hello,
    I am facing a problem in defining the data server for an XML File.
    This Xml File is well build and I can open it with IE.
    In this file I have a namespace define.
    I define the url driver as following : jdbc:snps:xml?f=C:/Temp/dossiers_suisse.xml&s=XML_DOS_HAB_S
    but I always have the following error message :
    java.sql.SQLException: The model generated by the model mapper was not accepted by a validator: Modèle non accepté: Namespace not found:
    When I remove the namespace of the xml file the test works well.
    I was searching for the driver documentation but I just find few informations on the webhelp.
    Maybe there is a parameter to pass to the Driver URL to define the namespace but there is not in the web help.
    So if someone know how to do with this sort of file ?
    Or if someone know where I can find the real documentation for this driver ?
    Thanks in advance...
    BM

    I am able now to test my connexion succesfully after having restart my ODI.
    I can reverse my XML file too.
    But my datastores are empty except the first datastore genrated which correspond to the first Tag (the one after the root).
    Please Help...

  • Problem with multiple XML data sources

    Hi there,
    I have a template (i'm using XML publisher). I need to use 2 different XML data files in the same template, but i couldn't find any way of doing so. Can somebody help me with this issue please? You obviously cannot load 2 XML Data sources in the same template.
    Thanks and Regards,
    Luke

    Is your xml stored some where,
    then
    Create datatemplate and use the xml as datasource.
    You can create it using the following sysntax
    <dataTemplate name="Employee" description="L" version="1.0">
    <dataQuery>
    <xml name="xml_emp" expressionPath=".//ROW">
    <url method="GET" realm="" username="" password="">
    file:///C:/dept_employee.xml</url>
    </xml>
    <xml name="xml_dept" expressionPath=".//ROW">
    <url method="GET" realm="" username="" password="">
    file:///C:/dept.xml</url>
    </xml>
    </dataQuery>
    <dataStructure>
    <group name="EMP" source="empxml">
    <element name="NAME" value="ENAME"/>
    your element here
    </group>     
    <group name="DEPT" source="xm_DEPTl">
    <element name="DNAME" value="DPTNAME"/>
    your element from 2nd xml here
    </group>     
    </dataStructure>
    </dataTemplate>
    Now your two xml source will become single source for the report.

  • Problem with loading XML file from directory.

    Hello everyone.
    *1)* I have directory defined by DBA. I have read, write privileges. I can read file from this directory using UTL_FILE, I can create file in this directory using UTL_FILE. I tried many times and it does not seem to be any problems.
    *2)* I have very simple XML table (with just one column of xmltype). I can insert into this column using:
    insert into temp_xml values (
    Xmltype ('<something></something>')
    *3)* When executing
    insert into temp_xml values (
    Xmltype (
    bfilename('XML_LOCATION', 'sample.xml'),
    nls_charset_id('AL16UTF8')
    I'm receiving an error:
    Error report:
    SQL Error: ORA-22288: file or LOB operation FILEOPEN failed
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at line 1
    22288. 00000 - "file or LOB operation %s failed\n%s"
    *Cause:    The operation attempted on the file or LOB failed.
    *Action:   See the next error message in the error stack for more detailed
    information. Also, verify that the file or LOB exists and that
    the necessary privileges are set for the specified operation. If
    the error still persists, report the error to the DBA.
    *4)* Previously I was receiving more descriptive errors like permission denied, file not exists etc. This time there is no clear description apart from "file or LOB operation %s failed\n%s". I'm sure I can access this file in this directory (I used UTL_FILE to dbms_output the content).
    Any help would be greatly appreciated.
    Regards
    Marcin Jankowski

    Hi Marcin,
    Welcome to the forums.
    One very important thing with Oracle XML : please always give your database version, all four digits (e.g. 10.2.0.4).
    Does the directory resides on the same machine as the database? Which OS?
    Does any of the following work ?
    DECLARE
       v_lob   CLOB;
       v_file  BFILE;
    BEGIN
       v_file := BFILENAME('XML_LOCATION','sample.xml');
       DBMS_LOB.createtemporary(v_lob, true);
       DBMS_LOB.fileopen(v_file);
       DBMS_LOB.loadfromfile(v_lob, v_file, DBMS_LOB.getlength(v_file));
       INSERT INTO temp_xml VALUES( xmltype(v_lob) );
       DBMS_LOB.fileclose(v_file);
       DBMS_LOB.freetemporary(v_lob);
    END;
    DECLARE
       v_lob   CLOB;
    BEGIN
       v_lob := DBMS_XSLPROCESSOR.read2clob('XML_LOCATION', 'sample.xml', nls_charset_id('AL16UTF8'));
       INSERT INTO temp_xml VALUES( xmltype(v_lob) );
    END;
    /

  • Problem with inserting XML data server in ODI

    Hi,
    I was trying to insert an XML data server in ODI. I want to use it for my target database.i.e i want my target to be an xml file. So while specifying the url in the data server, what should i mention as the file name,dtd file , root etc? what i have done is dat i hav created the dtd file as per my requirement.i have created an empty xml file. while testing the connection an error comes : java.sql.SQLException: A parsing exception occurred saying Whitespace required..
    Next i tried putting jz d root tags in the xml file without any content. this returned the same error. next i tried inserting all d tags as per my dtd file. same error came...
    Please help.
    Regards,
    Divya
    Message was edited by:
    Divya Padmanabhan

    For empty xml try to use:
    <?xml version="1.0" encoding="UTF-8"?>
    <ROOT_SOME></ROOT_SOME>
    as jdbc connect string:
    jdbc:snps:xml?f=../demo/xml/1/file.xml&ro=false&ldoc=true&case_sens=true&s=LEO_FIZ&dod=true
    and try again...

  • Problem with extracting Xml data source fields

    Post Author: new_crystal
    CA Forum: Crystal Reports
    Hi,
    I am creating a report which has a xml data source.
    I have a field named fieldvalue in the xml, I need to present this fieldvalue in a column format based on the name of the column heading which is another field in the database called fielddata
    here is what i want
    fielddata1     fielddata2    fielddata3 .......
    fieldvalue1    fieldvalue2   fieldvalue3......
    i have dragged the fieldvalue 3 times in the report and applied different formula for each one of them
    here is the eg. of the formula
    if ( = "A" ) then
    but it is not giving me the correct values pulled from the data source. for the first column it is pulling correctly but for the rest of the columns it is giving values as 0's.
    Can anyone help me out in this? It is pretty urgent!
    Thanks

    Post Author: tel
    CA Forum: Crystal Reports
    I have no idea how to format it in Crystal Reports (i'm new to it too), but if worse comes to worse, you can create an XSLT stylesheet to convert the XML into a format that is easier for Crystal to use. 
    In case you don't know XSLT is a programming language that is designed to convert one XML format into another.

  • Problems with loading JSON data

    Hi,
    I have been following Simon Widjaja(EDGEDOCKS) YouTube lesson for loading external JSON data. But i'm not able to at least log the data to console.
    I get this error: "avascript error in event handler! Event Type = element"
    content.json is in the home folder. Data in it is very simple:
      "title": "TITLE 1",
      "description": "DESCRIPTION 1"
      "title": "TITLE 2",
      "description": "DESCRIPTION 2"
    And here's the code in edgeActions.js:
    (function($, Edge, compId){
    var Composition = Edge.Composition, Symbol = Edge.Symbol; // aliases for commonly used Edge classes
       //Edge symbol: 'stage'
       (function(symbolName) {
             Symbol.bindElementAction(compId, symbolName, "document", "compositionReady", function(sym, e) {
             // loading external json data
             $.ajax({
             type: "GET",
             cache: false,
             url: "content.json",
             datatype: "json",
             success: function(data){ console.log("data: ", data); },
             error: function() { console.log("something went wrong"); }
          //Edge binding end
       })("stage");
       //Edge symbol end:'stage'
    })(window.jQuery || AdobeEdge.$, AdobeEdge, "EDGE-11125477");
    I have tried $getJSON also as mentioned in the youtube video.
    Please note: I don't get "something went wrong" also logged.
    I'm using the free trial version. Is this is a limitation in the free trial?

    Well, same issue as here: Loading external data using ajax
    The jQuery file is missing, so $.ajax() or $.getJSON() cannot run.
    You have to add the jQuery file as indicated below:
    See: http://jquery.com/download/
    Note: Without loading the jQuery file, you can use these functions: Adobe Edge Animate CC JavaScript API

  • A problem with loading xml from external URl in flex

    So I have a server running (localhost) and I wrote an  application to request information from another website and return data  (xml). The application worked fine when I was using the flash builder  and just testing it on my machine (not using the localhost), when I  started using the server with the same exact code, it requested the  crossdomain.xml file to assure that I can request information from that  site, so I added the file and the file is right, the script gets it  (according to firebug), however, it is not getting the xml information  it should get, it just gets stuck with (waiting information from  blah.com) at the bottom.
    Is there a way to solve the problem?
    (I turned my firewall off and it didn't work either)

    Yeah I did test the URL and everything is going fine, the information is not returned to the flex application that's all.
    I am testing with FireBug and it is telling me that the request is in fact sent to the site but I don't think anything (either than the crossdomain function) is returned.
    Thanks for the help, I am really not sure what is going on.

  • [SOLVED Thanks ]// problem with loading XML in projectors and Firefox

    Hi !
    I've been working and testing my movie in flash only. when I
    start the file in IE it works but when I try to load the file in
    firefox or make a standalone exe player it won´t read the
    XMLfile. I've tried to allow all access and set the root in the
    tilestructor to a trusted location in the flashplayers settings.
    /Micke

    HI Micke,
    What is the code you are using to load the XML file ?
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • Loading xml data to a oracle database problem in style sheet

    Hi,
    I Have one small Problem While loading xml data to a oracle database.
    In the XML i have the Columns and Data Like this.
    <Data>
    <TRAN>
    <Type_Trs>A</Type_Trs>
    <T1>2</T1>
    <T2>3</T2>
    </TRAN>
    <TRAN>
    <Type_Trs>B</Type_Trs>
    <T1>2</T1>
    <T2>3</T2>
    </TRAN>
    </Data>
    I have TRAN Table having Field Like this.
    TRAN(Type_Trs,T1,F)
    Note:- The XML Column T2 is Not matching with TRAN Table Column F
    I want to fetch T2 data into F column.
    When I am fetching the xml data into oracle table only
    one row is fetching.
    Can You help me
    To load the the all the record of XML data into the Oracle Table
    What will be my XLS Style Sheet File Please
    suggest me.
    Regards
    MBR
    Thnks in Advance

    Hi MBR
    You would be better posting your question to the general XML forums:
    http://forums.oracle.com/forums/category.jspa?categoryID=51
    This is purely for XML/BI Publisher where we get the data back out of the db :o)
    Tim

  • Problem with loading data to Essbase

    Hi All,
    I have a problem with loading data into Essbase. I've prepared maxl script to load the data, calling rule file. The source table is located in RDBMS Oracle. The script works correctly, ie. generally loads data into Essbase.
    But the problem lies in the fact, that after deletion of data from Essbase, when I'm trying to load it again from the source table I get the message: WARNING - 1003035 - No data values modified by load of this data file - although there is no data in Essbase... I've also tried to change the mode of loading data from 'overwrite' to 'add to existing values' (in rule file) but it does'nt help ... Any ideas what can I do?

    Below few lines from EPM_ORACLE_INSTANCE/diagnostics/logs/essbase/dataload_ODL.err:
    [2013-09-24T12:01:40.480-10:01] [ESSBASE0] [AGENT-1160] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1116830016] Received Validate Login Session request
    [2013-09-24T12:01:40.482-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1114724672] Received client request: Get App and Database Status (from user [admin@Native Directory])
    [2013-09-24T12:01:54.488-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1101564224] Received client request: MaxL: Execute (from user [admin@Native Directory])
    [2013-09-24T12:01:54.492-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1115777344] Received client request: MaxL: Describe (from user [admin@Native Directory])
    [2013-09-24T12:01:54.492-10:01] [ESSBASE0] [MLEXEC-2] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1115777344] Output columns described
    [2013-09-24T12:01:54.494-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1102616896] Received client request: MaxL: Define (from user [admin@Native Directory])
    [2013-09-24T12:01:54.494-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1102616896] Received client request: MaxL: Fetch (from user [admin@Native Directory])
    [2013-09-24T12:01:54.494-10:01] [ESSBASE0] [MLEXEC-3] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1102616896] Record(s) fetched
    [2013-09-24T12:01:54.496-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1116830016] Received client request: MaxL: Fetch (from user [admin@Native Directory])
    [2013-09-24T12:01:54.498-10:01] [ESSBASE0] [AGENT-1160] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1114724672] Received Validate Login Session request
    [2013-09-24T12:01:54.499-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1101564224] Received client request: Get Application State (from user [admin@Native Directory])

  • Best method to load XML data into Oracle

    Hi,
    I have to load XML data into Oracle tables. I tried using different options and have run into a dead end in each of those. I do not have knowledge of java and hence have restricted myself to PL/SQL solutions. I tried the following options.
    1. Using DBMS_XMLSave package : Expects the ROWSET and ROW tags. Connot change format of the incoming XML file (Gives error oracle.xml.sql.OracleXMLSQLException: Start of root element expected).
    2. Using the XMLPARSER and XMLDOM PL/SQL APIs : Works fine for small files. Run into memory problems for large files (Gives error java.lang.OutOfMemoryError). Have tried increasing the JAVA_POOL_SIZE but does not work. I am not sure whether I am changing the correct parameter.
    I have read that the SAX API does not hog memory resources since it does not build the entire DOM tree structure. But the problem is that it does not have a PL/SQL implementation.
    Can anyone PLEASE guide me in the right direction, as to the best way to achieve this through PL/SQL ??? I have not designed the tables so am flexible on using purely relational or object-relational design. Although would prefer to keep a purely relational design. (Had tried used object-relational for 1. and purely relational for 2. above)
    The XML files are in the following format, (EXAMINEEs with single DEMOGRAPHIC and multiple TESTs)
    <?xml version="1.0"?>
    <Root_Element>
    <Examinee>
    <MACode>A</MACode>
    <TestingJID>TN</TestingJID>
    <ExamineeID>100001</ExamineeID>
    <CreateDate>20020221</CreateDate>
    <Demographic>
    <InfoDate>20020221</InfoDate>
    <FirstTime>1</FirstTime>
    <LastName>JANE</LastName>
    <FirstName>DOE</FirstName>
    <MiddleInitial>C</MiddleInitial>
    <LithoNumber>73</LithoNumber>
    <StreetAddress>SomeAddress</StreetAddress>
    <City>SomeCity</City>
    <StateCode>TN</StateCode>
    <ZipCode>37000</ZipCode>
    <PassStatus>1</PassStatus>
    </Demographic>
    <Test>
    <TestDate>20020221</TestDate>
    <TestNbr>1</TestNbr>
    <SrlNbr>13773784</SrlNbr>
    </Test>
    <Test>
    <TestDate>20020221</TestDate>
    <TestNbr>2</TestNbr>
    <SrlNbr>13773784</SrlNbr>
    </Test>
    </Examinee>
    </Root_Element>
    Thanks for the help.

    Please refer to the XSU(XML SQL Utility) or TransX Utility(for Multi-language Document) if you want to load data in XML format into database.
    Both of them require special XML formats, please first refer to the following docs:
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/xsu/xsu_userguide.html
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/transx/readme.html
    You can use XSLT to transform your document to the required format.
    If you document is large, you can use SAX method to insert data into database. But you need to write the code.
    The following sample may be useful:
    http://otn.oracle.com/tech/xml/xdk_sample/xdksample_040602i.html

  • Loading XML data in Utilities

    I need to load some XML data into a staging table.
    I am using this navigation path...
    Home>Utilities>Data Load/Unload>Load>Load XML Data
    The staging table is setup with the columns in the XML file.
    I am receiving this error when I attempt to load the XML file:
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
    I'm not sure that I have the correct columns in the table to match the XML file.
    Is there any documentation describing what columns should be in the table I am loading the XML data into?
    Many Thanks,
    Reid

    There are detail steps here: Sending XML file data into BW
    Otherwise please specify where you faced problems.

  • XML Publisher Issue, Unable to see Data-- Load XML Data Option.

    Hi ,
    Can any one help to solve this issue.
    Iam using XML Publisher tool to develop Oracle reports.
    while doing this iam unable to useXML Publisher.
    We have,
    XML Publisher 5.5 version,
    My problem is iam unable to see " *Microsoft word-->Data-->Load XML Data* " after installation of xml publisher succesfully.
    Every one in my team are working with the same versions.but in my machine iam unable to get this option.
    Thanks-
    Sowmya.

    Hi Sairam,
    Check the checkbox Convert database Null values to default and Convert other Null values to default under Edit -> Report Options and then refresh the report.
    If this does not work you can contact SAP Support.
    - Nrupal

Maybe you are looking for

  • PDF back to editable text - is it possibly ?

    Hi got a .pdf document that needs to be corrected. Can it be imported into Pages08 or any other text editor ? Yours Bengt W

  • Can I use EEM to upload long scripts and run them?`

    I asked this question here, on ServerFault, and they guided me to here. The issue is basic. If I need to run hundreds of al/ag/ng/no commands on a Cisco ASA programmatically, I need to do it via a SSH shell, with the restriction that the ASA will not

  • SSL indicator disappears when page with video tag has been loaded

    I have a strange bug in Firefox, that was detected when site moved to SSL. There is single page site built on Backbone. When page with video tag loaded SSL indicator disappears. Firebug shows that Firefox create GET request connection to the server b

  • Format menu button missing from MS Word for Mac

    Hi all, This is driving me crazy! My Word for Mac 2004 works perfectly, usually love it, but for some reason, the format menu -which I use to customize my default bullet and numbering lists, paragraph spacing etc. -is missing from the top of the scre

  • Actual cost line items for network

    Hello all, is there a way to display actual cost line items for networks? I have tried the following ways: - CJI3 - KOB1 When entering only the network number, the error message KB422 is displayed (No line items were selected). When entering the WBS