URGENT please !!! Problem with XML Publisher , OAF Integration

Hi,
I am trying to integrate an XML Publisher Report into OA Framework but running into issues.
If you could help me or give any pointers I would greatly appreciate it.
When run the report through Concurrent Manager, it runs without any problem. But, when I run
it from OAF, nullpointer exception is raised at this statement i.e. datatemplate.processData();
I did go through many threads related to this topic, but couldn't get any help.
This is what I have done
========================
1. Wrote a PLSQL package to generate XML output.
BEGIN
open c_person;
fetch c_person into v_last_name;
close c_person;
fnd_file.put_line(FND_FILE.OUTPUT,'<?xml version="1.0" encoding="UTF-8"?>');
fnd_file.put_line(FND_FILE.OUTPUT,'<QUALIFICATION_REPORT>');
fnd_file.put_line(FND_FILE.OUTPUT,'<CANDIDATE>');
fnd_file.put_line(FND_FILE.OUTPUT,'<CANDIDATE_NAME>'||v_last_name||'</CANDIDATE_NAME>');
fnd_file.put_line(FND_FILE.OUTPUT,'<QUALIFICATIONS_LIST>');
FOR c1_Rec IN c_qual LOOP
fnd_file.put_line(FND_FILE.OUTPUT , '<QUALIFICATION>');
WritetoXMLForRTF('NAME' , c1_rec.name);
WritetoXMLForRTF('CATEGORY' , c1_rec.category);
WritetoXMLForRTF('START_DATE' , c1_rec.start_date);
WritetoXMLForRTF('END_DATE' , c1_rec.end_date);
WritetoXMLForRTF('SUBJECT' , c1_rec.subject_meaning);
WritetoXMLForRTF('GRADE_ATTAINED' , c1_rec.grade_attained);
WritetoXMLForRTF('HQ_STATUS' , c1_rec.hq_status);
fnd_file.put_line(FND_FILE.OUTPUT , '</QUALIFICATION>');
END LOOP;
fnd_file.put_line(FND_FILE.OUTPUT,'</QUALIFICATIONS_LIST>');
fnd_file.put_line(FND_FILE.OUTPUT,'</CANDIDATE>');
fnd_file.put_line(FND_FILE.OUTPUT,'</QUALIFICATION_REPORT>');
retcode := 0;
END;
2. Defined a concurrent program to call this PLSQL package/procedure.
3. Defined a RTF template.
4. Registered both the data definition and report template using XML Publisher Admin.
5. Within OA Framework, I have coded as follows.
Controller
Process Form Request
Added a button to invoke the report.
if (pageContext.getParameter("AddlQualRptBtn") != null)
OAApplicationModule am = pageContext.getApplicationModule(webBean);
String p1 = "17965";
String TemplateApplicationShortName = "CPC";
String TemplateCode = "CPC_QUAL_RPT" ;
BlobDomain result = (BlobDomain) getXMLData(p1,pageContext,webBean);
Properties prop = new Properties();
prop.put("html-image-dir",pageContext.getTemporaryImageLocation());
prop.put("html-image-base-uri",pageContext.getTemporaryImageLocation());
try {
DocumentHelper.exportDocument( pageContext,
TemplateApplicationShortName,
TemplateCode,
"en" , //Language
"US" , //Territory
result.getInputStream(),
Template.TEMPLATE_TYPE_RTF, //OutputType,
prop);
} catch (Exception e)
throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
getXMLData
public BlobDomain getXMLData(String pPersonId, OAPageContext pageContext, OAWebBean webBean)
BlobDomain blobDomain = new BlobDomain();
OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
OADBTransaction oadbtransaction = oaapplicationmodule.getOADBTransaction();
try
String dataDefCode = "CPC_IREC_QUALIFICATION_RPT" ;
String dataDefApp = "CPC";
DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)oaapplicationmodule.getOADBTransaction()).getAppsContext(), dataDefApp,dataDefCode );
Hashtable parameters = new Hashtable();
parameters.put("p_person_id",pPersonId);
datatemplate.setParameters(parameters);
datatemplate.setOutput(blobDomain.getBinaryOutputStream());
datatemplate.processData();
catch(SQLException e)
throw new OAException("SQL Error=" + e.getMessage(),OAException.ERROR);
catch (XDOException e)
throw new OAException("XDOException" + e.getMessage(),OAException.ERROR);
catch(Exception e)
throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
return blobDomain;
6. When I run the report from OAF the statement "datatemplate.processData();" generates Null Pointer Exception error.

Hi TyskJohan,
Thanks a lot for your reply, I appreciate it !!
Here is the full error stack. I added many debug statements and identified that it exactly fails at datatemplate.processData();
I did run the PLSQL procedure and it does creates the XML output properly. Also, the report works fine if I run it through Concurrent Manager. Is there any other way I can check from within OA Framework?
Thanks again.
[031108_031818343][][EXCEPTION] java.lang.NullPointerException
     at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:345)
     at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:277)
     at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:599)
     at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
     at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:136)
     at pgcps.oracle.apps.per.irc.selfservice.webui.pgcpsIrcAddlQualRptCO.getXMLData(pgcpsIrcAddlQualRptCO.java:114)
     at pgcps.oracle.apps.per.irc.selfservice.webui.pgcpsIrcAddlQualRptCO.processFormRequest(pgcpsIrcAddlQualRptCO.java:81)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:408)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
     at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2675)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1682)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
     at OA.jspService(OA.jsp:34)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)
--------------------------------------------------------------------------------------------------------------------

Similar Messages

  • Problem with XML Publisher report when there are no detail records.

    I am working on an Oracle XML Publisher procurement report (Oracle E-Business Suite R12) that starts with a budget amount that is imported from our financial system, then lists all requisitions and orders that are in process (not approved). The amounts of all those unapproved requisitions/orders are totaled using a Sum form field, to be followed by a field where the unapproved requisition/order total is subtracted from the budget amount (amount available). I am running into a problem when there are no unapproved requisitions. When I run the report for such instances, it completes with a warning -- here is what it states in the OPP log:
    oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'sum'
    I have altered my sum field on the RTF template to include an if statement in case of a null value...
    <?sum (EXTENDED_COST)?> <?xdofx:if sum (EXTENDED_COST) = " then 0 end if?>
    ...but this does not work.

    Hi,
    You are on right track. Simply put summary field in header group and remember to set reset at property to Header Group Not Child and now you can use this field in format trigger.
    Format trigger must be written on header frame.
    Cheers !
    Adinath Kamode

  • PROBLEM WITH XML PUBLISHER AND GRAPH NOT DISPLAYING IN ORACLE APPS

    Hi
    All you XML Gurus here. I have a problem, When i create a report in XML Publisher desktop i can see a graph im putting into the report on preview and works fine. But when i upload the report as a rtf file into Oracle applications i can see everything else the table logo and stuff .. But just not the Graph Itself when run on the concurrant manager....
    Problem number 2
    Is there a way that i can use XML Desktop and create a line graph with 2 lines rather than 1 plotting
    here is my xml for graph i have made with one line
    chart:
    <Graph>
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <LocalGridData colCount="{count(.//SELF_OTHERS)}" rowCount="1">
    <RowLabels><Label></Label></RowLabels>
    <ColLabels>
    <xsl:for-each select=".//SELF_OTHERS"> <Label><xsl:value-of select="BEHAVIOUR"/></Label>
    </xsl:for-each>
    </ColLabels>
    <DataValues>
    <RowData>
    <xsl:for-each select=".//SELF_OTHERS"> <Cell><xsl:value-of select="SCORE"/></Cell>
    </xsl:for-each> </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>
    All help would be much appreciated to my 2 problems....
    Thanks
    Sha

    Hi All
    Will post solution tomorrow or Monday on blog. Heres the chart XML for now.
    chart:
    <Graph graphType="LINE_VERT_ABS"><LegendArea visible="true" />
    <LocalGridData colCount="{count(xdoxslt:group(.//SALE, 'YEAR'))}" rowCount="3">
    <RowLabels>
    <Label>SOFTWARE</Label>
    <Label>HARDWARE</Label>
    <Label>SERVICES</Label>
    </RowLabels>
    <ColLabels>
    <xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Label>
    <xsl:value-of select="current-group()/YEAR" />
    </Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <RowData>
    <xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="sum(current-group()/SOFTWARE)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    <RowData>
    <xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="sum(current-group()/HARDWARE)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    <RowData>
    <xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="sum(current-group()/SERVICES)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>
    with the following data
    <?xml version="1.0" encoding="UTF-8"?>
    <SALES>
         <SALE>
              <YEAR>2006</YEAR>
              <SOFTWARE>1200</SOFTWARE>
              <HARDWARE>850</HARDWARE>
              <SERVICES>2000</SERVICES>
         </SALE>
         <SALE>
              <YEAR>2007</YEAR>
              <SOFTWARE>1000</SOFTWARE>
              <HARDWARE>800</HARDWARE>
              <SERVICES>1100</SERVICES>
         </SALE>
         <SALE>
              <YEAR>2008</YEAR>
              <SOFTWARE>900</SOFTWARE>
              <HARDWARE>1200</HARDWARE>
              <SERVICES>1500</SERVICES>
         </SALE>
    </SALES>
    The latest Template Builder makes this a cinch!
    Regards
    Tim
    http://blogs.oracle.com/xmlpublisher

  • Excel Output problem with XML Publisher Report

    Hi Experts,
    I am working on XML Publisher report with EBS 11i and database 9i. My XML Report output type is EXCEL, i have below issue with the output.
    I have column 'quantity' with xml tag <?QUANTITY?>.
    In the XML file it's showing the value '028' for quantity, but when i open the output in EXCEL, it's showing up '28', removing leading zero. I want to show the data in EXCEL also '028'. Could somebody help me how to print the XML Tag value as it is in EXCEL output.
    Thanks in advance.

    Hi, try using this in your template.
    <fo:bidi-override direction="ltr" unicode-bidi="bidi-override"><?QUANTITY?></fo:bidi-override>

  • Integration with XML Publisher

    Has anyone found out or used the integration with XML Publisher? I am using the Sourcing product and it can generate report output based on XML Publisher directly from an OAF page. I was wondering how that is done.
    Anyone know?

    I had a similar query - I heard that AR, GL, and AP (11i10) are not compatible with XML Publisher - is this true? I thought was the XML Publisher was independent of modules.
    Pls share any experience with the Publisher tool - challenges, installation, comparison to Optio, etc.
    Thanks, Vishnu

  • Problem with XML in APEX ORA-06502

    i, I have a problem with XML generation, I developed an application in APEX, and in a html page I have this process:
    declare
    l_XML varchar2(32767);
    begin
    select xmlElement
    "iva",
    xmlElement("numeroRuc",J.RUC),
    xmlElement("razonSocial", J.RAZON_SOCIAL),
    xmlElement("idRepre", J.ID_REPRE),
    xmlElement("rucContador", J.RUC_CONTADOR),
    xmlElement("anio", J.ANIO),
    xmlElement("mes", J.MES),
    xmlElement
    "compras",
    select xmlAgg
    xmlElement
    "detalleCompra",
    --xmlAttributes(K.ID_COMPRA as "COMPRA"),
    xmlForest
    K.COD_SUSTENTO as "codSustento",
    K.TPLD_PROV as "tpldProv",
    K.ID_PROV as "idProv",
    K.TIPO_COMPROBANTE as "tipoComprobante",
    to_char(K.FECHA_REGISTRO, 'DD/MM/YYYY') as "fechaRegistro",
    K.ESTABLECIMIENTO as "establecimiento",
    K.PUNTO_EMISION as "puntoEmision",
    K.SECUENCIAL as "secuencial",
    to_char(K.FECHA_EMISION, 'DD/MM/YYYY') as "fechaEmision",
    K.AUTORIZACION as "autorizacion",
    to_char(K.BASE_NO_GRA_IVA, 9999999999.99) as "baseNoGraIva",
    to_char(K.BASE_IMPONIBLE, 9999999999.99) as "baseImponible",
    to_char(K.BASE_IMP_GRAV, 9999999999.99) as "baseImpGrav",
    to_char(K.MONTO_ICE, 9999999999.99) as "montoIce",
    to_char(K.MONTO_IVA, 9999999999.99) as "montoIva",
    to_char(K.VALOR_RET_BIENES, 9999999999.99) as "valorRetBienes",
    to_char(K.VALOR_RET_SERVICIOS, 9999999999.99) as "valorRetServicios",
    to_char(K.VALOR_RET_SERV_100, 9999999999.99) as "valorRetServ100"
    xmlElement
    "air",
    select xmlAgg
    xmlElement
    "detalleAir",
    xmlForest
    P.COD_RET_AIR as "codRetAir",
    to_char(P.BASE_IMP_AIR, 9999999999.99) as "baseImpAir",
    to_char(P.PORCENTAJE_AIR, 999.99) as "porcentajeAir",
    to_char(P.VAL_RET_AIR, 9999999999.99) as "valRetAir"
    from ANEXO_COMPRAS P
    where P.ID_COMPRA = K.ID_COMPRA
    AND P.ID_INFORMANTE_XML = K.ID_INFORMANTE_XML
    xmlElement("estabRetencion1", K.ESTAB_RETENCION_1),
    xmlElement("ptoEmiRetencion1", K.PTO_EMI_RETENCION_1),
    xmlElement("secRetencion1", K.SEC_RETENCION_1),
    xmlElement("autRetencion1", K.AUT_RETENCION_1),
    xmlElement("fechaEmiRet1", to_char(K.FECHA_EMI_RET_1,'DD/MM/YYYY')),
    xmlElement("docModificado", K.DOC_MODIFICADO),
    xmlElement("estabModificado", K.ESTAB_MODIFICADO),
    xmlElement("ptoEmiModificado", K.PTO_EMI_MODIFICADO),
    xmlElement("secModificado", K.SEC_MODIFICADO),
    xmlElement("autModificado", K.AUT_MODIFICADO)
    from SRI_COMPRAS K
    WHERE K.ID IS NOT NULL
    AND K.ID_INFORMANTE_XML = J.ID_INFORMANTE
    AND K.ID BETWEEN 1 AND 25
    ).getClobVal()
    into l_XML
    from ANEXO_INFORMANTE J
    where J.ID_INFORMANTE =:P3_MES
    and J.RUC =:P3_ID_RUC
    and J.ANIO =:P3_ANIO
    and J.MES =:P3_MES;
    --HTML
    sys.owa_util.mime_header('text/xml',FALSE);
    sys.htp.p('Content-Length: ' || length(l_XML));
    sys.owa_util.http_header_close;
    sys.htp.print(l_XML);
    end;
    Now my table has more than 900 rows and only when I specifically selected 25 rows of the table "ANEXO_COMPRAS" in the where ( AND K.ID BETWEEN 1 AND 25) the XML is generated.+
    I think that the problem may be the data type declared "varchar2", but I was trying with the data type "CLOB" and the error is the same.+
    declare
    l_XML CLOB;
    begin
    --Oculta XML
    sys.htp.init;
    wwv_flow.g_page_text_generated := true;
    wwv_flow.g_unrecoverable_error := true;
    --select XML
    select xmlElement
    from SRI_COMPRAS K
    WHERE K.ID IS NOT NULL
    AND K.ID_INFORMANTE_XML = J.ID_INFORMANTE
    ).getClobVal()
    into l_XML
    from ANEXO_INFORMANTE J
    where J.ID_INFORMANTE =:P3_MES
    and J.RUC =:P3_ID_RUC
    and J.ANIO =:P3_ANIO
    and J.MES =:P3_MES;
    --HTML
    sys.owa_util.mime_header('text/xml',FALSE);
    sys.htp.p('Content-Length: ' || length(l_XML));
    sys.owa_util.http_header_close;
    sys.htp.print(l_XML);
    end;
    The error generated is ORA-06502: PL/SQL: numeric or value error+_
    Please I need your help. I don`t know how to resolve this problem, how to use the data type "CLOB" for the XML can be generate+

    JohannaCevallos07 wrote:
    Now my table has more than 900 rows and only when I specifically selected 25 rows of the table "ANEXO_COMPRAS" in the where ( AND K.ID BETWEEN 1 AND 25) the XML is generated.+
    I think that the problem may be the data type declared "varchar2", but I was trying with the data type "CLOB" and the error is the same.+
    The error generated is ORA-06502: PL/SQL: numeric or value error+_
    Please I need your help. I don`t know how to resolve this problem, how to use the data type "CLOB" for the XML can be generate+The likeliest explanation for this is that length of the XML exceeds 32K, which is the maximum size that <tt>htp.p</tt> can output. A CLOB can store much more than this, so it's necessary to buffer the output as shown in +{message:id=4497571}+
    Help us to help you. When you have a problem include as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    And always post code wrapped in <tt>\...\</tt> tags, as described in the FAQ.
    Thanks

  • Creating a template in Financials for using with XML Publisher..

    to whom..
    I hope someone can help please. I'm trying this process for the first time so please bear with me..
    Ive got everything in place for producing PDF reports via XML Publisher through ORACLE Financials but I'm stuck on the last
    part.
    According to the notes (Publishing Concurrent Requests with XML Publisher - An Oracle White Paper Jan 2005) I've come
    across, I need to update the concurrent program definition with a default template (when you submit a request, its in the
    'upon completion' last section where theres an option to change or enter a template layout) yet this section is GREYED OUT.
    Now according to my notes, to create a template you..
    "Setting a Default Template....to select a default template in the Update Concurrent Program page available from the System Administration
    responsibility (Note that this field is available only from System Administration. It is not available from the System
    Administrator Forms interface)......."
    My query is, where is this 'Update Concurrent Program page'..?
    Thanks In Advance..
    Steven
    Edited by: user554089 on Sep 16, 2008 4:02 AM

    OK, so now I've found out how to 'default a template for EBS 11i' (System Administration > Concurrent > Programs - notice its Administration not Administrator)... but its unavailable.. in the the 'OnSite Setting' tab there was no box visible for me to enter a template filename. Does anybody know why this could be?
    thanks,
    Steven

  • Concurrent Request report with XML Publisher

    I have Concurrent program (report) which I modified to work with XML Publisher. I change the output format to XML at the concurrent program page. Then I create the data defenition and template at XML Publisher administrator. Then I uploaded and assign the RTF template as the default template for this concurrent program.
    Now I can run this report and get the output in XML report publisher .
    But when I am running directly as concurrent request , I dont get any output. What am I doing wrong?
    **Please Help*George Thomas*
    I posted initially at a wrong place and I am re-posting here. my apology

    Duplicate thread ..
    Concurrent Request with XML Publisher
    Re: Concurrent Request with XML Publisher

  • Concurrent Request with XML Publisher

    I have Concurrent program (report) which I modified to work with XML Publisher. I change the output format to XML at the concurrent program page. Then I create the data defenition and template at XML Publisher administrator. Then I uploaded and assign the RTF template as the default template for this concurrent program.
    Now I can run this report and get the output in XML report publisher .
    But when I am running directly as concurrent request , I dont get any output.  What am I doing wrong?
    Please Help
    George Thomas

    Any errors/warning messages in the log file with/without trace enabled?
    Similar issue is reported in the following bug, but it looks like the solution is not available for public access.
    Bug 6320244 - NOT ABLE TO SEE OUTPUT OF THE XML PUBLISHERR REPORT
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=BUG&p_id=6320244

  • Problem with AUTO PUBLISH nd update NEW POLICY to Client .

    To : who may concern , which really need urgent help .
    after few days of setting up the ZESM , but then i was unable to find is there any setting which can "AUTO PUBLISH " into the Client side . Without the Client need to use the manual "UPDATE POLICY " button ?
    Because , we find it that to make it silent update without the CLIENT side need to manually click the UPDATE POLICY , so i would wonder is there any way to have the AUTO UPDATE the policy from SERVER side ?
    thank alot first .
    From : NX ( which this few days has been keep on try and explore the ZESM 3.5 , 4.0 , 4.1IR )
    Which really need help in here , due to we are almost to the end of the setup server and the IT infrastructure .

    I would recommend that you READ and UNDERSTAND the Installation and Administration guides from the Documentation (somebody took the job to write those, so be kind enough to read it)
    Main Doc
    http://www.novell.com/documentation/zesm41/
    Your question is answered here:
    http://www.novell.com/documentation/...a/bnk7bdx.html
    See "Update Interval".
    Lastly, this is a public support forum, served on a best-effort basis from the community. As such, there's no guarantee that you'll get an answer, and if you get one, that works and is correct. So, if you have un urgent or important issue, go ahead an open a support ticket with Novell Technical Services in order to be served by professional support engineers backed up by the engineers who wrote the code.
    http://support.novell.com/contact/
    >>>
    From: nxgame<[email protected]>
    To:novell.support.zenworks.endpoint-security-management
    Date: 12/11/2010 3:06 pm
    Subject: problem with AUTO PUBLISH nd update NEW POLICY to Client .
    To : who may concern , which really need urgent help .
    after few days of setting up the ZESM , but then i was unable to find
    is there any setting which can "AUTO PUBLISH " into the Client side .
    Without the Client need to use the manual "UPDATE POLICY " button ?
    Because , we find it that to make it silent update without the CLIENT
    side need to manually click the UPDATE POLICY , so i would wonder is
    there any way to have the AUTO UPDATE the policy from SERVER side ?
    thank alot first .
    From : NX ( which this few days has been keep on try and explore the
    ZESM 3.5 , 4.0 , 4.1IR )
    Which really need help in here , due to we are almost to the
    end of the setup server and the IT infrastructure .
    nxgame
    nxgame's Profile: http://forums.novell.com/member.php?userid=99703
    View this thread: http://forums.novell.com/showthread.php?t=427947

  • Problem with XML on Linux

    hi everybody,
    I've a big problem with XML on Linux, in details I see my program stopping on Linux at the instruction
    XMLReader xr = XMLReaderFactory.createXMLReader("org.apache.crimson.parser.XMLReaderImpl");
    and it's strange because on Windows it runs and there aren't problems about permissions on files, does anyone knows what to do?
    thanks in advance!
    Stefano

    What happens on that line? I'm assuming you get some kind of error or exception.
    Make sure the JAR file for Crimson is in your classpath.

  • I am facing a new problem with xml schema, plz help me

    Hi @,
    I am facing a problem with xml schema validation. Below is my code.
    public void initialize(String cfgFileName) {
    try {
    try {
    DOMParserWrapper parser = (DOMParserWrapper)Class.forName("dom.wrappers.DOMParser").newInstance();
    parser.setFeature( "http://apache.org/xml/features/dom/defer-node-expansion",true );
    parser.setFeature( "http://xml.org/sax/features/validation",true);
    parser.setFeature( "http://xml.org/sax/features/namespaces",true );
    parser.setFeature( "http://apache.org/xml/features/validation/schema",true );
    parser.setFeature( "http://apache.org/xml/features/validation/schema-full-checking",true );
    Document document = parser.parse(cfgFileName);
    System.out.println("Vijay .. code .. damar\n");
    }catch (org.xml.sax.SAXParseException spe) {
    } catch (org.xml.sax.SAXNotRecognizedException ex ){
    } catch (org.xml.sax.SAXNotSupportedException ex ){
    } catch (org.xml.sax.SAXException se) {
    if (se.getException() != null)
    se.getException().printStackTrace(System.err);
    else
    se.printStackTrace(System.err);
    }catch (Exception e) {
    System.out.println("Caught unknown exception : \n");
    e.printStackTrace(System.err);
    System.out.println("Vijay .. code .. success\n");
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    //docBuilder.setErrorHandler(myErrorHandler);
    cfg = docBuilder.parse(new File(cfgFileName));
    cfg .getDocumentElement ().normalize ();
    } catch (Exception e) {
    e.printStackTrace();
    In the above code I am parsing the xml file and i am doing schema validation. Schema validation is proper and it is validating correctly. Only problem is that, It is validating and showing error correctly correctly but it is not catching that error.
    For clear understanding I am printing one statement before parsing and after parsing.
    SYSTEM.OUT.PRINTLN("Vijay .. code .. damar\n") this is before parsing
    SYSTEM.OUT.PRINTLN("Vijay .. code .. success\n") this is after parsing
    Here what is happening means, It is validating correctly and showing error :
    [Error] nw_layout-new.xml:800:97: Datatype error: Value 'y' does not match regular expression facet 'yes|no'..
    Vijay .. code .. damar
    Vijay .. code .. success
    Here it is showing error and still continueing not catching.
    Plz give solution for this.
    Thanks
    vijay K

    Hello dipthebe,
    Check out the articles below go through troubleshooting steps for your iPhone when the screen is unresponsive. You may want to try and restore your iPhone as a new device and then test out what happens when you miss a call to see if the issue is still present afterwards.
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/HT1414
    Regards,
    -Norm G.

  • Integrating XML publisher & OAF Page, Generating output in PDF format

    Query:SELECT empno,ename,job,mgr,hiredate,comm,deptno FROM emp
    Step 3 : Generating the XML for Template Design
    Design a OAF Page EmpPG with the Following Code in the Controller EmpCO.
    EmpCO :
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    am.invokeMethod("getEmpDataXML");
    EmpAMImpl :
    public void initEmpVO()
    EmpVOImpl vo = getEmpVO1();
    if(vo == null)
    MessageToken errTokens[] = {
    new MessageToken("OBJECT_NAME", "EmpVO1")
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else
    vo.executeQuery();
    public void getEmpDataXML()
    try {
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    ((XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS)).print(outputStream);
    System.out.println(outputStream.toString());
    catch(Exception e)
    throw new OAException (e.getMessage());
    I used the same code & strictly followed all the instructions.
    I am able to see only few column names in .xml
    http://apps2fusion.com/at/ps/51-ps/260-integrating-xml-publisher-and-oa-framework
    Please go thru the above link.
    Could anyone help me where I am doing mistake.
    Correct me If I am missing anything.
    Thanks in Advance.
    Thanks
    Sruthi

    The approach is too problematic...
    why dont you follow http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
    Hrishikesh

  • Problem in XML Publisher Report submission from OAF Pages

    Hi,
    I am trying to submit Concurrent Program from OAF Page which is an XML Publisher Report.
    The request is Submitting and Completing successfully but when we open to view the out put we are able to view the HTML tags.
    We checked the same Concurrent program by submitting from the SRS window After completing if we click on view output the rtf file is getting opened correctly.
    I tested with normal rdf report it is working fine with standard Concurrent program used in OAF
    So my doubt is
    Does the Standard Concurrent program used in OAF supports the rtf reports.
    Please suggest if any modifications to be done in the Concurrent program
    Krishna

    Krishna
    Modified your code a little bit.Use this
        public int submitCPRequest(String shipmentId) {
        System.out.println("into submitCPRequest");
            OAPageContext pageContext;
            OAWebBean webBean;
        try {
    OAApplicationModule am =pageContext.getApplicationModule(webBean);
        OADBTransaction tx = (OADBTransaction)am.getOADBTransaction();
        java.sql.Connection pConncection = tx.getJdbcConnection();
        ConcurrentRequest cr = new ConcurrentRequest(pConncection);
        String applnName = new String("XXAPL"); //Application that contains the concurrent program
        System.out.println("ApplName"+ applnName);
        String cpName = new String("XXAPLPOSMPRD"); //Concurrent program name
        System.out.println("Concc Name"+ cpName);
        String cpDesc = new String(" APL PO Shipping Material Pickup Request"); // concurrent Program description
        // Pass the Arguments using vector
        // Here i have added my parameter headerId to the vector and passed the
        //vector to the concurrent program
        Vector cpArgs = new Vector();
        cpArgs.addElement(shipmentId);
        System.out.println("Args"+ cpArgs);
        // Calling the Concurrent Program
        int requestId = cr.submitRequest(applnName, cpName,cpDesc, null, false, cpArgs);
        cr.addLayout("XXAPL", "XXAPLPOSMPRT", "ENG", "US" , "RTF");
        System.out.println("Req Id"+ requestId);
        tx.commit();
        return requestId;
            catch (RequestSubmissionException e) {
            System.out.println("Into Exception");
            OAException oe = new OAException(e.getMessage());
            oe.setApplicationModule(this);
            throw oe;
            catch(Exception exception)
            throw OAException.wrapperException(exception);
        }Thanks
    AJ

  • OAF page with XML Publisher report

    Hi All,
    I am trying to create a OAF page with an XML Publisher report. I am not able to create a 'defaultSingleColumn' region which extends '/oracle/apps/xdo/oa/common/webui/DocumentViewerRn.MainRegion', getting a Confirm message and Validation error and they are:
    Confirm message:
    Component "/oracle/apps/xdo/12.0.0/mds/oa/common/webui/DocumentViewerRn.MainRegion" cannot be referenced from
    "/xx/oracle/apps/xxbsk/payslip/webui/PaySlipViewPG.region1" because it violates scope restrictions.
    Are you sure you want to use component "/oracle/apps/xdo/12.0.0/mds/oa/common/webui/DocumentViewerRn.MainRegion"?
    Validation Error:
    The value "oracle/apps/xdo/12.0.0/mds/oa/common/webui/DocumentViewerRn.MainRegion"
    set on the "Extends" property for component
    "/xx/oracle/apps/xxbsk/payslip/webui/PaySlipViewPG" contains multiple naming separators.
    I am trying to develop this page for R12.1.3 and using correct version of JDev (Patch 9879989).
    I am following the below link for embedding the XML PO into my page:
    http://oracle-hack.blogspot.co.uk/2012/04/launching-xml-publisher-from-oa.html
    Could you please help why I am getting error while extending region.
    Thank you,
    Ramu

    Hi. Could you please tell me how did you make it work. I read and try the same document at ttp://oracle-hack.blogspot.co.uk/2012/04/launching-xml-publisher-from-oa.html
    But I got null point exception at one of xdo package which is Oracles own class. I think something is wrong or forgotten in this document.
    Berkay

Maybe you are looking for

  • 1310 Bridge loses connection

    I work at a college campus where we have a couple of 1310 bridges between our main campus and a group of apartment buildings that we own 3 blocks down the road. One 1310 bridge is in our bell tower and the other is in one of the apartments. The other

  • Living in British Isles for a few months - Service to get internet access?

    I'm going to be living there in February, Dublin Ireland to be exact, and am only going to be bringing my ipod touch with me and leaving my laptop behind. What I want to know is this, instead of relying on and having to huntdown free wifi spots is wh

  • Determination of Pricing Procedure in SRM

    Hi all, I have worked on IPC CRM 4.0 and I know the settings related to Pricing.  Now, in <b>SAP SRM 4.0</b>, I am not able to figure out on what key fields Pricing Procedure is determined and where are the corresponding settings in SPRO. Please Help

  • ASSET  DEPRETIATION

    Dear SAP Gurus, My client wants to sell an asset (date of sale 10th May 2007) He is yet to take the depreciation run for May-07. How/where should he put this date (10th May) so that at the time of depn run system calculates depreciation for 10 days o

  • Flash Player 11 Fails Download

    I have Windows 7, IE 10 and/or Firefox 22.  Can't get flashplayer 11 to download via either web browser.  I was able to download (manually) the player, and it shows as installed in my control panel but IE does not recognize that it's installed. I nee