Odi target as xml

Hi,
If I have a column in xml target and the data that gets loaded into this column(type varchar) has special symbols like
AT&T
Bachelor's
When I run the interface, the output that i get is
AT & amp ;T
Bachelor & apos ; s
How can I solve this problem?
Thank you!
p.s. xml encoding is utf-8
Edited by: 959411 on Oct 10, 2012 9:56 AM
Edited by: 959411 on Oct 10, 2012 9:57 AM
Edited by: 959411 on Oct 11, 2012 8:45 AM

Does anybody have an idea on how to print special characters in xml file. Odi prints the actual xml codes rather than the symbols such as & and ' in the output xml file.

Similar Messages

  • Make a sort with ODI while generating XML File

    Hi all,
    I made a package whith several interfaces and a treatment.
    Each interface targets a table in my XML schema and the final treatment is a CreateXMLFile.
    Everything goes well, my XML file is generated :D
    Now I'd like to make a sort in an XML element. I know how to order the elements between them but can't find a way to sort a specific element. Excuse my poor english, I'm not really clear...
    My XML is built like this :
    <root>
    <questions>
    <question>
    <questionnumber>1</questionnumber>
    </question>
    <question>
    <questionnumber>2</questionnumber>
    </question>
    <questions>
    <root>
    So my problem is to make the questionnumber ordered.
    I tried to modify the IKM SQL Incremental Update to add a ORDER BY in the "Insert new rows" step.
    The generated code is executed with success... but in the end, my XML file is not sorted :S
    So first question, do you have an idea to be able to view the data in my XML schema tables ? This schema is stored in the memory engine and not in an external base. I ask that because when you try to execute the query "select * from XMLSchema.XMLTable" in the Operator, it appears you get the datas you had when the schema had been reversed. Idem when you try to view the datas in datastore. So first of all I'd like to do this control to be sure my order by is taken into account.
    Second question, do you know how the Odi XML driver builds the XML File with the command CreateXMLFile, because I think that my XML table is well sorted but that the CreateXMLFile doesn't repect this order. I checked the driver tutorial but couldn't find any help on that subject.
    So if anyone has got an idea to help me, I would appreciate a lot.
    Thanks,
    Thierry

    Still searching but without success

  • Target as XML

    hey i am having a problem with the XML...
    my source table is oracle data base table for example lets take Employee table from scott...i wan the same table to be loaded in the XML...
    can any one help me in doing this its .
    thanx
    praneeth

    let me explain what i have done...i have created an procedure in odi and and given this command in the details tab
    create xmlfile C:/xmlout/ALRT_OCC_NET_RENT from schema NET_RENT;
    and i have given target tech as XML ... i am getting an error while running the procedure....
    com.sunopsis.sql.SnpsMissingParametersException: Missing parameter
         at com.sunopsis.sql.SnpsQuery.completeHostVariable(SnpsQuery.java)
         at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    can u please help me out

  • ODI target as flatfile --  split

    Hi can anyone let me know how to split the flatfile output in ODI. I do know that there is a tool called xmlsplit for xml files but i don't know how we can split the flatfiles. Please guide me on this. Thank you!

    1. Create 2 ODI variables min_row_count, iteration_counter. Set all of them to 1.
    2. Create another variable called max_row_count and set it to 50000.
    3. Create another variable called total_row_count and put a query in refresh block: SELECT count(*) FROM your_source_table
    3. Create a temporary interface (if you are not comfortable with that, create the target table and bring it to ODI model) that uses your table as source and map all the columns plus an extra column (let us call it rownbr) which should be mapped as row_number() OVER (ORDER BY <some other column>). Execute this if you are in 10g (no need of this if you are in 11g).
    4. Create another interface that will write to a flat file. Use your temporary interface (or the table if you created it) as source. Use flat file model as target.
    5. Create a filter like: source.rownbr between #min_row_count and #max_row_count
    6. Find a suitable standard IKM that will load to a file. use it for the interface. Generate a scenario.
    7. Create a package where you set the iteration_counter to 1. Invoke the scenario in the next step. If it succeeds, create a OS command where you will copy the output file to <some name>.#iteration_counter.dat file in the desired directory. Once the command succeeds, increment the iteration counter by 1. Increment the min_row_count and max_row_count by 50000. Test if min_row_count > total_row_count. If yes, exit the loop (and send mail or something). Else point to scenario run step again. What you have is a loop which will use iterate the scenario over your table 50k rows at a time.

  • ODI Error while XML file to DB insertion scenario

    I am trying to excute a scenario where it reads the XML file and inserts into the database.I am getting the below error, but I do have the complete write permission on the folders where the XML and XSD files reside.
    Is this error points to verify the user permission in database side?Please help.
    Caused By: java.sql.SQLException: ODI-40844: Could not generate the DTD because the file could not be created. Verify that you have write permission in the directory.
         at com.sunopsis.jdbc.driver.xml.SnpsXmlSchema.generateDTD(SnpsXmlSchema.java:853)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlSchema.<init>(SnpsXmlSchema.java:483)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlSchemaManager.createNewSchema(SnpsXmlSchemaManager.java:295)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlSchemaManager.getSchemaFromProperties(SnpsXmlSchemaManager.java:273)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.internalExecute(SnpsXmlConnection.java:617)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlPreparedStatement.execute(SnpsXmlPreparedStatement.java:46)
         at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:166)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    Edited by: user8845111 on Nov 30, 2012 8:47 AM

    Hi,
    What is you environment ?
    Windows ? Linux ?
    Maybe these posts can help you :
    Re: ODI 11g XML reverse engineer with remote agent problem
    XML file in Unix Server

  • ODI not reading XML file

    Hi All,
    Im working on implementing Oracle PIP with ODI.
    Im not able to access an XML file within ODI. The Physical architecture is set to the correct directory, filename etc.
    It was working fine before until recently we restarted the agent & re-encoded the passwords for Supervisor & Master Rep accounts.
    It now shows "table not found: ORA - account is locked" or "invalid username/password - login denied" error when I try to view the data of the datastores within the Model (whose source is the XML file).
    Any thoughts?
    Thanks,
    Ruby

    Does you XML file use an external database store ? Maybe the db password in that file wasnt changed

  • ODI Invoke webservice XML axis2 problem

    Hi All,
    In weblogic server Axis2 is deployed and it is showing Active.
    And we have uploaded ODI invoke service also in AXIS2 succesfully and it is showing Active status also...
    By using the soap its generating the XML with below mentioned error..
    Can any body help me in this regard.
    some info:- We rae using ODI 10g.
    Weblogic 10.3.5.0
    XML GENERATING:--
    <xs:element name="inPhasesUptoAndIncludingPostDispatch" nillable="true" type="xs:anyType" />
    <xs:element name="key" nillable="true" type="xs:anyType" />
    <xs:element name="localPolicyAssertions" nillable="true" type="xs:anyType" />
    <xs:element name="moduleClassLoader" nillable="true" type="xs:anyType" />
    <xs:element name="modules" nillable="true" type="xs:anyType" />
    <xs:element name="observersList" nillable="true" type="xs:anyType" />
    <xs:element name="outFaultFlow" nillable="true" type="xs:anyType" />
    &nThe XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    The operation completed successfully. Error processing resource 'http://10.100.104.7:9704/axis2/services/OdiInvoke?/wsdl'. ...
    </xs:schema></wsdl:types><wsdl:message name="invokeScenarioMessage"><wsdl:part name="part1" element="ns...
    Thanks in Adv..

    WRONG FORUM!
    Please mark this question ANSWERED and repost it in the Data Integrator forum
    Data Integrator

  • Odi-target table-primary key

    hi,
    is it compulsory to have a primary key constraint in the target table in odi.
    Can we have a target table without any primary key constraint?

    Hi,
    Yes u can have target table without PK.
    Only for IKM Incremental Update u need to define Update key (which may not be persist in back end). For IKM Control append u no need to have PK defined.
    Thanks,
    Guru

  • I want to use ODI to read XML messages from JMS queue and then process it..

    I want to use oracle ODI (Oracle Data Integrator) to read XML messages from JMS queue and then process it.. i also want to process and validate the data in it....
    Could anyone please tell me the steps to achieve the same. I tried some ways which i got on OTN, but not able to implement it exactly...
    As i m very new to ODI, it will be great if you provide detailed steps..
    Thanks in advance for your help....

    Hi,
    Were you able to do it? We are facing this same issue now and, despite the fact the docs say otherwise, it does not seem to be a trivial task.
    TIA,
    Tedi

  • ODi - error loading xml file

    Hi Gurus,
    I'm facing some problems on loading data using ODI (11.1.1.5.0) from a xml file.
    These steps are made without issues:
    1- Data Server XML_STROBE created with these options:
    com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
    dbc:snps:xml?f=E:\INBOX_MCA\XML\xml_strobe.xml&s=XML_S&ro=true&dod=true
    2- Create the Physical Schema
    3- Test Connection: Sucesseful Connection
    4- Create teh Logical Schema
    5- Models - Reverse Engineer with sucess
    6- I can view data from tables
    After that i create the interface, to load xml data to oracle table.
    I use the LKM SQl to SQL with the option DELETE_TEMPORARY_OBJECTS = true,
    and IKM SQl COntrol Append.
    When execute that there is a problem on step Load Data:
    ODI-1227: Task SrcSet0 (Loading) fails on the source XML connection XML_STROBE.
    Caused By: java.sql.SQLException: unexpected token: CALL
    at com.sunopsis.jdbc.driver.xml.SnpsXmlStatementRedirector.execute(SnpsXmlStatementRedirector.java:125)
    at com.sunopsis.jdbc.driver.xml.SnpsXmlStatement.execute(SnpsXmlStatement.java:31)
    at com.sunopsis.rdb.manager.SnpsRDBHelperISO.createTable(SnpsRDBHelperISO.java:218)
    at com.sunopsis.rdb.manager.SnpsRDBStructCreator.createTable(SnpsRDBStructCreator.java:69)
    at com.sunopsis.rdb.manager.SnpsRDBStructCreator.createStructure(SnpsRDBStructCreator.java:57)
    at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.createModel(SnpsXmlDTD.java:198)
    at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.initialize(SnpsXmlDTD.java:273)
    at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.initialize(SnpsXmlDTD.java:438)
    at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.initialize(SnpsXmlDTD.java:463)
    at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.<init>(SnpsXmlDTD.java:126)
    at com.sunopsis.jdbc.driver.xml.SnpsXmlSchema.<init>(SnpsXmlSchema.java:522)
    at com.sunopsis.jdbc.driver.xml.SnpsXmlSchemaManager.createNewSchema(SnpsXmlSchemaManager.java:294)
    at com.sunopsis.jdbc.driver.xml.SnpsXmlSchemaManager.getSchemaFromProperties(SnpsXmlSchemaManager.java:272)
    at com.sunopsis.jdbc.driver.xml.SnpsXmlDriver.connect(SnpsXmlDriver.java:110)
    at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:409)
    at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:385)
    at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:352)
    at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:331)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:99)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
    at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter.getConnection(OnConnectOnDisconnectDataSourceAdapter.java:74)
    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
    at com.sunopsis.sql.SnpsConnection.createConnection(SnpsConnection.java:391)
    at com.sunopsis.sql.SnpsConnection.connect(SnpsConnection.java:348)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2875)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1596)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:582)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1070)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
    at java.lang.Thread.run(Thread.java:662)
    Any ideas?
    Best Regards,
    Teresa

    Hi,
    I solve this issue changing he JDBC URL on the Topology Navigator to use no_batch_update
    &nobu=false
    Teresa

  • ODI : create an XML model with UBL  technology instead of XSD file

    Hello,
    I have several xsd files which contain UBL (Universal Business Language) and all these files are linked between them. In Oracle Data Integrator, I would like generate a XML model from these files as I use to do with the standard xsd files. Unfortunately, it doesn't work with the driver I use usually.
    Do you know if you can generate an xml model from xsd files which contain UBL and if yes, could you say me all the steps I must do to that successfully please?
    Thank you in advance.
    Olivier

    Hello All,
    What I mean is :
    when an xsd file calls an other xsd files by using the namespaces (when 2 xsd files are linked), is there a way to create an xml model matching with the contain of these 2 xsd files?
    Can someone say me if the only solution to generate a xml model is to have only one xsd file?
    Thank you in advance

  • ODI:importing an xml into anothr project

    Hi,
    please tell me as to how i can import an exported XML file in another project?
    Thanks,
    Jayant

    Only very simple iMovie projects will open properly in FCE. Anything with iTunes music for instance won't open.

  • Matching event.target to XML node value

    I want Montana data to appear when I click the state of
    Montana (and so on throughout the 50 states). Montana is the
    instance name of my simple button on the state of Montana.
    Something's not quite right about this line of code:
    if (pEvent.target == myXML.statename
    ) { ...then do something ...}
    The code works fine if I say
    if (pEvent.target == Montana)
    Do I have to convert the myXML node value to text or
    something?

    Solution:
    if (pEvent.target.name == myXML.statename

  • Issue in creating data server for xml in ODI

    Hi,
    I have a XMl which has a size around 95 MB. When i tried to create data server in ODI for this xml file.
    I encounter below error,
    "oracle.odi.jdbc.datasource.ConnectionTimeoutException: A login timeout occured while connecting to the database
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:117)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
    at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1125)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:163)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$4(SnpsDialogTestConnet.java:159)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$4.doInBackground(SnpsDialogTestConnet.java:520)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$4.doInBackground(SnpsDialogTestConnet.java:1)
    at oracle.odi.ui.framework.AbsUIRunnableTask.run(AbsUIRunnableTask.java:258)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
    at java.lang.Thread.run(Thread.java:662)"
    Kindly let me know what should i do for resolving the error.
    Thanks and Regards,
    Ida Jebakirubai S.

    Yes Phil i am able to create a data server for xml files which are of smaller in size(in KB). And i can use the files in the interface as well.
    When i using this large file only i am getting this error.
    Please suggest.
    Thanks and Regards,
    Ida.

  • XML as target file - how can i change its character set?

    Hi all,
    i need to create my target as XML-file und to save all my information there, but with other character set (not with default). In other words i must have in XML-file in header
    <?xml version="1.0" encoding="ISO-8859-15"?>.
    Now i have
    <?xml version="1.0"?>.
    What can i do?
    Thanks in advance.

    I don't think Finder does this (I've tried).
    iTunes does though. Where you can set artwork or the "poster frame"...
    This may not be what you want but if it helps, I know 2 ways  do this is
    Open the video in QuicktimePlayer7 | View | Set Poster Frame (even then, you might need to save it as .mov (ie in a 'mov container').
    Drag the file into iTunes and set the artwork (as in http://www.dummies.com/how-to/content/adding-album-cover-art-or-images-in-itunes .html)
    From there, iTunes will use that frame as the "poster frame" ie the photo/frame that shows when you browse your videos. Which is what you want, but limited to iTunes.
    When I do either of these above, the frame I set does not show when exploring files in "Finder" (or in the other Explorer tool I use called "Pathfinder").
    So it maybe, that exactly what you want, is not possible.

Maybe you are looking for

  • I cannot use My iphone 4s

    I Have recently bought an iPhone 4 s at London airport inside The international Area. This phone was mentioned sim free for Europe. in fact, Apple have confirmed that iPhone 4s is lock  " by The provider.... Car phone warehouse. i Calll to car phone

  • Sony update engine could not be installed

    Recently i bought a xperia z1 and because of some issues wanted to repair the software through pc companion as the update service is no longer available.But i can not repair my phone cause every time a error message is popping up by saying update eng

  • OS X + Network Drive problems

    I have two usb hardrives connected to an airport extreme and it works great until i close the lid of my laptop. When i turn my computer on from sleep/hibernate mode it pops up an error message saying "Network drive interruption" then i cannot connect

  • Word RTF Delay

    Has anyone experienced this? While working in MS Word and logged into BI Publisher, when I move between documents or applications, there is a long lag time when I return to a Word document that has a BI Publisher report open. The mouse cursor sits wi

  • Web URL on Data target

    hi  do any one have information on Web url for Data target? what is it and how they are implemented and what benefit can be reaped from them.