BI pusblisher output - XML generating

Hi
I have created BI Publisher report , local running its generated extract output .but when i will run in server side the output getting an xml output appearing
how can i can bug the issue
Regards
Sanjay
Edited by: 993525 on Apr 18, 2013 4:37 PM

Warning Program - Log file:
XXTC Custom: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XXTCTRAIL module: XXTC Trail
Current system time is 18-APR-2013 17:43:06
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
APPLLCSP Environment Variable set to :
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
AMERICAN_MALAYSIA.AL32UTF8
Enter Password:
Report Builder: Release 10.1.2.3.0 - Production on Thu Apr 18 17:43:08 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Output file size:
219
------------- 1) PUBLISH -------------
Beginning post-processing of request 607837 on node TCMHQ-ERP-APP01 at 18-APR-2013 17:43:09.
Post-processing of request 607837 failed at 18-APR-2013 17:43:09 with the error message:
One or more post-processing actions failed. Consult the OPP service log for details.
------------- 2) PRINT   -------------
Not printing the output of this request because post-processing failed.
Finished executing request completion options.
Concurrent request completed
Current system time is 18-APR-2013 17:43:09
2. based on OS Version (windows 7) my BI publisher not running proper getting output like as XML tag generated format?
Regards
Raj

Similar Messages

  • Save Output Xml Generated During Bursting Process To Database

    Hi All,
    I am using BI Publisher 10.1.3.4.1 to geneate pdf invoices from xml file. One xml file contains around 10k invoices. During bursting process, I can see that xml file for each individual invoice is generated in the log directory along with some other files. Can I save the individual xml files in database instead of in a directory. How do I achieve this?
    Help from any one is highly apreciated.
    Thanks
    Angshuman
    Edited by: Angshuman on Aug 23, 2010 12:28 AM

    you have to use the bursting engine api and burst in your java code, and listen to the listener, which will give you the handle to the xml files, then you can store them in DB.

  • Unable to generate output due to huge xml generated

    Hello All,
    I am working on etext templates for generating EFT payments.
    When the payments are below 100 then the output is fine. But when it is crossing 100 payments then it is not producing any output.
    This is a standard rtf which I have modified and added some xpath conditions in the OutboundPayment table. I think because of xpath conditions the xml structure is modified internally and the xml generated is very huge.
    When I have used the original rtf without adding any conditions the output is produced for any number of payments.
    Can any one provide some help on this.

    sorry posted in wrong forum

  • XSLT Generation from input and output XML

    Is it possible to generate an XSL mapping file in Java if we have input and output XML.
    If yes, then how to achieve this when user defined functions are used during mapping?

    Hi Prateek,
    check the following links for Business connectors and adapter:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/92/3bc0401b778031e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/4fb240ac052817e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/6a/3f93404f673028e10000000a1550b0/frameset.htm
    Hope these help you.
    Regards,
    Anuradha.B

  • Error in outputting xml formatted data

    Hello,
    I'm trying to output xml formatted data using apex.
    At about 70% into the formatted output I get this in the browser:
      <descript>punct= & > < /,() &</descript>
      </row>
    - <row The 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.
    Only one top level element is allowed in an XML document. Error processing resource 'http://apex.oracle.com/pls/otn/f?p=158...
    <script language="JavaScript1.1" type="text/javascript">
    -^
    m">>
    <DIVI have a 600 row table (dml below) with identical string in each row of the descript column. (I put in some special characters just to push it through the escape function for html. It is displaying the text correctly.)
    The page has one report region (plsql below).
    The page template is stripped down.
    My local results are identical to the otn hosted workspace.
    I did dump the table in xml format and displayed the dump file in browser without a problem, so I'm missing something in the code.
    Thank you.
    Albert
    On OTN webspace, go to http://apex.oracle.com/pls/otn/f?p=15866:1:1291425545573680200:::::
    plsql
    declare
    xdescript varchar2(4000);
        begin
        -- xml preface is in the page template
        -- htp.p('<?xml version="1.0"?>');
        htp.p('<rowset>');
        begin
            for item in
            (select descript,cid from receipts order by cid)
            loop
            htp.p ('<row>');
            xdescript := htf.escape_sc(item.descript);
            htp.p('<cid>' || item.cid || '</cid>');
            htp.p('<descript>'|| xdescript || '</descript>');
            htp.p('</row>');
            end loop;
        end;
        htp.p ('</rowset>');
    end;
    dml
    CREATE TABLE  "RECEIPTS"
       (     "CID" NUMBER,
         "AMOUNT" NUMBER NOT NULL ENABLE,
         "CLEARED" DATE,
         "DESCRIPT" VARCHAR2(80),
         "DATEENTERED" DATE DEFAULT SYSTIMESTAMP,
         "CHECKNBR" NUMBER,
         "CLEARSEQ" NUMBER DEFAULT 0,
          CONSTRAINT "RECEIPTS_PK" PRIMARY KEY ("CID") ENABLE
    CREATE SEQUENCE   "RECEIPTS_SEQ"  MINVALUE 1 MAXVALUE 999999999999999999999999999
    INCREMENT BY 1 START WITH 4319 CACHE 20 NOORDER  NOCYCLE
    CREATE OR REPLACE TRIGGER  "BI_RECEIPTS"
      BEFORE INSERT ON "RECEIPTS"
      FOR EACH ROW
    BEGIN
        SELECT "RECEIPTS_SEQ".NEXTVAL INTO :NEW.CID FROM DUAL;
    END;
    ALTER TRIGGER  "BI_RECEIPTS" ENABLE
    /

    May be it helps you. I use SQL/XML and APEX Application Process to generate XML succesfully
    Here is the result:
    http://htmldb.oracle.com/pls/otn/f?p=9774:101:0:APPLICATION_PROCESS=RSSNEWEVENTS
    and here is the Process Text source:
    declare
    a clob;
    begin
    owa_util.mime_header( ccontent_type => 'text/xml', bclose_header => TRUE, ccharset => 'utf-8');
    htp.prn('<?xml version="1.0" encoding="UTF-8"?>');
    select
    XMLTYPE.getStringVal(
    XMLElement("rss",
    XMLAttributes('2.0' as version),
    XMLElement("channel",
    XMLConcat(
    XMLElement("title",'iActiveLife - novinky'),
    XMLElement("link",'http://www.iactivelife.cz/'),
    XMLElement("description",'iActiveLife - Zajímavý život snadn&#283;ji'),
    XMLElement("language",'cs'),
    XMLElement("pubdate",''),
    XMLAgg(
    XMLElement("item",
    XMLConcat(
    XMLElement("title",event_name),
    XMLElement("link",'http://htmldb.oracle.com/pls/otn/f?p=' || v('APP_ID') || ':37:' || v('SESSION') || '::NO::P37_EVENT_ID:' || event_id),
    XMLElement("description",'')
    ) into a
    from (
    select event_id,event_name,issue_date, last_update_order
    from (
    select events.event_id, events.event_name, events.issue_date, rank () over (order by events.issue_date desc) as last_update_order
    from events
    where exists ( select * from opportunities where events.event_id=opportunities.event_id and opportunities.user_id is not null)
    order by events.issue_date desc)
    where last_update_order<=10
    htp.prn(a);
    end;

  • How to remove non-ASCII charcters from an XML generated using Simple Transf

    Hi,
    I am currently facing a problem where I invoke a ST like
    CALL TRANSFORMATION ZTEST
      source root = str
      result xml rawstr.
    to prepare an XML using the contents of the ABAP variable str.
    In my case sometime the variable str can contain non-ASCII characters. What I find is that ST do not remove these characters and the final XML that get generated thus contains non-parsable xml charcaters.
    Is there an efficient way to remove/replace such non-ascii characters within the ST such that my final XML is consumable by any xml parser. I do not want to do a second level of processing by running through the output xml and removing the charcaters individually, because in our system the number of xml messages generated is very high and any such lookup-replace algorithm terms out to be too coslty.
    Regards,
    Vikas Lamba

    Hi
    may be you know this syntax :)
    <?xdofx:substr(SHIP_TO_LOCATION_NAME,11,44)?>
    Rahul

  • How to remove namespace link from the output XML

    i have to remove 'xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions"' (namespace) from the output xml file which is generated from the BIP. I need my output XML file without that namespace link, this namespace link is coming for each element.
    Anybody know how to do that please help.
    output xml file
    <?xml version="1.0" encoding="UTF-8" ?>
    <Reports version="2.00">
    <deliveryNote xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions">
    <subjectId />
    </deliveryNote>
    <deliveredReports xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions">
    <referDate>[Delivery note->H4]</referDate>
    </deliveredReports>
    <simpleReports xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions">
    <numberOfReports>2</numberOfReports>
    <nReport>
    <reportName>Xyz</reportName>
    <reportVersion>1.0</reportVersion>
    <observations>
    <numberOfObservations>15</numberOfObservations>
    <columnObservation>
    <y>9</y>
    <rO>
    <x>14</x>
    <o>11</o>
    <o>21</o>
    <o>121</o>
    </rO>
    </columnObservation>
    </observations>
    </nReport>
    </simpleReports>
    </Reports>
    my xslt file
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions" >
    <xsl:output method="xml" encoding="UTF-8"/>
    <xsl:template match="/">
         <xsl:element name="Reports">
              <xsl:attribute name="version">2.00</xsl:attribute>
                   <deliveryNote>
                        <subjectId></subjectId>
                        </deliveryNote>
                   <deliveredReports>
                        <referDate>[Delivery note->H4]</referDate>
                   </deliveredReports>
                   <simpleReports>
                        <numberOfReports>2</numberOfReports>
                        <nReport>
                                  <reportName>Xyz</reportName>
                                  <reportVersion>1.0</reportVersion>
                                       <observations>
                                       <numberOfObservations>15</numberOfObservations>
                                       <columnObservation>
                                            <y>9</y>
                                            <rO>
                                                 <x>14</x>
                                                      <xsl:for-each select="TEST_XML/LIST_R1/R1">
                                                           <o><xsl:value-of select="xdoxslt:lpad(COL1,10,' ')"/></o>
                                                      </xsl:for-each>
                                            </rO>
                                       </columnObservation>
                                       </observations>
                             </nReport>
                        </simpleReports>
              </xsl:element>
    </xsl:template>
    </xsl:stylesheet>

    Please post the same in BI Publisher forum
    BI Publisher
    Thanks,
    Vino

  • Not receiving the output xml file from BPM

    Hello
    I am doing a scenario where I'd be sending two files in text format to the BPM workflow which would be using Fork and Correlation to merge these two files into one file and send the output xml file as receiver. Problem is that the two files are successfully converted into the xml messages and are displayed in SXMB_MONI but the output file which would be received from BPM engine as receiver is not being generated and displayed in SXMB_MONI as well as RWB. Please suggest any probable solution.
    Thanks.

    I don't think you can manipulate .ai files in Flex /
    AIR.

  • How to include CDATA in xml generated from XQuery

    I need to include Cdata in the xml generated from my xquery which is given below:
    I tried using XMLCDATA, but not getting the desired output. What am I doing wrong?
    SELECT XMLQuery('<InsUpdDel>
    for $crv in ora:view("RELATION")
    return
    <first>
    <eff_date>{$crv/ROW/EFF_DATE/text()}</eff_date>
    <source>{$crv/ROW/SOURCE/text()}</source>
    <key>
    <fld>
    <id>from_type</id>
    <val>XMLCDATA({$crv/ROW/FROM_ENT_TYPE/text()})</val>
    </fld>
    <fld>
    <id>from_ent_id</id>
    <val>{$crv/ROW/FROM_ENT_ID/text()}</val>
    </fld>
    </key>
    </first>}</InsUpdDel>'
    RETURNING CONTENT)
    FROM dual;
    The output I get is XMLCDATA(C), while the desired output is <![CDATA[C]]>

    Forgive me my vanity to think I can contribute by kicking doors open that are probably already wide open....I might create more confusion, but perhaps it helps some of the readers of this thread....
    In general it is not such a good idea to use "string" functions to create (serialized) XML. XML tools (including Oracle XML DB) go through a lot of effort to make sure that when a "native" XML structure is serialized to a string, the XML rules are strictly obeyed (e.g. special character escaping).
    Just assume e.g. that the $i/Reference from above contains something like ]]><
    The resulting XML would not be valid.
    More info on serializing XML in the context of XQuery is available from
    - http://www.w3.org/TR/xquery/#id-serialization
    - http://www.w3.org/TR/xslt-xquery-serialization/
    - http://www.w3.org/TR/xslt-xquery-serialization/#XML_CDATA-SECTION-ELEMENTS
    Unfortunately I do not think Oracle XML DB currently implements these parts of the spec (perhaps 11g will)...leaving the OP's question unanswered.
    Anyway, if going the route of serializing the XML through string functions, it is always good to realize the dangers of such an approach.
    Peter

  • Need Double quotes instead of Single quotes in output XML version header

    In XML output generated by XDODTEXE executable, its observed that header row looks like this:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    It should look like this:
    <?xml version="1.0" encoding="UTF-8"?>
    Browsers like IE deceive. Opening the XML in Text editors show single quotes and spaces.
    Data Template and XSL template files have proper headers with double quotes.
    The output XML file is rejected by a Government Authority as parsing the header line fails.
    Are there any ways to configure this?

    I dont know if this has anything to do with my problem or not, but I thought I should add this:
    When a user is filling out the form that has the textarea,  they put whatever text they want into the textarea field.
    textarea name="text"></textarea
    Then, they click on a 'Continue' button and the system shows them a preview of what they are about to have inserted
    into the database.
    Within the code on this preview page is a hidden field, which holds the contents of their textarea data so it can be
    passed on through the process once the user verifies the preview.
    This is done using this: input type="hidden" name="text" value="<cfoutput>#text#</cfoutput>"
    Like I said, I don't know if that has anything to do with this problem, but thought it might be good to mention it
    Kudos

  • Classpath/Datatype restriction/Output XML to a file

    Hi,
    I was trying to use a webservice but because the service could not identify the
    classes needed to run the service it is giving me an exception.If only i give
    the directory(temp staging directory-which is in my d drive but not within the
    default directory where we have installed the weblogic6.1)in the classpath of
    the system environment variable am i able to access the service.Is there any default
    directory where i can store all of the EJB,supporting classes to run this webservice?
    2.Also the datatypes are restricted and a clear mention of arrays(single array
    only),iam trying to use String array but when iam creating the ear file using
    Ant iam getting and exception
    wsgen:
    Error at line:8 col:12 ':' Already got a ':' in name
    at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseExcepti
    on(SAXElementFactory.java:60)
    at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:45)
    at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(BabelXML
    EventStream.java:28)
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:600)
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:577)
    at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java:225
    at weblogic.ant.taskdefs.ejb.WSGenHelper.writeClientJar(WSGenHelper.java
    :1125)
    at weblogic.ant.taskdefs.ejb.WSGenHelper.writeWSDL(WSGenHelper.java:1285
    at weblogic.ant.taskdefs.ejb.WSGenHelper.saveDescriptors(WSGenHelper.jav
    a:1418)
    at weblogic.ant.taskdefs.ejb.WSGenHelper.output(WSGenHelper.java:1486)
    at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1520)
    at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    at org.apache.tools.ant.Main.runBuild(Main.java:421)
    at org.apache.tools.ant.Main.main(Main.java:149)
    3.while trying to use this service the output being generated is written to the
    console.Could we direct this output XML to a file and if so what steps needs to
    be followed in the client program(java)?
    Could anybody sort out these issues?Thanks in advance.
    Nandula

    If you're trying to do this through sql*plus then just use 'spool'. If you need a pure pl/sql solution you'll need to use UTL_FILE.
    Richard

  • Stripping Off ?xml version="1.0" ? tag in the final output XML

    Hi All,
    Is there anyway that we can strip off the tag <?xml version="1.0" ?> from the Final XML generated by BPEL.
    I have commented out<?xml version="1.0" ?> in the XSL mapper file but still it is coming in the output file that is generated.
    Any help or pointer is really appreciated.
    Thanks,
    Dibya

    Hi,
    I want to strip it off because I am apppending the same in a Java Program.
    Please let me know how can it be done.
    Appreciate your inputs.
    Thanks,
    Dibya

  • Invalid XML generated

    I thought I was figuring this stuff out, but I guess not. I've generated an xml
    instance using xmlBeans. When I check it with the validate() method, it comes
    back 'true' or valid. But if I run the Xerces sample app, counter, against it,
    I get the following errors:
    java sax.Counter -v output.xml[Error] output.xml:2:14: Document is invalid: no grammar found.
    [Error] output.xml:2:14: Document root element "ns1:Envelope", must match DOCTYP
    E root "null".
    output.xml: 280 ms (22 elems, 0 attrs, 0 spaces, 343 chars)
    I've attached the xml file I generated using:
    InputStream IS = envelope.newInputStream(xo);
    FileOutputStream FOS = new FileOutputStream("output.xml");
    byte[] transfer = new byte[2048];
    int count = 0;
    while ( ( count = IS.read(transfer)) != -1 )
    FOS.write(transfer, 0, count);
    Ken.
    [output.xml]

    For some reason when I use MapForce tool to generate my xslt mapping source, it is generating the following statement in the xsl file.
         <xsl:namespace-alias stylesheet-prefix="n" result-prefix="#default"/>
    So at the root element of XML file, it is replacing the character n with '#default' for some reason, I don;t know the purpose of this.
    As you suggested, I changed the name space, still I experienced same problem.
    It is now resolved after removing the above xsl statement from the xsl file before creating/uploading the relevant zip file into archives folder.
    It works fine now. Thanks for the clue.

  • XML generated by Word

    I'm sorry but I'm crossposting this. The first post was in the wrong forum.
    I have some MSWord documents with variable fields that I have to compile programmatically.
    Now my project is pure java so I can't use Word Documents, but I found out that with Word 2003 I can save these documents in XML format. Now my question is:
    What I can use to read XML files generated, compile the fields I need and send the output (say in html format) to the browser of the client PC?
    I'm working in AIX environment with IBM java 1.4.
    Thanks for any help

    Java has two means of processing XML. DOM (also JDOM) builds a tree of all of the content before letting you back in control. SAX calls a class of yours at the beginning of each element the end of the element, and when characters are available inside an element.
    The XML generated by Word is pretty ugly with lots of namespace entries. Your first job would be to look at a sample document with a text editor and find exactly what you will need to locate with your program.
    DOM tends to be more needy of memory, and it seems like SAX might be the best fit, since (I assume) you could watch the elements go by and ignore them until you get to the ones you want to harvest. You can then save them however you want and continue watching the stream go by. Look at the ContentHandler interface and the SAXParser, and SAXParserFactory classes.
    If you have to do lots of looking up, in the documents, or don't know in advance what you need to find until you open the document, then look at DOM or JDOM. Also, if you know the documents will be smallish, DOM is a good idea. Since the entire document is available in DOM, you get to use XPath to search.
    For DOM the key classes and interfaces are DocumentBuilderFactory and DocumentBuilder.
    That should get you started.
    Dave Patterson

  • Xml generated does not confirm to xsd. (xmlns="" added to some tags)

    Hi,
    I am getting a problem with the xml generated by bpel. The xml generated is:
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body><xxSunEvsOkcEntlSrvsProcessResponse xmlns="http://xmlns.sun.com/xxSunEvsOkcEntlSrvs"><X_CONTRACT_ENTL_TYPE><X_CONTRACT_ENTL_TYPE_ITEM xmlns=""><CONTRACT_HDR>NK20226742</CONTRACT_HDR><BUP_PROC_TBL><BUP_PROC>ACCR</BUP_PROC></BUP_PROC_TBL></X_CONTRACT_ENTL_TYPE_ITEM></X_CONTRACT_ENTL_TYPE><X_ENTITLEMENT_FLAG>Y</X_ENTITLEMENT_FLAG><X_ERROR xsi:nil="true"/></xxSunEvsOkcEntlSrvsProcessResponse></soapenv:Body>
    </soapenv:Envelope>
    The client is unable to parse this xml due to the xmlns="" for the tag X_CONTRACT_ENTL_TYPE_ITEM. The problem is due to the copy on the bple. i am copying the entire structure starting from X_CONTRACT_ENTL_TYPE from the plsql DBAdapter service to the bpel output. The xsd used for the client wsdl and the partner link are exactly the same.
    Any ideas as to why this could be happening.
    Thanks
    Anand

    Basically this comes down to a complex xsd. I'm assuming but I think you are using namespaces to help manage the xsd.
    If you can minimise the xsd references this may help.
    here is a basic complex type example
    <schema targetNamespace="http://example.com/Gateway"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="Message">
    <complexType>
    <sequence>
    <element name="Header">
    <complexType>
    <sequence>
    <element name="UniqueID" type="string"/>
    <element name="RoutingRule" type="string"/>
    <element name="FileName" type="string"/>
    <element name="Destination" type="string"/>
    <element name="TransportType" type="string"/>
    <element name="Attachment" type="string"/>
    <element name="MQMessageID" type="string"/>
    <element name="MQCorrelationID" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="Payload" type="base64Binary"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    hope this helps.
    James

Maybe you are looking for