Save XML File Error

I was trying to replace a Node in an XML file (see attached VI - LV 2010), but for some reason the Load or Save XML VI's are changing the format of the XML Header (only by a couple of \n characters, but enough for the application reading the XML file to say it is corrupt).  In the Load XML VI I have left all the Inputs at their default values (ie. Preserve Whitespace) so why is the file being modified?
What the original file header contents look like..... 
<?xml version="1.0" encoding="iso8859-1" standalone="no" ?>
<METRONFile Type="Record" Version="2.0.1">
<Application Name="Ansur" Version="2.9.4">
What the Header looks like after using the LabVIEW Load/Save XML VI's.
<?xml version="1.0" encoding="iso8859-1" standalone="no" ?><METRONFile Type="Record" Version="2.0.1">
<Application Name="Ansur" Version="2.9.4">
 Chris
Attachments:
XML Replace Node Value.vi ‏16 KB

Believe me I have tried all possible variations of the inputs to the NI_XML.lvlib:Load XML File.vi, none of them make a difference.  Also the Block Diagram of this VI doesn't help much since it is just a couple of Property and Invoke Nodes so nothing to debug really.
I have attached the XML file that we are working with if you want to experiment - thanks
Note: I had to change the extension of the attached file from *.mtr to *.txt since the website says it is not a valid extension for an attachment.
Chris
Attachments:
0350E141014545182220110131_new.txt ‏11 KB

Similar Messages

  • Save XML file error permission

    Hi everyone,
    I read a XML file, edit it and save again:
                    var filePath:String = File.applicationDirectory.resolvePath("alerts.xml").nativePath;
                    var file:File = new File(filePath);
                   var fs:FileStream = new FileStream();
                    fs.open(file, FileMode.READ);
                    fs.addEventListener(IOErrorEvent.IO_ERROR, editsettings_IOError);
                    var xml:XML = XML(fs.readUTFBytes(fs.bytesAvailable));
                    fs.close();
                    fs.open(file, FileMode.WRITE);
                    xml[key] = value;
                    xml.toXMLString();
                    fs.writeUTFBytes(xml);
                    fs.close();
    When I´m in debug mode, everything is fine, but when I generate a Executable installer (native installer), it doesn´t work.
    I don´t have permission.
    Any solution?

    Hello,
    That's explicitely marked in documentation to not use "applicationDirectory" for write (updates/modification/deletion/etc), e.g.:
    The File class includes static properties that let you reference commonly used directory locations. These static properties include:
    File.applicationStorageDirectory—a storage directory unique to each installed AIR application
    File.applicationDirectory—the read-only directory where the application is installed (along with any installed assets)
    and later on the same page:
    Modifying content in the application directory is a bad practice, for security reasons, and is blocked by the operating system on some platforms. If you want to store application-specific data, consider using the application storage directory (File.applicationStorageDirectory).
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml#applicationDirectory
    So as pointed in docs you could use applicationStorageDirectory as location where you application-specific content is to be stored/created/updated/written/etc.
    (otherwise everything works fine when running local ADT/debug session - but it could fail at any time when deployed)
    hth,
    kind regards,
    Peter

  • Keep getting Cannot save library file error -50 message on my PC

    I keep getting "cannot save library file error -50 when I open up iTunes on my PC
    Won't download music purchased on iPhone4 to iTunes in my PC

    Same issue here. Running Windows Vista Home Premium Edition and newest version of iTunes. Normally happens when I am ripping a CD into iTunes and by chance multi task or the screen saver kicks in.
    What ***** is if you walk away while ripping a CD(because it takes 3 times as long in iTunes vs any other ripper), and it will halt your ripping until you click "ok". I have not tried the "dont tell me again" check box just in case it is a problem I need to know about. This happened about 2 or 3 days after upgrading to Vista and I got an empty library the next time I opened the library. Somehow it got corrupted. Luckily I back up the xml file and just restored that one file from last back up.
    (off subject but also getting the maxed our processor still in the newest version for Windows Vista. Wish they would fix that!)

  • Parser dimension ACCOUNT's xml file error.

    Hi friends,
    i manully uploading master data in ACCOUNT dimension.
    what i did here, i manually added PARENTH1hierarchy and i changed that column position infront of "ACCTYPE" property. While pasting i might paste on ACCTYPE property & processed ACCOUNT dim.So it gone and disturbed underlying XML file. I checked 3 files XLS,XLT and XML files in UJFS. But XLS & XLT doesn't have ACCTYPE property. So how can i put it back? Any suggestions pls.
    Eventhough ACCTYPE dim property defined and existed(under maintain dim property of ACCOUNT dim). when i try to check maintain members data for manually entering data, it not available in columns. when i try to process ACCOUT dim, system saying below error message. 
    Parser dimension ACCOUNT's xml file error.
    How to correct this error.?
    Thanks,
    Naresh
    Edited by: Naresh P on Jan 13, 2011 7:20 AM

    Hi,
    It will be better to delete the XML file from UJFS and process your dimension once again. However, it might happen that you are still unable to edit the membersheet. In that case, it will be advisable to take a backup of the member sheet and recreate the same member sheet once again.
    Hope this helps.

  • HELP!!!! How to save xml file!!!Anyone can help???

    Hi,
    It is urgent for me to know how to save xml file. I use VC++6.0, Oracle xdk 9.0.0.0.0 or 9.0.0.0.0Abeta under windows98.
    It is OK to compile the program with print() method. But system will tell me there is illegal operation when I run it. If I delete the line with print(), the result will be normal.
    in class node, there is two functions
    void print(ostream *out = &cout, uword level = 0,uword step = 4);
    void print(DOMString buffer, size_t bufsize, uword level = 0, uword step = 4);
    Is there anyone who may tell me how to use them? to write back specific xml file?
    Without print(), I can not save the xml file...It seems in Oracle xdk9.0.0.0.0, there is no obvious function to save the file.(or because I am a new comer , not familier with DOM)
    Can anyone tell me how to save xml file? or just paste an example! It is very a little urgent to me...Hope you give me some ideas....
    Many thanks in advance!!!!
    yours,
    Fiena

    Hi,
    goto sxmb_adm > intergration engine configration > specific configration
    go in edit mode > new entry
    choose
    Category -> IDoc
    Parameters -> XML_CONVERSION
    current value -> 2
    Regards,
    Manisha

  • Issue to load data from database to XML file. error: ODI-40768

    Hi,
    While I am trying to load data from database to XML following error is appearing.
    ODI-1228: Task TEST_XML_DATA (Integration) fails on the target XML connection MyLOCALXSD.
    Caused By: java.sql.SQLException: ODI-40768: Could not save the file <default>:C:\DATA_FILE\www.xml because a class java.io.IOException occurred and said: The filename, directory name, or volume label syntax is incorrect
         at com.sunopsis.jdbc.driver.xml.SnpsXmlFile.writeToFile(SnpsXmlFile.java:751)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.internalExecute(SnpsXmlConnection.java:769)
         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:2906)
         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 oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         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)
    jdbc url: jdbc:snps:xml?d=C:\test_xsd.xsd&s=TESTSQL&re=employeesX&ro=true
    physical schema: TESTSQL
    Knowledge modules are:
    LKM: LKM SQL to SQL
    IKM: IKM XML Control Append
    CKM: CKM SQL
    Parameters set are:
    CREATE_XML_FILE: true
    XML_PATH:<default>:C:\DATA_FILE\www.xml
    I have tried to change the directory path but error is still there.
    Could some one please help me to resolve the issue?
    Regards,
    user1672911

    Hi,
    The trouble in "<default>:"  - if you set XML_PATH as C:\DATA_FILE\www.xml instead  <default>:C:\DATA_FILE\www.xml- it will work correctly.
    Greetings,
    Eugene

  • ITunes "cannot save library file" error in Vista

    I just began ripping my latest pile of cd's into iTunes on my new Vista Media Center PC. Occasionally I get the popup "The iTunes library file cannot be saved. You do not have enough access privileges for thei operation" I checked and double checked the security on all of the iTunes files and folders, and not only do I (the system administrator), but also SYSTEM and Everyone have full access to the folder and files. My library is in C:\Users\Jerry\Music\iTunes\ , which is the default installation directory selected by iTunes. I have almost 11,000 songs, and I have already completely rebuilt the library in this version of iTunes as a means to try to resolve this problem. I am on iTunes 7.2.0.16 , everything on the PC is up to date, and I see nothing that makes this error seem correct. Has anyone else seen this, and do you have a fix? What are the implications of NOT saving the file? Thanks, Jerry

    Same issue here. Running Windows Vista Home Premium Edition and newest version of iTunes. Normally happens when I am ripping a CD into iTunes and by chance multi task or the screen saver kicks in.
    What ***** is if you walk away while ripping a CD(because it takes 3 times as long in iTunes vs any other ripper), and it will halt your ripping until you click "ok". I have not tried the "dont tell me again" check box just in case it is a problem I need to know about. This happened about 2 or 3 days after upgrading to Vista and I got an empty library the next time I opened the library. Somehow it got corrupted. Luckily I back up the xml file and just restored that one file from last back up.
    (off subject but also getting the maxed our processor still in the newest version for Windows Vista. Wish they would fix that!)

  • Save XML file?

    I have a blog on Blogger http://www.enduringepilepsy.com that I want to design my own template for. I'm fairly familiar with HTML and CSS, and I've been working on the code for a few days.
    The problem: Blogger will only upload an XML file. And if you copy and paste the HTML into the Blogger editor, Blogger gives errors.
    I've been writing the theme in a program called TextWrangler, which is nice because it numbers the code lines and colors it as you type.  http://http://www.barebones.com/products/textwrangler/ However, although you can save the file in TextWrangler as XML, its only showing in Finder as a TXT; so it won't upload.
    This problem is making it that I can't see the progress of my work and wouldn't be able to use the final theme.
    Can anyone tell me how to save an XML file on my MacBook? *I'm running Mountain Lion 10.8.4

    Blogger kicks it back giving parse errors about the code, usually for the open/close of HTML tags; which is part of what led me to believe it was the file. Also because my other XML files (downloaded back-ups) look like this in Finder:
    Being that it was showing up differently, and errors, I thought it was a problem saving as XML.
    If the first image is how your TextWrangler files appear - a few questions:
    do you use yours on Blogger? can you view the code by dragging to a browser? have you been able to upload anywhere without a problem?
    I've even just edited my old template, which was a downloaded free template, but if I save it can't upload - so I'm really stumped by this

  • Export XML file error

    Hello,
    When i try to export xml file, i get next error:
    "ODI-1228: Task P_CREATE_MANUAL_XML (Procedure) fails on the target XML connection XML_BKI.
    Caused By: java.sql.SQLException: ODI-40768: Could not save the file /u01/app/out_files/bki/CRE_HAND_OPERATED.XML because a class java.sql.SQLException occurred and said: java.sql.SQLException: java.sql.SQLException: Closed Connection"
    But when i restart the agent, all becomes good for a while.
    Who knows that problem?

    Michael R wrote:
    The target table will be created when you execute the interface, if you set the option on the flow tab as instructed in step #6 of the "Setting up ODI Constraint on CLIENT Datastore" Section.
    Option     Value
    CREATE_TARG_TABLE      trueHi Michel,
    This was not my required answer.I am sorry that I was unable to clarify my question.Actually
    +This project executed successfully with some warning.Target Table is automatically created in database and also populated with data.But when I right-click Target Datastore(in >Mapping Tab of the Interface), and then select Data to View Data that needs to be inserted in the target table.I get some error like this:-...+This above line is the result of my project my problem is
    when I right-click Target Datastore(in Mapping Tab of the Interface), and then select Data to View Data that already inserted in the target table.Is not shown by the view data operation.
    I meant to say I am facing this error
    At the10(1010 written) step of
    Creating a New ODI Interface to Perform XML File to RDBMS Table Transformation
    wehre it says
    Open the Interface tab. Select Mapping tab, right-click Target Datastore - CLIENT, and then select Data. View Data inserted in the target table. Close Data Editor. Close the tabs...
    In my case when I use my sqldeveloper I can see data successfully inserted in my target table and also in error table (data that can't satisfy the constraint) .But I was unable to check this by following the above mentioned 10 th step and got this error.
    Thanks

  • Create prov.xml file error 14 or 28

    When I wan’t to create a prov.xml file for Muse to activate computers in the Enterprise I get the 14 error, the comandline I use is: 
    adobe_prtk --tool=VolumeSerialize --generate --serial=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx --leid=Muse-1.0-Win-GM
    Copyright 2012 Adobe Systems Incorporated 
    All rights reserved. 
    Return Code Code = 14
    When I use the comandline  with provfilepath I get the error 28;  
    adobe_prtk.exe --tool=VolumeSerialize --generate -- serial=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx --leid=Muse-1.0-Win-GM --provfilepath=C:\temp\prov.xml
    Copyright 2012 Adobe Systems Incorporated 
    All rights reserved. 
    Return Code Code = 28
    What goes wrong, any help would be appreciated
    TIA.
    Harmen

    Hello Harmen, please check the %temp%\oobelib.log after completing your first command. This will reveil more details.
    @Adobe:
    I do get the same error code 14 (and then 19) when running the above command for leid=DesignSuiteStandard-CS6-Win-GM
    del "%temp%\oobelib?.log" /q /s
    %~dp0adobe_prtk --tool=VolumeSerialize --generate --serial=xxxxxxxxxxxxxxxxxxxxxxx --leid=DesignSuiteStandard-CS6-Win-GM --regsuppress=ss --eulasuppress --locales=de_DE --provfilepath=%temp%
    ren "%temp%\oobelib.log" oobelib1.log
    %~dp0adobe_prtk --tool=VolumeSerialize --stream --provfile=%temp%\prov.xml
    ren "%temp%\oobelib.log" oobelib2.log
    Permissions are correctly set for \SLStore and \SLCaches. Prov-File-Path was set to %temp% and is accessible/writable. Scripts were run with elevated privileges.
    In Adobe's damn bad documentation I found a hint that Adobe Application Manager (now Adobe Creative Cloud Client) is required for the VolumeSerialize commands to work* but in my case this didnt change a thing...
    * p.135 http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/DE/AdobeApplicat ionManagerEnterpriseEditionDep…
    further reading chapter "Volumenserialisierung des Pakets" Creative Cloud-Hilfe | Verwenden von Adobe Provisioning Toolkit Enterprise Edition
    Adobe advises to catch the %temp%\oobelib.log which includes more information. However make sure to backup this file after each run of adobe_prtk because it gets overwritten :/
    My results:
    - step 1 "generation of prov.xml" ends with OOBELIB: SN validated for AAMEE Mode; stat = 27; Adobe PRTK: Failed to validate the serial number  => Code 14
    - step 2 "activation" ends with "invalid prov.xml" because of step 1 => Code 19
    Once I set provfilepath to c: or c:\ step one quits with return code 28 (sufficient rights are set though). Whenever I omit the provfile-Parameters in step 1 and 2 I still receive return code 14 and 19.
    Btw. another hint: check logs when doing a single command line serialization... For me I get loads of errors and end up with a trial mode and register popup
    adobe_prtk --tool=Serialize --leid=DesignSuiteStandard-CS6-Win-GM --serial=xxxxxxxx [email protected]
    Please help me out
    PS: We're on ETLA (OTH Regensburg, former University of Applied Sciences, Ratisbon)

  • Using "Save As" execCommand in IE8 to save XML file in ANSI format instead of UCS2-Little Endian

    I am currently trying to save an XML data using "SaveAs" execCommand  from Javascript in Internet Explorer 8 only.I am using document.write(xml) to write the xml content after i open a window.The document object in IE8 uses a saveAs Exec
    Command to allow the user to save the xml file in the local folder.The XML file is generated but it doesnt set the encoding to my preferred type  for a different interface where i need to send this XML which is ANSI/UTF-8   encoding.I can only save
    the XML in UCS2 little Endian encoding format.Below is the code i am using.
         var location = "D:\\export_to_MCT"+dateTime+".xml";
            var xml = tmpSelectedConfigurationXML.transformNode(xslDoc);// XML Is generated here
           alert(xml);
             **var testlink = window.open  ("about:blank","_blank","toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,left=10000, top=10000, width=10, height=10, visible=none");
             testlink.document.write(xml); //fileData has contents for the file
        testlink.document.close();
        testlink.document.execCommand('SaveAs', false, location);**
        testlink.close();
    My purpose is to save the xml  in ANSI/UTF-8 encoding without BOM format.I cant use Scripting.FileSystemObject method of ActiveX object.Please suggest

    @panda Boy--
    But my intention isnt that .I need to download the xml in ANSI format

  • XML file error while loading import manager

    Hi all,
    I am new to MDM.
    I have archive repository(.a2a file),xsd files,import maps and export maps.I have unarchived the repository in console and I am trying to load import manager by selecting the file type as XML schema, client system as MDM, XMl schema name and file name as XML file of given XSD in import manager folder of server.
    I am getting error like "failed to parse XML file".
    Please help me out regarding this.
    Thanks in advance.
    Ravi.

    Hi ravi,
    Is it MSXML 4.0 SP2 parser?
    <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en</a>
    Try installing this and let me know.
    Thanks and Regards,
    <b>Sagar Sonje</b>
    Message was edited by:
            Sagar Sonje

  • How to Save XML file in the same directory as the swf file automatically?

    Hi all,
    I'm really new here with flash and actionscript 3, so i might not make any sense, probably. Any input is greatly appreciated.
    So here's my problem, i'm trying to make a Top Score history for a flash game, which i load from an XML file. The problem comes to when i want to update the XML file. how do i do that automatically without prompting the user (ofcourse). I want it to be saved automatically to the same directory as the flash file.
    here's my code right now, but it prompts the user where it wants to be saved, which i don't want to happen:
    var xml:XML = <XML>
                        <topScoreList>
                        </topScoreList>
                  </XML>;
    for(var i:Number=0; i<10; i++)
         var Record:XML = <Record>
                             <score></score>
                             <playerName></playerName>
                        </Record>;
         Record.score.appendChild(topScores[i].toString()); //topScores[] -> class variable containing scores
         Record.playerName.appendChild(topNames[i].toString()); //topNames[] -> class variable containing names
         xml.topScoreList.appendChild(Record);
    var ba:ByteArray = new ByteArray();
    ba.writeUTFBytes(xml);
    var fr:FileReference = new FileReference();
    fr.save(ba, "topScoreList.xml");

    yeah that makes sense, actually - after reading a dozen more forums. It's really weird tho that flash doesn't have a Buffer writer, unlike other programming frameworks.
    But yeah, thanks. i'll start reading on flash.net.SharedObject, correct ? Thanks.
    Anyways, if anyone out there has a different input, will be greatly appreciated!!

  • Xml file error in file adapter

    Hi Experts.
    In my sceanrio i am Using File dapter. this adapter pick the Xml file.
    here my client provieded sample Xml file (this Xml file don't have the  Url and Xml version).
    I am getting mapping error. nothing is wrong with mapping.
    Client proveded.
    - <MESSAGE>
      <TABLENAME>ZMPSXMSGDET</TABLENAME>
      <ACTION>I</ACTION>
    - <RECORD>
      <XMTYPE>ID</XMTYPE>
      <XMID>2</XMID>
      <ACCOUNTNUMBER />
      <CONSUMERNAME />
      <POSTCODE />
      <ACTIONDATE />
      <ACTIONTYPE />
      <USERID />
      <SENDINGPARTYTYPE />
      <DELIVERYMETHOD />
      <INTENDRECIPIENT />
      <SUBMITDATE />
      <BILLINGOPTION />
      <CONTENTFORMAT>XML</CONTENTFORMAT>
      <NEWSUPPLIERID />
      <COMPRESSED>Y</COMPRESSED>
      <NEXTINVOICEDATE />
      <UPDATEDON />
      <UPDATEDBY>SonicMQ</UPDATEDBY>
      <RAWMSG_LEN>33366</RAWMSG_LEN>
      <DATA>UEsDBBQACAAIAC6kKDoAAAAAAAAAAAAAAAArAAAAS</DATA>
      </RECORD>
      </MESSAGE>
    I am getteting blow error message: in SXMB_MONI
    *<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>*
    *- <!--  Request Message Mapping*
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_ZMPSXMSGDET_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_ZMPSXMSGDET_: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Edited by: srinivasreddy p on Jun 12, 2009 10:28 AM

    Hi,
    I am getting following error in recvier proxy.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Inbound Proxy
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">PARSE_APPLICATION_DATA</SAP:Code>
      <SAP:P1>Request Message</SAP:P1>
      <SAP:P2>CX_ST_MATCH_ELEMENT</SAP:P2>
      <SAP:P3>/1SAI/TXS17E9317D0B8ACCD31C62</SAP:P3>
      <SAP:P4>XML Bytepos.: 12 XML Path: MESSAGE(1) Error Text: System expected the element 'MT_ZMPSXMSGDET_RECV'</SAP:P4>
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error during XML => ABAP conversion (Request Message; error ID: CX_ST_MATCH_ELEMENT; (/1SAI/TXS17E9317D0B8ACCD31C62 XML Bytepos.: 12 XML Path: MESSAGE(1) Error Text: System expected the element 'MT_ZMPSXMSGDET_RECV')) System expected the element 'MT_ZMPSXMSGDET_RECV'</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

  • HTTPService call to XML file error

    I am getting the "HTTP request error" when I attempt to load
    an XML file. I'm setup for PHP web access using MAMP and I'm
    attempting access a XML file (LatestAdoptees.xml) located in a
    subfolder called Data. I have checked and the subfolder and file
    are located both in my src folder and in the MAMP
    htdocs/FoxPets-debug folder. I based my code on Ch 21 of Flex 3
    Bible. Can anyone tell me where I made the wrong turn?

    I notice that you have not set resultFormat="e4x". You
    really, really want to do that.
    Othrwise, you will have a tree of dynamic objects and not
    XML. And the converter that does that oftem makes some bad
    decisions, over which you have no control.
    Tracy

Maybe you are looking for