Error saving xml from model to file

Hello.
I am trying to create an xml file based on example GEO_DIM.dtd
I have a dataserver
jdbc:snps:xml?d=/oracle/product/odi_1/oracledi/demo/xml/GEO_DIM.dtd&s=MY_GEO_SCHEMA&lf=/logs/demo_geo_dim.log&ll=31
xml model works fine. I can do Insert into and populate the whole model with data.
When I try to save it on the disk using (on target)
create xmlfile ' /tmp/test_demo_geo.xml' from schema MY_GEO_SCHEMA
I get an error
ODI-1272: The Logical Schema has not been set on source for populate_demo_geo.
Caused By: java.lang.NullPointerException
at com.sunopsis.jdbc.driver.xml.SnpsXmlPreparedStatementRedirector.executeUpdate(SnpsXmlPreparedStatementRedirector.java:625)
What this driver wants from me?
I just want to write the xml I’ve created to the disk.
I’ve tried to do this CREATE XMLFILE command on source, but, it doesn’t help either. I just receive
java.lang.NullPointerException
at com.sunopsis.jdbc.driver.xml.SnpsXmlPreparedStatementRedirector.executeUpdate(SnpsXmlPreparedStatementRedirector.java:625)
at com.sunopsis.jdbc.driver.xml.SnpsXmlPreparedStatement.executeUpdate(SnpsXmlPreparedStatement.java:113)
Please, It just makes me mad, sorry…

Hi Lembit,
Thanks for posting current syntax to write the xml file.
Even i am triying the same to write out an xml file from my xml schema.
I executed my interface which inserted 3 records into target XML schema and inserted data i can in the XML model data store.
I wrote a procedure to write XML schema data including newly inserted 3 records, i went through,but all record of XML model is written into file.
my create xml command looks like create xml file "D:\temp\XML\gan_out.xml" from schema DEPT_TRG_SCH.
Now i have around 10 records in the XML datastore in target XML model. I want to write an XML file each record from XML data store.
Please help,
Thanks,

Similar Messages

  • Failed to load XML from the package file "" due to error 0xC00CE556 "Invalid at the top level of the document.Line.

    Using Installation wizard to deploy SSIS packages from DEV server to QA server package store cause this error;
    Failed to load XML from the package file "" due to error 0xC00CE556 "Invalid at the top level of the document. Line 773, Column 93". This happens when loading a package and the file cannot be opened or loaded correctly into XML document.  This can be the
    result of either providing an incorrect file name to the LoadPackage method or the XML file specified having an incorrect format.  Please who have the idea of how this issue can be resolved?BI Developer

    Hi ,
       for this Error one and only one solution 
    go to view Code, line number and Column number shown in error message,
    and Remove code from there till last and save it,  it happens when we are moving Package from one server to another server. and VS adds some lines of code at the bottom of package
    something like this 
    andles="1" allownudging="1" isannotation="0" dontautolayout="0" groupcollapsed="0" tabstop="1" visible="1" snaptogrid="0">
        <control>
          <ddsxmlobjectstreaminitwrapper binary="00080000921400008c040000" />
        </control>
        <layoutobject>
          <ddsxmlobj>
            <property name="LogicalObject" value="{BBFB0E
    Remove this code and save package it will work.  
    hope this will help to Developers who are searching for same ......... :) 

  • Generating Deeply nested XML from a flat file

    Hi All,
    I am working on a MQ to IDOC scenario.
    I am getting a flat file as input. I need to convert it into XML( so that XI can understand it).
    But conversion is into a "Deeply Nested XML from a Flat File" at sender side (JMS Adapter).
    Any inputs on this.
    Regards,
    Vikas

    You can only convert flat file into xml structure with 3 levels.
    If you need to convert flat file into deep nested xml structure, you have to do java mapping or xslt or abap mapping. There is a tool, I think it's called conversion agent by itemfield (bought by SAP), which can do pretty everything with conversion. Never used it though.
    Jayson

  • Intermittent error saving attachments from mail: "Names longer than 31 characters are not supported on the destination volume."

    I am reciving intermittent errors saving attachments from mail: "Names longer than 31 characters are not supported on the destination volume."

    I am seeing this too.
    I Posted in similar thread 6704033
    Error when saving calendar exports-names longer than 31 characters not supported on the destination volume.
    Very spooky. Not always reproducible, but it happened to me while using Office365-Outlook web-based email (saving a PDF).
    RE: the suggestion, checking security box "allow apps downloaded from all sites" I would really rather not do that.
    On my system it is set to allow "Mac App store and identified developers."
    Oh sorry, I'm on Yosemite, I see this is Mav forum...

  • Xml from a path file

    Hi,
    I try to create a XML OBJECT from a stream, but i can't make .
    Someone know a way to create a object XML from a path file (xml) ?
    PS: I try to create a TABLE with the information in a XML File.
    Please,
    I really need some help!

    Hi
    You need to read that file from disk into a stream.
    std::string inStr = "C:\yourPath.xml"
    InterfacePtr<IPMStream> m_stream(StreamUtil::CreatePointerStreamRead(const_cast<char*>(inStr.c_str()), inStr.size()));
    Then you need to pase that stream
    I'm using DOM parser
    InterfacePtr<IK2ServiceRegistry> serviceRegistry(gSession, UseDefaultIID());
    InterfacePtr<IK2ServiceProvider> xmlDOMProvider(serviceRegistry->QueryServiceProviderByClassID(kDOMParserService, kDOMParserServiceBoss));
    InterfacePtr<IDOMServices> domServices(xmlDOMProvider, UseDefaultIID());
    IIDXMLDOMDocument* m_root = domServices->Parse(m_stream);
    m_stream->Close();
    And then for each node create a table cell.
    Maybe there's a easier way to do that. Maybe by using some import filter.
    Regards
    Bartek

  • Float4() causes "error saving Pixel Bender Byte Code file" error when exporting for flash player

    Simple test
    <languageVersion : 1.0;>
    kernel untitled
    <   namespace : "Your Namespace";
        vendor : "Your Vendor";
        version : 1;
    >
        input image4 src;
        output pixel4 dst;
        void
        evaluatePixel()
            dst = float4(sampleNearest(src, outCoord()));
    The above code will produce a "error saving Pixel Bender Byte Code file" error when exporting for flash player in Pixel Bender Toolkit 2.5.449694.
    "dst = (sampleNearest(src, outCoord()));" works fine. And anything like "float4 a= float4(b);" will give same error.

    Thank you for the error report.  I'll put it into our bug database.  We're bottling things up for the current version.  Gven the workaround, it is unlikely we'll be addressing this bug soon.  Please accept my apologies for the annoyance this will cause.
    In your second example, float4 a = float4(b), does it return an error if b is only a float4 or regardless of what b is?  If b is a scalar float, for example, is the conversion performed correctly? If so, this could be an error that only crops up when using constructor/conversion syntax when the thing being converted is already the correct type.
    Thanks,
    Chuck.

  • Can I copy XML from one RDL file to another

    Hi
    I have created one report, worked on it as a prototype for a project - added datasets , params etc
    I now want to start again - from a template that we have just created - with professional layout, images etc - but want to copy the datasets, parameters from the original prototype to a new report (created from the template).
    Can I just copy sections of the XML from the original RDL file to the new one ?- like the Datasets and parameters sections 
    Regards
    Greg

    Hi,
    Yes, you can.
    If you copy less or more then need you'll see an error.

  • Saving XML from Flash XML.sendAndLoad

    I'm new to XML and haven't a clue how to integrate Flash xml
    and Coldfusion 7. There is a Flash app ( I didn't develop it) that
    is sending xml.sendAndLoad formatted data like this to a cf page
    setSummaryQuiz.cfm
    <?xml version="1.0" encoding="UTF-8"?>
    <result lessonID="19" userID="56">
    <word id="281" value="1" />
    <word id="282" value="1" />
    <word id="283" value="5" />
    <word id="284" value="5" />
    <word id="285" value="3" />
    <word id="286" value="7" />
    <word id="287" value="3" />
    <word id="288" value="8" />
    <word id="289" value="7" />
    <word id="290" value="4" />
    <word id="291" value="8" />
    <word id="292" value="2" />
    <word id="293" value="5" />
    <word id="294" value="4" />
    <word id="295" value="1" />
    <word id="296" value="4" />
    <word id="297" value="8" />
    <word id="298" value="1" />
    <word id="299" value="7" />
    <word id="300" value="1" />
    </result>
    My page is supposed to return saved = true or false like
    this:
    <? xml version = " 1.0" encoding = "UTF-8"?>
    <result saved = "true"/>
    Can someone help me or point me to a tutorial or code snippet
    where I can see how CF reads and parses the XML data from
    Flash?

    In ASP setting the response type to "text/xml" you can do a
    response.write command to send back XML to Flash if you were
    performing an XMLSendAndLoad command ie. send XML from Flash,
    processed by ASP and receive an XML response from the ASP - good
    for Flash to know if something worked or an error resulted in
    processing the info.

  • Permissions error saving or exporting iWork 3 files

    Using Numbers 3.0.1. I consistently get permissions errors Saving As or exporting a Numbers (or the new Keynote) document. Even to my Desktop.
    I've recently repaired permissions on this machine (via booting to the Recovery Partition). Occasionally choosing another save location will do the trick, but often not. Usually it doesn't matter where I try to save to. Sometimes quitting the app and restarting helps. But more often than not, the issue continues.

    Ok, using the Console log I was able to spot the file "com.apple.iwork.numbers". I deleted it, restarted the computer and oh magic it worked.
    I still won't be that confident as I have this issue coming in and out. Sometimes it works sometimes it doesn't.
    If anyone know where to look, this is my consol log related to the issue:
    04/02/2014 17:37:59.716 Numbers[438]: Failed to generate image for binding FileInfoBinding [0x303] - extension: numbers, UTI: com.apple.iwork.numbers.numbers, fileType: ???? at size:16 and scale: 1 filename: (null)
              1   IconServices                        0x00007fff9206de92 ___ZN18IconImageRequestor35generateCGImageFromBindingResourcesEU13block_pointer FvP7CGImageE_block_invoke + 689
              2   IconServices                        0x00007fff92067278 ___ZN8ISClient23GenerateCacheImageAsyncEP10_LSBindingjjU13block_pointerFvP8ISDi gestjj11ISSizeRangeyE_block_invoke + 727
              3   IconServices                        0x00007fff92067cbc ___ZN13XPCConnection11postMessageEPvU13block_pointerFvS0_E_block_invoke + 66
              4   libxpc.dylib                        0x00007fff8f101be6 _xpc_connection_reply_callout + 47
              5   libxpc.dylib                        0x00007fff8f101b72 _xpc_connection_call_reply + 36
              6   libdispatch.dylib                   0x00007fff8db532ad _dispatch_client_callout + 8
              7   libdispatch.dylib                   0x00007fff8db577ff _dispatch_async_redirect_invoke + 154
              8   libdispatch.dylib                   0x00007fff8db532ad _dispatch_client_callout + 8
              9   libdispatch.dylib                   0x00007fff8db5509e _dispatch_root_queue_drain + 326
              10  libdispatch.dylib                   0x00007fff8db56193 _dispatch_worker_thread2 + 40
              11  libsystem_pthread.dylib             0x00007fff8a090ef8 _pthread_wqthread + 314
              12  libsystem_pthread.dylib             0x00007fff8a093fb9 start_wqthread + 13
    Message was edited by: Mikkael_Bristol

  • Xml from a php file does not load

    hi
    i have a php file that output an xml ,in order to use it in
    flash.
    when i test the php file in the browser i get the xml i need
    but in flash i get this error message:
    TypeError: Error #1088: The markup in the document following
    the root element must be well-formed.
    at taakexml_fla::MainTimeline/seexml()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    i took the xml i get and made it a separate file (an xml one)
    and i can load it.
    what am i doing wrong?
    best regards
    ron

    Try this php file:
    $xml_output .= "<posts>";
    while($row=mysql_fetch_array($Result)){
    $xml_output .= "<post>";
    $xml_output .=
    "<title>".$row['title']."</title>";
    $xml_output .= "<date>".$row['date']."</date>";
    $xml_output .=
    "<shortdesc>".$row['short_desc']."</shortdesc>";
    $xml_output .=
    "<thepost>".$row['thepost']."</thepost>";
    $xml_output .= "</post>";
    $xml_output .= "</posts>";
    echo $xml_output;
    Flash should do the rest.

  • Error installing CS4 from downloaded .dmg file

    I work for a company that receives upgrades from Adobe and most recently was given the downloadable CS4 upgrade from our IT department. When I went to open up the DesignPrem_CS4.dmg file it gives an error of "The following disk images failed to mount" reason "not recognized." Have you heard of this happening before?
    We are currently running CS3 on Mac OS 10.5.6 which was installed from a CD. I've done some searching on this error, but the only thing I have found is that the file might be corrupt. We had IT download it again, but had the same issue. I've also tried to run the .dmg file through Disk Utility and tried to repair it without any success. Any thoughts on fixing this? Should we download directly to our Mac desktop? Could a file become corrupted by downloading to the Windows environment and then transferring over a network to the Mac?
    Thanks

    Hi Buko,
    If it is a corrupt file, what steps can we take to insure that it doesn't happen again? Our IT department has downloaded it twice. Could it be the method or program in which they are downloading? What causes corrupt downloads?
    Thanks

  • Error: cannot read from the source file ....... the file cannot be accessed by the system. (Exception from HRESULT: 0x80070780)

    I have sync toy set up to sync my Skydrive with some folders on my local drive.
    I'm running windows 8.1, 64 bit
    I can copy files from my local drive to the Skydrve folder with no problems,
    but if I add files to my Skydrive, and then when Sync Toy runs it will not copy the files from Skydrive to the local drive and throws up the error in the title.
    I have tried changing permissions on both folder pairs with no luck.
    Any ideas?

    Try making the OneDrive files available offline.
    See
    http://windows.microsoft.com/en-gb/windows-8/onedrive-online-available-offline?woldogcb=0.

  • Writing xml from an .exe file

    Hi,
    So, is it possible to post to php in an .exe file instead of a .swf displayed inside a browser?
    If so, how? I figured if you just created the .exe on the server with the .php file in the same folder
    it would read it and work fine.
    This doesn't seem to be the case... any ideas? Does it always have to go through a browser page?
    thanks

    It is possible to call a PHP file from an EXE. Make sure that you have th PHP file in the webroot of your webserver (IIS or Apache). Also, make sure that you use the server path..for example: http://localhost/myapp/myphpfile.php. It should work!

  • Error when copy from model service specification to service specification

    Hi experts.
    I have coded a program to create batch of model service specification (MSS). In MM, i used TCode ML11 to check MSS, and everything is ok. But in PS, when i create a service activity, in service specification (SP), i copy data from MSS to SP, everything is copied except gross price. So anyone can help me?
    The picture.
    http://i612.photobucket.com/albums/tt203/talaai04071986/b1-1.jpg
    http://i612.photobucket.com/albums/tt203/talaai04071986/b2-1.jpg
    Thanks

    While copying the MSS click on 'Complete'
    Regards
    Sreenivas

  • 0x8002006E error while copy from time machine files

    what does this error mean?  got it by Rclick some folders in Time Machine disk that I hoped to copy to a CD
    I read you are not to manipulate timemachine files, but the apple genius told me it's OK to burn

    Try restoring the folders to an "alternate location:, such as your Desktop, via the Time Machine browser (the "Star Wars" display).   See Time Machine - Frequently Asked Question #16.  Then you should be able to burn the restored folders.

Maybe you are looking for

  • ITunes 7.4.1.2 does not support vista-utimate 64-bit.

    [quote]Microsoft Windows Vista Professional (Build 6000) MICRO-STAR INTERNATIONAL CO.,LTD MS-7235 iTunes 7.4.1.2 CD 驱动程序 不可用 CD 驱动程序 DLL UpperFilters: GEARAspiWDM 当前用户不是管理员. 视频显示器信息: NVIDIA, NVIDIA GeForce 8600 GT 已连接的设备的信息: 磁盘驱动器, ST3250820AS ATA De

  • JavaScript issue in DW 8

    Hi I have been using s simple pop-up menu on my hompage and this has been suitable for my needs. However, the last week or two I have noticed that whenever I try to open this and edit it, I get an error message that reads: While executing inspectBeha

  • Internet Keeps Getting Cut Off

    Hi This is driving me insane and my dad wont listen to me, but maybe he will if he heres someone say something who knows about it. Every so often, usually every day if not more than once a day I get cut off from the internet on my Mac Mini (G4) for 5

  • Adobe Digital Editions does not detect my e-reader

    Can anyone help please? My Adobe Digital Editions does not detect my Sony e-reader and does not appear in my bookshelves. My laptop detects the device without any issues but Adobe does not - I have re-installed twice but still the same.

  • How to transfer iphoto pics to folder on desktop?

    iphoto not allowing me (all of a sudden) to transfer photos from iphoto to a folder on desktop. Has a little "no no" sign ... How can I rectify this? please answer to email: *********@****.com thanks. <Edited by Moderator>