XML-error: Not well-formed (invalid token)

Hello,
I want a new XML structure in the Script from my InDesign CS6 (MAC 10.7.4) document. Here ist my little testscript:
     var doc = app.documents.item(0);
     var allStories = doc.stories;
    newXML = new XML('<root></root>');
    for(var i = 0; i < allStories.length; i++) {
        var curStory = allStories[i];
         for(var j = 0; j < curStory.textStyleRanges.length; j++) {
            var textStyleRange = curStory.textStyleRanges[j];
            alert(textStyleRange.contents);
            t = new XML('<content>' +textStyleRange.contents + '</content>');
            newXML.appendChild(t);
    alert(newXML);
The document has a text frame with the text, such as "C & A". When the script starts, it shows me the error message "XML-error: Not well-formed (invalid token)" on.
The problem with the "&" is. Probably also other Characters.
I think InDesign can automatically convert this into "&amp;" or other entities, but how?

I solved the Problem.
The line with
t = new XML('<content>' +textStyleRange.contents + '</content>');
is the Problem. textStyleRange.contents is not converted. The right way is here for the line:
t = new XML('<content></content>');
t.appendChild(textStyleRange.contents);

Similar Messages

  • WHAT IS THE FIX TO THIS ERROR:  XML Parsing error: not well-formed (invalid token) (error code 4)

    Hello, looking to see if there's anyone out there who knows how to resolve this error from popping up when I open a previously saved adobe file with data populated inside (tax form). 
    The error states: 
    XML Parsing error: not well-formed (invalid token) (error code 4), line 16028, column 2 of file. 
    So when I go to open this file, THAT ERROR appears.  But then allows me to view the content inside the PDF (tax form) - however it will not allow further editing - this is an issue. 
    This began after working and populating certain files, then transferring to a hosting site.  Now when I open any PDF file from the hosting site, the error appears.  Could just be coincidental however throwing that out there in case it's useful.
    What causes this error & what is the fix?
    Cheers! 

    Unfortunately No.  This was a tax form downloaded from IRS.gov.  The PDF file has been populated and saved off.  I believe the file has somehow become corrupt.  Curious how to cleanse the file so it opens without issue (that error message).
    Thanks for your response

  • XML Parsing error: not well-formed (invalid token) (error code 4) --- Urgent Help Needed!

    Hi all, what im doing now is im trying to create a database connection my my MS SQL 2005 database. I created a data source and went to my Adobe Lifecycle Designer 7.1, i created a new data connection, selected OLEDB and created the connection string using the build function.
    Ok, now the problem is, after creating the new data connection and i click on the preview tab, i will receive the error stated above.
    'XML Parsing error: not well-formed (invalid token) (error code 4), line 444, column 1 of file'
    Does anyone know why am i receiving this error and how do i go about solving this?
    I need this database connection to pre-fill my form when the user downloads the form =(

    I have a vital form that clients fill out, which is passed to many people in the company along the workflow. The form is a Planner and we have in the following PDF, Word Doc..
    Well before, the Planner.pdf was originally created in Word, since most people have access to Word.. but evolved to a PDF form created from the Word Doc via Adobe LiveCycle Designer 8.0 w/ User Rights enabled so that the form could be filled out and saved using Adobe Reader.. which was a step better than Word.. being that it is free. But this needed to be easier and more to the point b/c some clients don't particularly like installing the latest version of Reader, even if you provide them the link. Nor do they like saving the form, filling the form, and attaching the form to send back.
    My goal is to have the client fill an HTML version of the form, submit and be done with it, but everyone in the workflow be able to easily receive the filled Planner as a PDF form.
    So some months ago I ran into this post Chris Trip, "Populate Livecycle PDF from mySQL database using PHP" #8, 22 Sep 2007 4:37 pm
    which uses the command line Win32 pdftk.exe to merge an FDF file into an existing PDF on the remote server, and serve this to whoever.
    My problem was with shared hosting and having the ability to use the Win32 pdftk.exe along with PHP which is predominantly used on Linux boxes. And we used a Linux box.
    so i created the following unorthodox method, which a client fills the HTML version of the Planner, all field values are INSERTED into a table in MySQL DB, I and all filled planners that have been filled by clients to date can be viewed from a repository page where an XML file is served up of the corresponding client, but someone would have to have Acrobat Professional, to import the form data from the XML file into a blank form.. altoughh this is simple for me.. I have the PHP file already created so that when a Planner is filled and client submits. >> the an email is sent to me with a table row from the repository of the client name, #, email, and a link to d-load the XML file,
    But I also have the PHP files created so that the Planner can be sent to by email to various people in the workflow with certain fileds ommitted they they do not need to see, but instead of the XML file beiong served up i need the filled PDF Planner to be served.
    I can do this locally with ease on a testing server, but I am currently trying to use another host that uses cross-platform compatibility so i can use PHP and the pdftk.exe to achieve this, as that is why I am having to serve up an XML file b/c we use a Linux server for our website, and cant execute the exe.
    Now that I am testing the other server (cross-platform host), just to use them to do the PDF handling (and it's only $5 per month) I am having problems with getting READ, WRITE, EXECUTE permissions..
    Si guess a good question to ask is can PHP do the same procedure as the pdftk.exe, and i can eleminate it.
    or how in the heck can i get this data from the DB into a blank PDF form, like i have described??
    here are some link to reference
    Populating a LiveCycle PDF with PHP and MySQL
    http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL
    HTML form that passed data into a PDF
    http://www.mactech.com/articles/mactech/Vol.20/20.11/FillOnlinePDFFormsUsingHTML/index.htm l
    and an example
    http://accesspdf.com/html_pdf_form/

  • Xml parsing error: not well-formed (invalid token) (error code 4) - URGENT

    Hi all, i am doing an adobe form which requires me to pre-fill my form when a user downloads the form, but 1st i need a database connection, after creating a Data Source, i opened my intereactive form and created a new data connection, but after creating a data connection and i click on the preview tab, i will receive this error:
    'Xml parsing error: not well-formed (invalid token) (error code 4), line 444, column 1 of file'
    It really is a headach for me, i tried many ways of creating a database connection to my MS SQL 2005 database but failed, can anyone tell me why is am i receiving this error? and can someone guide me on solving this problem?
    POINTS AWARDED HANDSOMELY IF ANYONE IS WILLING TO HELP ME
    Thanks in advance

    Hi all, i am doing an adobe form which requires me to pre-fill my form when a user downloads the form, but 1st i need a database connection, after creating a Data Source, i opened my intereactive form and created a new data connection, but after creating a data connection and i click on the preview tab, i will receive this error:
    'Xml parsing error: not well-formed (invalid token) (error code 4), line 444, column 1 of file'
    It really is a headach for me, i tried many ways of creating a database connection to my MS SQL 2005 database but failed, can anyone tell me why is am i receiving this error? and can someone guide me on solving this problem?
    POINTS AWARDED HANDSOMELY IF ANYONE IS WILLING TO HELP ME
    Thanks in advance

  • Since installing the latest update, Firefox will not load; it gives me the following error -- XML Parsing Error: not well formed.

    since installing the latest update, Firefox first operated with some errors but now will not load at all; it gives me the following error --
    XML Parsing Error: not well formed
    locations chrome://browser/content/browser.xml
    Line Number 1191, column 20:
    utton id="back-forward-dropmarker" type="menu" chromedir="&locale.dir;"-------------------
    please note that the words "utton ID" are exactly as the error message gives it; and at the end of the message there are exactly 19 hyphens.
    I don't know why this faulty code is referencing things to do with "chrome"... the Chrome browser is not installed on this PC or anywhere on our network.
    Also, this is not the first problem I had after clicking Firefox's prompt for the latest update. Before Firefox retreated into this error message, it was loading but running with some faults...
    1. the bookmark symbol was not appearing on the right hand side of the URL line, so I had always to click on "bookmark this page", after which the bookmark symbol did appear; however I don't know if the bookmarking function worked properly.
    2. the back and forward buttons were not highlighted, as if I had not come from a previous page; so once I clicked on a link to a new page I could not go back to where I came from because Fiefox thought I hadn't come from anywhere.
    3. there may have been other errors, but I did not find them.
    How do I reinstate my Firefox program to work properly please? do I have to download the latest version and reinstal? if so, do I have to remove the old version first? or is there a fix?
    Even to write this message I have been forced to use (yuk -- I don't like to say this!!!) Internet Explorer. So please -- I need help urgently.
    Thanks,
    NOEL

    Some how I solved my problem by opening a user account and downloading Firefox 4.0 beta and installing it, I did try it, worked fine, so I did close the user account and did go back to my own account(switched user), the main page that I had problem with Firefox which would not open, I dabble click on Firefox it start working again!! I hope that solves your problem too.
    firefox will not open, it gives me this cod and would not turn off, Error on switching in renew: NS_ERROR_UNEXPECTED, Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref] id: none

  • Firefox crashes continually. Now I'm getting this error and cannot open firefox at all: XML Parsing Error: not well-formed Location: chrome://browser/content/browser.xul Line Number 1068, Column 87:

    SInce the latest update Firefox has crashed continually for about two weeks now. Continually means at least 10 times a day. Now it does not open at all and I get this message when launching Firefox:
    XML Parsing Error: not well-formed Location: chrome://browser/content/browser.xul Line Number 1068, Column 87:

    SInce the latest update Firefox has crashed continually for about two weeks now. Continually means at least 10 times a day. Now it does not open at all and I get this message when launching Firefox:
    XML Parsing Error: not well-formed Location: chrome://browser/content/browser.xul Line Number 1068, Column 87:

  • Firefox will not open, error says XML parsing error:not well formed... It's also been crashing for a while.

    I've made no changed to any settings, I was browsing, closed it, realized I forgot to do something, reopened it and it opens a small box that says;
    XML parsing error: not well-formed
    Location: chrome://browser/content/browser.xul
    Line number 808, column 66:
    And then in red it says;
    oncommand="InLineSpellCheckerUI.toggleEnabled() ;&/>
    --------------------------------^

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    Profile Backup and Restore
    *http://kb.mozillazine.org/Profile_backup
    *https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • R12 - Format Payment Instructions XML Parsing Error: not well-formed

    We are going from 11.5.10 to R12,
    We followed the Note : 562806.1 to generate the XML file but we are getting the following error?
    XML Parsing Error: not well-formed
    Location: http://XXXXXXXXXXXXXX.com:8030/OA_CGI/FNDWRR.exe?temp_id=3412576704
    Line Number 1, Column 9:%PDF-1.4
    --------^
    Any help or suggestions would be great!
    Thanks

    Please see if the solution in (BI Publisher Reports End With Error When There Is An Ampersand Character ( & ) On The Xml Data File [ID 1081175.1]) is applicable.
    Thanks,
    Hussein

  • XML Parsing Error: not well-formed Help!

    Hello Everyone,
    I followed this link "http://quest4apps.wordpress.com/2010/07/31/xmlp_report/" to create data template and RTF to generate a report. I have done exactly the same. But when i run the concurrent program i get "Completed" with "Warning" and on View Log i see ".....One or more post-processing actions failed...". And when i view XML i get
    XML Parsing Error: not well-formed
    Location: ********
    Line Number 3, Column 2:
    &lt;&gt;
    -^This is my data template:
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
        <dataTemplate description="Invoice Data" Version="1.0">
            <parameters>
                <parameter name="p_OrgId" dataType="number" />
                <parameter name="p_VendorId" dataType="number" />
            </parameters>
            <dataQuery>
                <sqlStatement name="Q1">
                    <![CDATA[
                        SELECT invoice_num,invoice_currency_code,invoice_amount
                        FROM ap_invoices_all
                        WHERE org_id = :p_OrgId
                        AND vendor_id = :p_VendorId
                    ]]>
                </sqlStatement>
            </dataQuery>
            <dataStructure>
                <group name="G_INV" source="Q1">
                    <element name="INV_NUMBER" value="invoice_num" />
                    <element name="INV_CUR_CODE" value="invoice_currency_code" />
                    <element name="AMOUNT" value="invoice_amount"/>
                </group>
            </dataStructure>
        </dataTemplate>And also when i run run other RDF reports it works fine. Please help me on this..
    Thanks & Regards
    John.

    Are you sure the parameters are passed correctly to data template?
    Can you try hardcoding the org and vendor details in query and try running the conc pgm again?
    Also validate if that query return records...

  • XML Parsing Error: not well-formed (C# Visual Studio 2013)

    I am working on a project in visual studio that imports a csv, and exports an xml file. I'd like to be able to get the code to work as xml and html, and view it in a browser. I am getting this error when I load the xml file into a browser:
    Firefox
    XML Parsing Error: not well-formed Location: file:///C:/Users/fenwky/XmlDoc.xml Line Number 2, Column 6:?> -----^
    Chrome
    This page contains the following errors: error on line 2 at column 16: colon are forbidden from PI names 'xsl:transform'
    This is what my c# code looks like in visual studio 2013:
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    // Stylesheet
    String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    newPI = doc.CreateProcessingInstruction("abc:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    // Save document
    doc.Save(xmlfilename);

    Hi
    Kylee Fenwick,
    Could you show us your CSV file? And the code how do you imports a csv and exports an xml file?
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.
    Hi Kristen,
    Thank you in advance for your healp. Here is my CSV file:
    Item Code;Item Description;Current Count;On Order
    A0001;"Wheels, Horse on";5;No
    A0002;"Wheels, Elephant on";2;No
    A0003;"Wheels, Dog on";0;Yes
    A0004;"Wheels, Seal on";3;No
    A0005;"Wheels, Bear on";7;No
    A0006;"Bear, Teddy";2;Yes
    A0007;"Clown,";5;No
    A0008;"Puppy(crouch),";3;No
    A0009;"Puppy(stand),";2;No
    A0010;"Puppy(jump),";2;Yes
    A0011;"Pupp(lying),";1;Yes
    A0012;"(50), Cart with Blocks";0;Yes
    A0013;"(100), Cart with Blocks";5;No
    A0014;"(200), Cart with Blocks";4;No
    A0015;"Carriage, Train with 0";12;No
    A0016;"Carriage, Train with 1";10;No
    A0017;"Carriage, Train with 2";5;Yes
    A0018;"Carriage, Train with 3";4;Yes
    A0019;"Carriage, Train with 4";5;No
    A0020;"Carriage, Train with 5";2;No
    A0021;"(20), Building Blocks";15;No
    A0022;"(30), Building Blocks";13;No
    A0023;"(40), Building Blocks";16;No
    A0024;"(50), Building Blocks";5;Yes
    A0025;"(100), Building Blocks";2;Yes
    A0026;"(200), Building Blocks";8;No
    A0027;"Windmill,";5;No
    A0028;"Farmhouse,";6;Yes
    A0029;"Fencing,";22;Yes
    A0030;"Barn,";12;Yes
    A0031;"Tractor,";6;Yes
    A0032;"Animals,";3;Yes
    A0033;"House,";9;No
    A0034;"Car,";12;No
    A0035;"(small), Building";4;No
    A0036;"(medium), Building";3;No
    A0037;"(tall), Building";4;No
    A0038;"Shop,";7;No
    A0039;"Lights, Traffic";5;Yes
    A0040;"Station, Petrol";4;Yes
    And here is my code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.IO;
    using System.Data.OleDb;
    using System.Xml;
    using System.Xml.Xsl;
    using System.Xml.XPath;
    namespace CSVImporter
    public partial class CSVImporter : Form
    //const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml"; - file name and location of xml file
    const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml";
    // New code
    //const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml"; - file name and location of xsl file
    const string stylesheetsimple = @"C:\Users\fenwky\style1.xsl";
    //const string xmlfilecomplex = @"C:\Users\fenwky\XmlDoc2.xml";
    const string xmlfilecomplex = @"C:\Users\fenwky\XmlDoc2.xml";
    DataSet ds = null;
    public CSVImporter()
    InitializeComponent();
    // Create a Open File Dialog Object.
    openFileDialog1.Filter = "csv files (*.csv)|*.csv|All files (*.*)|*.*";
    openFileDialog1.ShowDialog();
    string fileName = openFileDialog1.FileName;
    //doc.InsertBefore(xDeclare, root);
    // Create a CSV Reader object.
    CSVReader reader = new CSVReader();
    ds = reader.ReadCSVFile(fileName, true);
    dataGridView1.DataSource = ds.Tables["Table1"];
    private void WXML_Click(object sender, EventArgs e)
    WriteXML();
    public void WriteXML()
    StringWriter stringWriter = new StringWriter();
    ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
    string xmlStr = stringWriter.ToString();
    XmlDocument doc = new XmlDocument();
    doc.LoadXml(xmlStr);
    XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    doc.InsertBefore(xDeclare, doc.FirstChild);
    // Test code //
    // Load the style sheet.
    XslCompiledTransform xslt = new XslCompiledTransform();
    xslt.Load("style1.xsl");
    // Test code //
    // Transform the file and output an HTML string.
    string HTMLoutput;
    StringWriter writer = new StringWriter();
    xslt.Transform("XmlDoc.xml", null, writer);
    HTMLoutput = writer.ToString();
    writer.Close();
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    // Stylesheet
    // String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    String PItext = "<xsl:stylesheet xmlns:xls=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    // newPI = doc.CreateProcessingInstruction("abc:stylesheet", PItext);
    newPI = doc.CreateProcessingInstruction("xls:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    // Save document
    doc.Save(xmlfilename);
    private void btExportComplexXML_Click(object sender, EventArgs e)
    WriteXMLComplex();
    public void WriteXMLComplex()
    // Creates stringwriter
    StringWriter stringWriter = new StringWriter();
    ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
    string xmlStr = stringWriter.ToString();
    XmlDocument doc = new XmlDocument();
    doc.LoadXml(xmlStr);
    XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    doc.InsertBefore(xDeclare, doc.FirstChild);
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    // Uses XML transformation.
    String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    newPI = doc.CreateProcessingInstruction("xsl:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    // Saves document.
    doc.Save(xmlfilecomplex);
    //Creates a CSVReader Class
    public class CSVReader
    public DataSet ReadCSVFile(string fullPath, bool headerRow)
    string path = fullPath.Substring(0, fullPath.LastIndexOf("\\") + 1);
    string filename = fullPath.Substring(fullPath.LastIndexOf("\\") + 1);
    DataSet ds = new DataSet();
    try
    if (File.Exists(fullPath))
    string ConStr = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0}" + ";Extended Properties=\"Text;HDR={1};FMT=Delimited\\\"", path, headerRow ? "Yes" : "No");
    string SQL = string.Format("SELECT * FROM {0}", filename);
    OleDbDataAdapter adapter = new OleDbDataAdapter(SQL, ConStr);
    adapter.Fill(ds, "TextFile");
    ds.Tables[0].TableName = "Table1";
    foreach (DataColumn col in ds.Tables["Table1"].Columns)
    col.ColumnName = col.ColumnName.Replace(" ", "_");
    catch (Exception ex)
    MessageBox.Show(ex.Message);
    return ds;

  • XML parsing error: not well formed Location:file///c:users/

    I have been trying to download tax info from the I.R.S site. When I try to open the downloads I get this error message:
    XML parsing error: not well formed
    Location: file///c:/Users/John/Downloads/available Transcripts.xhtml
    line number 1, Column 9

    Are you sure that this is an XML file and not some other file type like PDF that got saved with the wrong file extension?
    You can try to rename the file and change the file extension to .pdf to see if that works.

  • What is a (xml parsing error:not well-formed) and how to fix this

    what is a (xml parsing error:not well-formed) and how to fix this
    == URL of affected sites ==
    http://sudburyfinecars.subarudealer.ca
    == Troubleshooting information ==
    XML Parsing Error: not well-formed
    Location: http://sudburyfinecars.subarudealer.ca/WebPage.aspx?WebSiteID=205
    Line Number 258, Column 152:

    I found the solution to my own problem by using Internet Explorer instead of Firefox, it turn out that the site i was trying to get into is an old site using proxy servers that Firefox doesn't read properly giving me the XML parsing error:not well-formed.
    Its not Firefox's fault its just letting you know that this could be a problem site if it lets you in.

  • Could not initiate the BPEL process :the input xml is not well formed err

    Hi
    I am calling a bpel process from the bpel console. It is a syncronous process and just fetches values from the database. I see that when ever i call this for some inputs i get the following error , in the response.
    Could not initiate the BPEL process because the input xml is not well formed, the reason is :
    Error parsing envelope: (1, 6168) Invalid char in text. Please correct the input xml.
    When i see the log i have the following message
    fault.collaxa.cube.ws> <AdapterFramework::Outbound> Returning outbound XMLRecord for OutputParameters
    Exception: Error parsing envelope: (1, 6168) Invalid char in text.
    e.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
    e.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
    e.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:935)
    ate__ws._jspService(_ngDoInitiate__ws.java:455)
    erver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    .runtimev2.JspPageTable.service(JspPageTable.java:453)
    .runtimev2.JspServlet.internalService(JspServlet.java:591)
    .runtimev2.JspServlet.service(JspServlet.java:515)
    let.http.HttpServlet.service(HttpServlet.java:856)
    nd.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    urity.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    ity.AccessController.doPrivileged(Native Method)
    rity.auth.Subject.doAsPrivileged(Subject.java:517)
    I understand that the error is coming with parsing the output from the database values. Further i see the process is completed successfully when i see the flow and log and the out is present in the output response. Has any body faced this issue. What is that character that it is nto able to parse as the error says.
    Thanks
    -Pradip

    hi
    I have tried it using both xml and the initiate tab. I get the same error every time i do it for a particular value. i further think that this is occuring for the out put response that is got from the data base as the log says. ( given in the initial post). I can surely paster the input xml for you
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/top/InputXXESIOEHEADERSIFACE">
    <ns1:XxesiOeHeadersIfaceCollection>
    <ns1:XxesiOeHeadersIface>
    <ns1:orderSource></ns1:orderSource>
    <ns1:originalsystemreference></ns1:originalsystemreference>
    <ns1:customerNumber></ns1:customerNumber>
    <ns1:Country></ns1:Country>
    </ns1:XxesiOeHeadersIface>
    </ns1:XxesiOeHeadersIfaceCollection>
    </soap:Body>
    </soap:Envelope>

  • Could not initiate the BPEL process because the input xml is not well forme

    Your test request generated the following exception/fault:
    Could not initiate the BPEL process because the input xml is not well formed, the reason is :
    Error parsing envelope: (2, 152) Invalid char in text. Please correct the input xml.
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/RO_Update2">
    <ns1:RO_Update2ProcessRequest>
    <ns1:UserName>operations</ns1:UserName>
    <ns1:Responsibility>Depot Repair Engineer</ns1:Responsibility>
    <ns1:API_VER>1.0</ns1:API_VER>
    <ns1:P_commit>T</ns1:P_commit>
    <ns1:init_msg>T</ns1:init_msg>
    <ns1:Org_ID>207</ns1:Org_ID>
    <ns1:R_Number>10782</ns1:R_Number>
    <ns1:R_Status>1008</ns1:R_Status>
    <ns1:Obj_Ver_No>1</ns1:Obj_Ver_No>
    </ns1:RO_Update2ProcessRequest>
    </soap:Body>
    </soap:Envelope>

    Try
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <ns1:RO_Update2ProcessRequest xmlns:ns1="http://xmlns.oracle.com/RO_Update2">
    <ns1:UserName>operations</ns1:UserName>
    <ns1:Responsibility>Depot Repair Engineer</ns1:Responsibility>
    <ns1:API_VER>1.0</ns1:API_VER>
    <ns1:P_commit>T</ns1:P_commit>
    <ns1:init_msg>T</ns1:init_msg>
    <ns1:Org_ID>207</ns1:Org_ID>
    <ns1:R_Number>10782</ns1:R_Number>
    <ns1:R_Status>1008</ns1:R_Status>
    <ns1:Obj_Ver_No>1</ns1:Obj_Ver_No>
    </ns1:RO_Update2ProcessRequest>
    </soap:Body>
    </soap:Envelope>

  • "Could not initiate the BPEL process because the input xml is not well form

    hi all,
    i am new to BPEL and tring to create a BPEL WebServices. now i got struck up with one issue like below
    "Could not initiate the BPEL process because the input xml is not well formed, the reason is : Error parsing envelope Please correct the input xml."
    But according to BPEL compiler there are no errors in the design and deployment as well. when i tries to initiate the deployed WS i am facing the above issue.
    can anybody help me to fix this issue. Thanks in advance.
    Regards,
    Kalyan

    hi' Kalyan,
    The issue seems to be due to XSD file which you are importing while making the new BPEL process,
    the XSD file is very sensitive even a simple upper case will create error, XSD file are many times used when you want
    to pass some entries to be updated in the database.
    use this XSD file:"discountflow.xsd"
    <schema attributeFormDefault="qualified"
    elementFormDefault="qualified"
    targetNamespace="http://www.autoloan.com/ns/autoloan"
    xmlns:tns="http://www.autoloan.com/ns/autoloan"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <!--<element name="Demo" type="tns:DemoType"/>-->
    <element name="Order" type="tns:OrderType"/>
    <complexType name="OrderType">
    <sequence>
    <element name="orderid" type="int"/>
    <element name="tenantid" type="int"/>
    <element name="orderstatusid" type="int"/>
    </sequence>
    </complexType>
    </schema>
    <complexType name="Discount">
    <sequence>
    <element name="approval" type="boolean"/>
    <element name="discount" type="int"/>
    <element name="quantity" type="int"/>
    </sequence>
    </complexType>
    </schema>
    -Yatan

Maybe you are looking for

  • TS1394 Problem installing Snow Leopard

    I am running OS 10.4.11 on My Intel Macbook. I bought the 10.6.3 installation CD to upgrade. When I put it in the drive, it whirrs around for a few minutes, then ejects without showing up on my screen. What is happening? Why won't it install. I have

  • The disk drive door is open.... vers. 2.3 ipod need help (con'tud)

    almost everytime i try and load music onto my vers. 2.3 ipod it says "the disk drive is not ready for use; the door maybe open. Please check disk drive F: and make sure that a disk is inserted and that the drive door is closed" but i dont understand,

  • How to Reconcile Profit Center Vs Gl

    Hi Controlling Guru's This is the problem related to Profit Center Accounting, as you know some of the disadvantages of profit center, now i am facing the problem is that some of my accounts like Bank A/c's, Payable A/c's and some clearing accounts a

  • Using Spool to output data to file

    I am trying to write some sql scripts to do spooling of data to files automatically on the 1st day of each month. I use the spool command to output to text file but have problems setting the filename to tag with the date stamp. Script 1 : to get curr

  • Ipod mini - Mac - Windows - FILES

    Hi, Does anyone know if files duplicate when using the ipod mini as a hard-drive? For example, when saving a file (eg. word file) on the ipod from a Mac computer, will the file appear as duplicated when connecting the ipod to a Windows computer? (It