Using the XML file error

Hello

I use an XML file as the source in a map. This worked well until I changed the context during the execution of the mapping.

Initially, during the execution of the development, it worked without any problem. But when I changed the context to run the Test, he gave me the following error:-

ODI-1227: task load data-LKM SQL for Oracle-don't work not to connect to the source P6_ACTIVITIES - TEST.

Caused by: java.sql.SQLException: the object name already exists: P6ACTI_READACTIVITIESRESPONSE in the statement [create table P6ACTI_READACTIVITIESRESPONSE (READACTIVITIESRESPONSEPK NUMERIC (10) NOT NULL, SNPSFILENAME varchar (255) NULL, SNPSFILEPATH varchar (255) NULL, SNPSLOADDATE varchar (255) NULL)]

This object name, P6ACTI_READACTIVITIESRESPONSE created by ODI is a combination of scheme name defined in the JDBC URL properties (or the first five characters of the XML file) and the element root. Therefore, I don't have any control over the name, unless I have change the schema name property.

Restart the agent will solve the problem temporarily, but the error will appear again when the context is changed. My question is, how do I create/drop / let agent do this each time that the XML file is accessed ODI. I use ODI 12.1.3.

Thanks in advance,

Xmen

Only, you should be able to query code KM to understand if these tables are created, but generally it will be in the scheme of work specified on your server of intermediate technology.

We are not allowed to change the KMs, because it would create problems of alimony.


Who with Oracle or internally? A large part of ODI power lies in an open framework around KMs and as long as you develop and test carefully any customizations KM I really can't see why the support would be a problem. You can run the table to fall outside the knowledge module, would be - this also be a support issue, the main difference is that a KM custom allows to reuse easier?

Tags: Business Intelligence

Similar Questions

  • Center aligning images in table using the XML file

    Hello
    I use a flash file that uses an xml file to download a series of images one by one in a photo-gate.
    There are two different widths of images. The height is always the same. Is it possible to set up so that each image that calls file xml is center aligned as part of image.
    At the present time when using the xml file to load the image she always left aligns the image when he brings it in image even if you change the alignment to center align in the Panel align.
    Does anyone have a suggestion why this happens or how to fix it?
    Thanks for the help

    I did this quickly and did not test - but if it does not directly at the exit it might give you a starting point - or someone else can correct if there are errors. I'll check tomorrow - where I am its time to go to sleep...
    CHANGE the DETAILS: Just changed a few pieces of code I posted last night - I forgot to change the statement holder_mc.loadMovie in xml.onLoad Manager. I have not tested, but its along the lines of the approach I would use to solve your problem with resizing the image. Let me know how you go with it.

  • HTTP Communication tutorial - parsing of the XML file error

    Hello again,

    I went through the tutorial of HTTP Communication today is here. Built just fine and it loaded into the Simulator, however when I hit refresh to load the XML from an HTTP network call I get the error:

    XmlDataModel: Analysis of the file error... /... /.. /Data/model.XML on line 14, column 8: "unexpected character.

    After the end of the XML file, given the location of the character of line 14, column 8 is that it really confused me.

    Any thoughts on how to bypass this?

    The XML file can be found at https://developer.blackberry.com/cascades/files/documentation/device_platform/networking/model.xml

    try changing the url https://developer.blackberry.com/cascades/files/documentation/device_platform/networking/model.xml

  • Create an image slider using the XML file photo gallery

    Hello!

    I have created a photo gallery and generated an xml file.  I want to implement a cursor image on the home page that performs a simple fade from one image to the other.

    I'm not an expert on jQuery. The BC help section says to add code that retrieves in the XML file and THEN add another code query j who would style images and transitions.

    I don't know how to do this.  Here is my code and it does not work.

    If you have a simple solution, it would be great.

    There is a script called JSSOR

    "< script type =" text/javascript"src ="... / js/jquery-1.9.1.min.js "> < / script >"

    <!-use jssor.slider.mini.js (40 KB) instead for immediate release->

    <!-jssor.slider.mini.js = (jssor.js + jssor.slider.js)->

    < script type = "text/javascript" src = "javascripts/jssor.js" > < / script >

    "< script type =" text/javascript"src="javascripts/jssor.slider.js "> < / script >

    This is the beginning of the code BC gives to pull from the xml file into a div called "Gallery".

    < div id = 'Gallery' > < / div >

    < script type = "text/javascript" >

    {$(function()}

    $.ajax({)

    type: 'GET ',.

          url: " http://www.performanceaire.com/Fahrenheit-images/BannerGallery/Photogallery.XML ", / / replace with an absolute URL of the XML of your gallery of .

    data type: "xml."

    success: {function (xml)}

    {$(xml).find('img').each (function ()}

    location var = ' http://www.performanceaire.com/Fahrenheit-Images/BannerGallery/'; / / Replace with the absolute path to the directory that contains your images

    var url = $(this) .attr ('src');

    var alt = $(this) .attr ('alt');

    $('<li></li>').html (' < a href = "' + place +" + url + ' "> < img src ="' + place + "+ url + '" alt = "' + alt + '" / > < / a > ').appendTo('#gallery');

    });

    }

    });

    });

    This is the code taken from JSSOR to transitions occur, and it does not work... any ideas?

    jQuery (document) .ready (function ($) {}

    var options = {}

    $AutoPlay: true, / / [optional] If auto play, to activate the slide show, this option must be set to true, the default value is false

    $DragOrientation: 1 / / orientation [optional] to drag the slide, 0. drag, 1 horizental, 2 3 vertical or, default value is 1 (note that the $DragOrientation must be the same as $PlayOrientation when $DisplayPieces is more than 1, or in the parking position is not 0)

    };

    var jssor_slider1 = new $JssorSlider$ ("Gallery", options);

    });

    < /script >

    www.performanceaire.com/index-FS.html

    It is perhaps a bit much if you do not top:

    Developers

    http://www.BusinessCatalyst.com/BC-blog/BC-next-liquid-rendering-JSON-new-editing-capabili links-increased-performance

  • Automation of several Flash file by using the XML file 'mailing list '.

    I created a Flash interactive multi-fichiers 'demo' for a client. It is very well as a Web site (although he doesn't use it as a Web site) in the way it is stated that there is an index page which can then direct you to product categories, which you can click to see. Each 'page' contains the product (or product category) information, photos, diagrams, etc. There is nothing of Flash animation.

    My client also wants to be able to put in place so that the demo runs automatically in a configurable XML file. My ActionScript skills are fairly limited, but I was able to by using ActionScript 3 to load and read XML file. A loop using 'for', I am able to read the XML file and returns the path of each Flash file and the time that each file must be displayed (my client asked that he able to configure the duration of each page as well).

    I created a charger for each video clip and a timer for the duration. Unfortunately, the thing that throws me off is that when I try to load the clip (as the last element in the loop for), it reads the entire XML file, returns all the clips and the durations (I use trace to see this) before loading the clip. Thus, the single loaded clip is the last reading of the XML file.

    As I said, I'm not very good at ActionScript, so everything I managed to combine was internet tutorials.

    This is my code:

    var xmlLoader:URLLoader = new URLLoader();

    xmlLoader.addEventListener (Event.COMPLETE, xmlLoaded);

    var mcLoader:Loader = new Loader();
    mcLoader.contentLoaderInfo.addEventListener (Event.INIT, playClip);

    var mcCurrent:MovieClip = new MovieClip();
    stage.addChild (mcCurrent);

    var xml;

    function playClip(e:Event):void
    {
    trace("Function:playClip");
    stage.removeChild (mcCurrent);
    mcCurrent = MovieClip (mcLoader.content);
    mcLoader.unload ();
    stage.addChild (mcCurrent);
    }

    function xmlLoaded(e:Event):void
    {
    trace ("function: xmlLoaded");
    XML = new XML (e.target.data);

    var cl:XMLList = xml.clip;
    for (var i: uint = 0; i < cl.length (); i ++)
    {
    trace ("Begin"for"loop");
    trace ("variable" i "is" + i);

    clipPath var = cl[i].@path;
    var delay = cl[i].@duration;

    trace ("Clip path is" + clipPath);
    trace ("Display for" + delay);

    mcLoader.load (new URLRequest (clipPath));
    }
    }

    xmlLoader.load (new URLRequest ("filerunlist.xml"));


    I removed the timer event because, like all the rest was repeated until whatever it is obtained, so I wanted to figure out out to get the charger clip (mcLoader) to load the clip for each file, before I realized where put in the time to make sure each element is displayed for the appropriate duration. I suspect that the timer event must occur in the function "playClip", but that it would take advice on that as well.

    Thanks to anyone who can help me understand this.

    You need to do in the service of parsing xml is just to store all data in a table.  You will use while an array element after another through some timer control you set up, access each file in the order that they are stored in the table.  You do not load in this function, all data storage, and when finished, the last line of this function outside the loop, fires at any function you have who begins to treat the first element of the array.

    For example, to store the data objects in the array...

    var clipData:Array = new Array();   store your data xml here

    var clipToShow:uint = 0;                   use later in the function showClip

    function xmlLoaded(e:Event):void
    {
    trace ("function: xmlLoaded");
    XML = new XML (e.target.data);
       
    var cl:XMLList = xml.clip;
    for (var i: uint = 0; i
    {
    clipArray.push ({clipPath: cl[i].@path, delay: cl[i].@duration});

    }

    showClip();
    }

    function showClip() {}

    Regardless of the process of loading .clipPath clipArray [clipToShow]

    and using clipArray [clipToShow] .delay to start some timer is involved

    the timer handler function calls this function when it is run

    clipToShow += 1;   increment the counter for the next clip online

    }

    If you are not comfortable/familiar with the approach of the object, then you could also store the clip and delay data in two separate tables.

  • Clone several nodes and appl_top shared using the XML file backup

    Can I use work save file of application context to repeat the clones and avoid to perform following steps:

    -Configure the node C (run '"perl adclonectx.pl sharedappltop contextfile = < context of Applications for the existing node file >' and ' perl-I < AU_TOP > / perl txkSOHM.pl"orders ")

    If I work the previous clone XML, I would be able to use the same XMl file for re - clone without implement shared appltop and add a node step. Please, share your ideas.

    ma_apps wrote:
    Can I use work save file of application context to repeat the clones and avoid to perform following steps:

    -Configure the node C (run '"perl adclonectx.pl sharedappltop contextfile =' and 'perl - I /Perl txkSOHM.pl"orders)

    If I work the previous clone XML, I would be able to use the same XMl file for re - clone without implement shared appltop and add a node step. Please, share your ideas.

    You should be able to use it. However, according to the Oracle docs support is to clone the main node and add more nodes by cloning the context files.

    Cloning Oracle Applications Release 11i with rapid Clone [ID 230672.1]
    Sharing the Application Tier file system in Oracle Applications Release 11i [ID 233428.1]

    Cloning Oracle Applications V12 with rapid Clone [ID 406982.1]
    Share Application-level file system in Oracle E-Business Suite Release 12 [384248.1 ID]

    Thank you
    Hussein

  • Structure of hybrid data - relational &amp; structural using the XML file

    Hello world
    I do not understand this conceptualization of the XMLDB maybe not for what and how it was designed for.

    I have 100 000 (Mutual Funds) XML files I loaded in the DB Table (XMLType column). (Each XML file is 5 KB of data)
    Now, I want to write a SICAV in which I can put 20 different search criteria. (e.g. Type of Fund, Star, ranking etc etc.)
    (I paginated resultset to 100 lines per page)

    Initially approach I took was to write the XML query using the extractValue function. However, when the results of the research in most large result set, time needed to return query results is huge. Especially at page 100, etc..

    As a hybrid approach, when XMLs are loaded into DB, I want to store 20 attributes in separate table and all XML in a separate table.
    and when extractValue queries are written to what ORACLE automatically re-writes of applications to use the flat table when it is made reference to specific attributes otherwise it load the XML table.

    Suggestions box will be greatly appreciated, if not I can always write queries to load a separate table and query it for the purposes of the screen.

    856584 wrote:
    Hello world
    I do not understand this conceptualization of the XMLDB maybe not for what & how it was designed for.

    I was conceived to manage XML, nothing more, nothing less.

    I have 100 000 (Mutual Funds) XML files I loaded in the DB Table (XMLType column). (Each XML file is 5 KB of data)
    Now, I want to write a SICAV in which I can put 20 different search criteria. (e.g. Type of Fund, Star, ranking etc etc.)
    (I paginated resultset to 100 lines per page)

    Which version of the database (all the numbers please)?

    Probably you have chosen the wrong "XMLType" storage model (and therefore no performance)
    Read here:
    http://www.Oracle.com/technetwork/database/features/xmldb/xmlchoosestorage-v1-132078.PDF

    Initially approach I took was to write the XML query using the extractValue function. However, when the results of the research in most large result set, time needed to return query results is huge. Especially at page 100, etc..

    As a hybrid approach, when XMLs are loaded into DB, I want to store 20 attributes in separate table and all XML in a separate table.
    and when extractValue queries are written to what ORACLE automatically re-writes of applications to use the flat table when it is made reference to specific attributes otherwise it load the XML table.

    Suggestions box will be greatly appreciated, if not I can always write queries to load a separate table and query it for the purposes of the screen.

    Read the given URL/pdf first.

  • icon for the XML file error

    Hello
    My .xml files all appear a Notepad icon, but it can be opened correctly by the browser Internet Explorer, feathers and other functions are normal, just the icon does not appear correctly. How can I change the icon back to its original icon?
    In addition, everything is OK with my .xml files, but just the icon. It works fine including the default program to open it, but I like just his original icon.
    Thank you!
    Kyle

    Hi Kyle,.

    This method works well with shortcuts, so you can try it. Follow these steps to manually change the icon:

    a. right-click on an .xml file, and then select Properties.

    b. click on the shortcut tab, and then select change icon.

    c. select in the list and click Ok.

    Check whether the problem is resolved. Please let us know the status of the issue.

  • How to add URL links in the XML file?

    Hello

    I have a problem with adding the URL links to the power of lightning. I use the XML file to call images, then the corrsponding links. Images are called correctly but when I try to add a link I do not receive the links, but rather to get the anchor HTML text tags. I use escape XML characters to escape HTML tags, but the results are not what I need.

    I use the following code:

    < preview = "miniature large.jpg" thumb = "thumb.jpg" > "
    < title > <! [CDATA [Financial Services]] > < / title >
    < discription > <! [CDATA [& lt; a href = & quot; ]] http://www.google.ca "> Google < / a > " [[ ]] > < / discription >
    < / thumbnails >

    ---------------------------

    Output:

    Images are displayed correctly, but instead get the links, I get following message:

    " < a href =" http://www.Google.ca "> < /a > Google .

    I need to know what I'm doing wrong. I use the proper way to add links or not?

    Thanks for your time.

    Use tags html directly inside CDATA - after all, what CDATA is for.

  • Extracting XML error. The XML file that is assigned in the configuration.xml is either incorrect or damaged.

    1. some web pages gives "error extracting XML. The XML file that is assigned in the configuration.xml is wrong or corrupt.

    2 Youtube gives, after having pressed the button start, message "an error has occurred. Please try again later.
    Even youtube opening page with IE, there is no problem.

    3. scrolling on Mozilla firefox pages only works with the sidebar not with the mouse wheel.

    Other user accounts on this computer is not these problems.

    BR Juha

    This can be caused by a recent update of Flash 11.3.

    See:

  • Hardware Certification - audit gives an error "cannot run processSetup for configuration: cannot run createHOMObj for configuration: no GuestOS section in the XML file.

    I tried to set the session established the IPs VMs / host / FQDN / VM names

    but each time got the error "cannot run processSetup for configuration: cannot run createHOMObj for configuration: no GuestOS section in the XML file.

    I changed the names VMS in vCenter for FQDN and it solved the problem.

  • How to use resource element in the xml file in the workflow?

    Good afternoon

    In my workflow, I put a parameter of the attribute with the element of resource type and the value of the attribute is an xml file.

    And I had a problem with xml files in my workflow, I would like to use the information in the xml file to store in the variable...

    Example: in the xml file, I put some information about the number of VLAN ID, and in my script task, I would like to know how is used with myvariable.portgroup [0].spec.vlanId?

    Best regards.

    Like this:

    var myXml = new XML(resource.getContentAsMimeAttachment().content);
    

    You can then access your nodes like this:

    myXml.node.subnode

    Google for e4X to get the syntax complete.

  • How can I parse the XML file using the Oracle's Sql query.

    Hi all
    I have an XML file that must analyze and display the result according to the following example
    Can you please recommend me an approach to get the result.

    For example, here is my XML:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < xmlns:pi = "urn:com.workday / picof pi: Extract_Employees" >
    < IP: employee >
    < Additional_Information: pi > < pi: pi function: PriorValue = "" > Intern - masteri¿½s < / pi: function >
    < / pi: Additional_Information >
    < / pi: employee >
    < / pi: Extract_Employees >

    Databases:

    Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - production

    SQL > SELECT * FROM NLS_DATABASE_PARAMETERS;

    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS.,.
    WE8ISO8859P1 NLS_CHARACTERSET
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI. SSXFF AM
    NLS_TIMESTAMP_FORMAT-DD-MON-RR HH.MI. SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI. SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI. SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    BINARY NLS_COMP
    NLS_LENGTH_SEMANTICS BYTES
    NLS_NCHAR_CONV_EXCP FAKE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.3.0



    The Xml file above with UTF-8 character sets which is multi bytes.

    But in my character database is WE8ISO8859P1 for example ISO-8859-1 (single-byte character set)

    SQL > SELECT extractValue (Value (x) ', ' / pi:Employee/pi:Additional_Information/pi:Job_Title','xmlns:pi="urn:com.workday/picof ' ')
    TABLE (XMLSequence (extract (XMLType (bfilename('XMLDIR','XML_Issue_227176.xml'), nls_charset_id ('AL32UTF8')),'/ pi: Employee ',' xmlns:pi="urn:com.workday/picof"'))) x;)))


    which gives the following error:

    Error:
    ORA-31011: XML parsing failed
    ORA-19202: an error has occurred in the processing of XML
    LPX-00200: could not convert from UTF-8 encoding to ISO-8859-1
    Error on line 1
    ORA-06512: at "SYS." XMLTYPE", line 295
    ORA-06512: at line 1

    Also I tried with this
    SQL > SELECT convert (extractValue (Value (x), ' / pi:Employee/pi:Additional_Information/pi:Job_Title','xmlns:pi="urn:com.workday/picof"'),'WE8ISO8859P1 ', 'UTF8'))
    TABLE (XMLSequence (extract (XMLType (bfilename('XMLDIR','XML_Issue_227176.xml'), nls_charset_id ('AL32UTF8')),'/ pi: Employee ',' xmlns:pi="urn:com.workday/picof"'))) x;)))

    The same error is according to the above error message.

    Please help in this regard.

    Thank you and best regards,
    Sandrine

    You know the code of real character behind "" or you receive the file like that?

    For the record, "" is the wildcard of UTF-8 (0xEFBFBD), so that the original character of the means has already been replaced and that very probably the file was not coded properly in the first place.

    With respect to the resolution of the problem, try another method to read the file:

    SQL> select value from nls_database_parameters where parameter = 'NLS_CHARACTERSET';
    
    VALUE
    ----------------------------------------
    WE8ISO8859P15
    
    SQL> SELECT x.*
      2  FROM XMLTable(
      3         XMLNamespaces(default 'urn:com.workday/picof')
      4       , '/Extract_Employees/Employee'
      5         passing xmltype(
      6                   dbms_xslprocessor.read2clob(
      7                     'COP_DIR'
      8                   , 'XML_Issue_227176.xml'
      9                   , nls_charset_id('AL32UTF8')
     10                   )
     11                 )
     12         columns job_title varchar2(30) path 'Additional_Information/Job_Title'
     13       ) x
     14  ;
    
    JOB_TITLE
    ------------------------------
    Intern -  Master¿s
     
    
  • How to import the XML file into an oracle table using a BPEL process

    Hi friends

    How can I import XML file in the db oracle table using a BPEL process

    (1) I have generated an XML file in my local system with a field
    (2) I created a temporary table in my oracledb with the same field in the XML file
    (3) that I want to import these XML files which is the local host to my db oracle using a BPEL process
    (4) for that what steps should I me fallow please suggest me if there is no document for this?

    Thanks in advance
    AT

    Hi to

    Here you go...

    http://blogs.Oracle.com/ajaysharma/2011/03/using_file_adapter_database_adapter_and_mediator_component_in_soa_11g.html

    I hope that helps!

    Thank you
    AJ

  • Is it possible to create a new file using the XML via java Script?

    Hello everyone,

    Is it possible to create a new file using the XML via java Script

    • I have xml information that need to use for file name, size.
    • Based on xml file we can create a new file in InDesign with java script?
    • Kindly help me if anyone has an idea about this.

    I use InDesign CS4 on windows 7

    Sample file is attached below.

    Kind regards

    Siva

    <UpdateAd>
    <AdId>3403699</AdId>
    <Width type="mm">91,79</Width>
    <Height type="mm">80,00</Height>
    <ProductionCategory>4</ProductionCategory>
    <BookedCCIColors>sw</BookedCCIColors>
    <WorkFlowType>PDF</WorkFlowType>
    <CustomerNumber>652224</CustomerNumber>
    <CustName1>Erich Prang</CustName1>
    <Description/>
    <Description2>R</Description2>
    <UpdateIns>
    <Titel>RHZ</Titel>
    <Publication>B2</Publication>
    <RunDate>26-07-2011</RunDate>
    <Zone>H30</Zone>
    <KDDATEN>nein</KDDATEN>
    </UpdateIns>
    <WorkflowStep>IR</WorkflowStep>
    <Proof>No</Proof>
    </UpdateAd>
    
    

    xml.png

    Try this:

    var f =File.openDialog ();
    f.open('r');
    var xml = new XML(f.read());
    f.close();
    
    var myDocument = app.documents.add();
    myDocument.documentPreferences.pageHeight = xml..Height+"mm";
    myDocument.documentPreferences.pageWidth = xml..Width+"mm";
    var rect = myDocument.pages[0].rectangles,add();
    rect.geometricBounds = myDocument.pages[0].bounds;
    rect.strokeAlignment = StrokeAlignment.INSIDE_ALIGNMENT;
    rect.strokeColor = myDocument.swatches.item("Black");
    rect.strokeWeight = 1;
    myDocument.save(File(f.path + "/" + xml..AdId + ".indd"))
    

    Substances

Maybe you are looking for

  • Re: Equium P300-19O - problem with keys mute and lighting

    Until that point, I had no complaints with my laptop having bought two years ago. Above the keyboard, next to the power button is that media touch allowing lighting to parts of the laptop and play/pause button etc for playback of the media. Two days

  • Copy and replace a folder with all its contents in labview

    I would like to know if there is a way to copy a directory and replace another directory with the first, including all of its contents?If you could give me an example, I would really appreciate it.

  • audio problems with Skype/windows 7 / new dell vostro__

    have you tried Skype and video chat in gmail and have no sound in both directions.  Skype said microphone and the speakers are working correctly. have tested the built in camera/microphone in this new operating system windows 7 dell vostro and they w

  • Xperia Z2 overheating

    I just bought my Xperia Z2 2 days ago, but the phone is overheating in normal use, updated to the latest firmware but nothing new always overheating any help?

  • E-mail configuration for Curve 9320 blackBerry Smartphones

    Hello My e-mail configuration software has been deleted and I would like to know how to reinstall it, please. (Blackberry Curve 9320)