Reg:Integrating XML Publisher and OA Framework

I am trying to Integrating XML Publisher and OA Framework, i got
C:\Framework\Jdeveloper\jdevhome\jdev\myprojects\xxxmlrep\oracle\apps\ak\webui\EmpCO.java
Error(84,7): class OADBTransactionImpl not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
Error(87,7): class OADBTransactionImpl not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
Error(88,7): class OADBTransactionImpl not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
Error(90,5): variable TemplateHelper not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
Error(83,5): variable TemplateHelper not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
source code is
/*===========================================================================+
| Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
| All rights reserved. |
+===========================================================================+
| HISTORY |
+===========================================================================*/
package xxxmlrep.oracle.apps.ak.webui;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletResponse;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.cabo.ui.data.DataObject;
import oracle.xml.parser.v2.XMLNode;
* Controller for ...
public class EmpCO extends OAControllerImpl
private static final int DEPTH = 4;
private static final int APP_ID = 20035;
private static final String APP_NAME = "AK";
private static final String TEMPLATE_CODE = "XXEMP_JDEV";
private static final int BUFFER_SIZE = 32000;
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
am.invokeMethod("initEmpVO");
am.invokeMethod("getEmpDataXML");
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
String event = pageContext.getParameter("event");
if("GenerateReport".equals(event))
DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
try {
ServletOutputStream os = response.getOutputStream();
String contentDisposition = "attachment;filename=EmpReport.pdf";
response.setHeader("Content-Disposition",contentDisposition);
response.setContentType("application/pdf");
XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpAM");
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
xmlNode.print(outputStream);
ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
TemplateHelper.processTemplate(
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
APP_NAME,
TEMPLATE_CODE,
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
inputStream,
TemplateHelper.OUTPUT_TYPE_PDF,
null,
pdfFile);
byte[] b = pdfFile.toByteArray();
response.setContentLength(b.length);
os.write(b, 0, b.length);
os.flush();
os.close();
catch(Exception e)
response.setContentType("text/html");
throw new OAException(e.getMessage(), OAException.ERROR);
pageContext.setDocumentRendered(false);
thank in advance
}

User,
This code snippet may help:
while (myQuestionIsAboutOAFramework)
    user.askQuestionInProperForum(Constants.OAFrameworkForum);
public class Constants
   public static string OAFrameworkForum = "http://forums.oracle.com/forums/forum.jspa?forumID=210";
}John

Similar Messages

  • 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

  • Need help in exporting data in to Excel by integrating XML publisher in OAF

    Hi All,
    I am facing issue while exporting data into Excel by integrating XML publisher in OAF. Everything is working fine except that the report is not uploaded in the Excel sheet. Excel sheet is opening empty.
    In OC4J server log an getting the below Exception while exporting the data:
    13/06/21 14:31:17 in try b4 creating DT
    [062113_023118734][][STATEMENT] debug_mode=on
    [062113_023118750][][STATEMENT] xml_tag_case=upper
    [062113_023118750][][STATEMENT] Inside parameterParser...
    [062113_023118750][][STATEMENT] Parameter:p_last_rev  Default value:
    [062113_023118750][][STATEMENT] Inside dataQueryParser...
    [062113_023118750][][STATEMENT] Inside dataStructureParser...
    [062113_023118765][][STATEMENT] Group ...report
    [062113_023118765][][STATEMENT] Group ...G_DISPUTE
    [062113_023118765][][STATEMENT] Template parsing completed...
    [062113_023118765][][STATEMENT] Setting Data Template
    [062113_023118765][][STATEMENT] Setting JDBC Connection
    13/06/21 14:31:18 after datatemplate
    [062113_023118765][][STATEMENT] ***Paramter :p_last_rev Value :419947
    [062113_023118765][][STATEMENT] Setting Parameters
    [062113_023118765][][STATEMENT] Setting Parameters
    13/06/21 14:31:18 after set params
    13/06/21 14:31:18 after setOutput
    [062113_023118781][][STATEMENT] Start process Data
    [062113_023118781][][STATEMENT] Process Data ...
    [062113_023118781][][STATEMENT] p_last_rev
    [062113_023118812][][STATEMENT] Writing Data ...
    [062113_023118843][][STATEMENT] Sql Query :Q_DISPUTE: select f.description "Current_Reviewer",
           p.trx_date "Original_Transaction_Date",
           h.discr_dt "Create_Date",
           h.custid "Customer_Number",
           h.cusname "Customer_Name",
           h.discr_no "Dispute_Number",
           p.amount_due_remaining "Remaining_Amount",
           h.last_rev,
           a.name
      from seacds.ar_payment_schedules_all_sv p,
           seaar.seaar_ddt_header             h,
           seacds.fnd_user_nv                 f,
           seacds.ar_collectors_nv            a
    where p.trx_number = h.discr_no
       and f.user_name = h.last_rev
       and nvl(a.employee_id, -999) = nvl(f.employee_id, -987)
       and a.attribute1 = 'AR'
       and p.class != 'PMT'
       and h.clsd_flag = 'N'
       and p.org_id = 22
       and p.amount_due_remaining > 0
       and h.last_rev = decode(:p_last_rev,'ALL',last_rev,:p_last_rev)
    order by f.description,h.last_rev
    [062113_023118843][][STATEMENT] 1: p_last_rev:419947
    [062113_023118843][][STATEMENT] 2: p_last_rev:419947
    [062113_023119546][][EVENT] Data Generation Completed...
    [062113_023119546][][EVENT] Total Data Generation Time 1.0 seconds
    13/06/21 14:31:19 after processData
    13/06/21 14:31:19 blobDomain Value :<?xml version="1.0" encoding="UTF-8"?>
    <IDIS_OPENEDBYUSER_RPT>
    <p_last_rev>419947</p_last_rev>
    <LIST_G_DISPUTE>
    <G_DISPUTE>
    <CURRENT_REVIEWER>NUMFON KIMWANGTAGO</CURRENT_REVIEWER>
    <ORIGINAL_TRANSACTION_DATE>2010-10-02T00:00:00.000+05:30</ORIGINAL_TRANSACTION_DATE>
    <CREATE_DATE>2011-04-20T00:00:00.000+05:30</CREATE_DATE>
    <CUSTOMER_NUMBER>45356000</CUSTOMER_NUMBER>
    <CUSTOMER_NAME>HEWLETT PACKARD GMBH</CUSTOMER_NAME>
    <DISPUTE_NUMBER>1CZ155358</DISPUTE_NUMBER>
    <REMAINING_AMOUNT>945</REMAINING_AMOUNT>
    </G_DISPUTE>
    </LIST_G_DISPUTE>
    </IDIS_OPENEDBYUSER_RPT>
    [062113_023120390][oracle.apps.xdo.oa.schema.server.TemplateInputStream][STATEMENT] initStream(): oa-date-validation: null
    [062113_023120390][oracle.apps.xdo.oa.schema.server.TemplateInputStream][STATEMENT] initStream(): xdo.TemplateValidation: null
    [062113_023120390][oracle.apps.xdo.oa.schema.server.TemplateInputStream][STATEMENT] initStream(): template validation is on
    [062113_023121046][][STATEMENT] TemplateHelper.runProcessTemplate() called
    [062113_023121062][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [062113_023121062][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_COOKIE_NAME]:[dcap1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [JDBC:processEscapes]:[true]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [APPL_SERVER_ID]:[C1ACC302F183004AE0430A0990B773BA35529272341851546077251405344914]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_STMT_CACHE_SIZE]:[100]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_DATE_LANGUAGE]:[AMERICAN]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_SESSION_COOKIE_VALUE]:[v1CUM5yeRe9st6ePp4QEmgJhEW]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_TRANSACTION_ID]:[-1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_DATE_FORMAT]:[DD-MON-RRRR]
    [062113_023121062][][EXCEPTION] [DEBUG]  [RESP_APPL_ID]:[20084]
    [062113_023121062][][EXCEPTION] [DEBUG]  [LOGIN_ID]:[4444238]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DB_PORT]:[1533]
    [062113_023121062][][EXCEPTION] [DEBUG]  [USER_ID]:[2318]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DISPLAY_LANGUAGE]:[US]
    [062113_023121062][][EXCEPTION] [DEBUG]  [APPLICATION_ID]:[seagate.oracle.apps.seaar.idispute.report.server.iDisputeOpenedByUserAM]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_NUMERIC_CHARACTERS]:[.,]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_LANGUAGE]:[AMERICAN]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [GUEST_USER_PWD]:[GUEST/ORACLE]
    [062113_023121062][][EXCEPTION] [DEBUG]  [RESP_ID]:[53350]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_SORT]:[BINARY]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_PLSQL_RESET]:[false]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_PROFILE_VALIDATION_ENABLED]:[null]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FUNCTION_ID]:[-1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_PV_SESSION_MODE]:[115J]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_CONTEXT_CHECK]:[true]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_USABLE_CHECK]:[false]
    [062113_023121062][][EXCEPTION] [DEBUG]  [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=okdevcl1012b.okla.seagate.com)(PORT=1533))(ADDRESS=(PROTOCOL=tcp)(HOST=okdevcl1012a.okla.seagate.com)(PORT=1533)))(CONNECT_DATA=(SERVICE_NAME=dcap1)))]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FNDNAM]:[APPS]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_PROXY_USER]:[null]
    [062113_023121062][][EXCEPTION] [DEBUG]  [TWO_TASK]:[dcap1_balance]
    [062113_023121062][][EXCEPTION] [DEBUG]  [APPS_JDBC_DRIVER_TYPE]:[THIN]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DB_HOST]:[okdevcl1012a.okla.seagate.com]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DBC_FILE_PATH]:[C:\JDEV\jdevhome\jdev\dbc_files\secure\dcap1.dbc]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [SECURITY_GROUP_ID]:[0]
    [062113_023121062][][EXCEPTION] [DEBUG]  [LANG_CODE]:[US]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_MAX_JDBC_CONNECTIONS]:[500]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [062113_023121062][][EXCEPTION] [DEBUG]  [USER_NAME]:[505543]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MAX]:[5]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DB_NAME]:[null]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_CHARACTERSET]:[AL32UTF8]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ORG_ID]:[22]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DB_ID]:[dcap1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [GWYUID]:[APPLSYSPUB/PUB]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_TERRITORY]:[AMERICA]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_SESSION_ID]:[1231277285]
    [062113_023121062][][EXCEPTION] [DEBUG]  [JDBC:oracle.jdbc.maxCachedBufferSize]:[358400]
    [062113_023121062][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.vendor]:[Sun Microsystems Inc.]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ajp.connection.listener.state]:[down]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.management.compiler]:[HotSpot Client Compiler]
    [062113_023121062][][EXCEPTION] [DEBUG]  [oracle.j2ee.container.version]:[10.1.3.3.0]
    [062113_023121062][][EXCEPTION] [DEBUG]  [os.name]:[Windows XP]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.boot.class.path]:[C:\JDEV\jdevbin\jdk\jre\lib\rt.jar;C:\JDEV\jdevbin\jdk\jre\lib\i18n.jar;C:\JDEV\jdevbin\jdk\jre\lib\sunrsasign.jar;C:\JDEV\jdevbin\jdk\jre\lib\jsse.jar;C:\JDEV\jdevbin\jdk\jre\lib\jce.jar;C:\JDEV\jdevbin\jdk\jre\lib\charsets.jar;C:\JDEV\jdevbin\jdk\jre\classes]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.desktop]:[windows]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.runtime.version]:[1.5.0_05-b05]
    [062113_023121062][][EXCEPTION] [DEBUG]  [com.oracle.corba.ee.security.trusted.clients]:[*]
    [062113_023121062][][EXCEPTION] [DEBUG]  [oracle.security.jazn.config]:[C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\jazn.xml]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.name]:[mysub]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.language]:[en]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.naming.factory.initial]:[com.evermind.server.ApplicationInitialContextFactory]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.boot.library.path]:[C:\JDEV\jdevbin\jdk\jre\bin]
    [062113_023121062][][EXCEPTION] [DEBUG]  [oc4j.jms.usePersistenceLockFiles]:[false]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.version]:[1.5.0_05]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.util.logging.manager]:[oracle.classloader.util.ApplicationLogManager]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.timezone]:[Asia/Calcutta]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.net.preferIPv4Stack]:[true]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.arch.data.model]:[32]
    [062113_023121062][][EXCEPTION] [DEBUG]  [javax.rmi.CORBA.UtilClass]:[com.sun.corba.ee.impl.javax.rmi.CORBA.Util]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.endorsed.dirs]:[C:\JDEV\jdevbin\jdk\jre\lib\endorsed]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.cpu.isalist]:[]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.jnu.encoding]:[Cp1252]
    [062113_023121062][][EXCEPTION] [DEBUG]  [file.encoding.pkg]:[sun.io]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DBCFILE]:[C:\JDEV\jdevhome\jdev\dbc_files\secure\dcap1.dbc]
    [062113_023121062][][EXCEPTION] [DEBUG]  [file.separator]:[\]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.specification.name]:[Java Platform API Specification]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.class.version]:[49.0]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.country]:[US]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.home]:[C:\JDEV\jdevbin\jdk\jre]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.vm.info]:[mixed mode]
    [062113_023121062][][EXCEPTION] [DEBUG]  [os.version]:[5.1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [org.omg.CORBA.ORBSingletonClass]:[com.sun.corba.ee.impl.orb.ORBImpl]
    [062113_023121062][][EXCEPTION] [DEBUG]  [path.separator]:[;]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.vm.version]:[1.5.0_05-b05]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.variant]:[]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.protocol.handler.pkgs]:[com.evermind.protocol]
    [062113_023121062][][EXCEPTION] [DEBUG]  [checkForUpdates]:[adminClientOnly]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.awt.printerjob]:[sun.awt.windows.WPrinterJob]
    [062113_023121062][][EXCEPTION] [DEBUG]  [RUN_FROM_JDEV]:[true]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.io.unicode.encoding]:[UnicodeLittle]
    [062113_023121062][][EXCEPTION] [DEBUG]  [com.sun.jts.pi.INTEROP_MODE]:[false]
    [062113_023121062][][EXCEPTION] [DEBUG]  [awt.toolkit]:[sun.awt.windows.WToolkit]
    [062113_023121062][][EXCEPTION] [DEBUG]  [MetaObjectContext]:[oracle.adf.mds.jbo.JBODefManager]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_TOP]:[C:\JDEV\jdevhome\jdev\dbc_files\]
    [062113_023121062][][EXCEPTION] [DEBUG]  [oracle.j2ee.http.socket.timeout]:[500]
    [062113_023121062][][EXCEPTION] [DEBUG]  [com.oracle.corba.ee.security.ssl.port]:[5659]
    [062113_023121062][][EXCEPTION] [DEBUG]  [JRAD_ELEMENT_LIST_PATH]:[C:\JDEV\jdevhome\jdev\myhtml\OA_HTML\jrad\]
    [062113_023121062][][EXCEPTION] [DEBUG]  [JTFDBCFILE]:[C:\JDEV\jdevhome\jdev\dbc_files\secure\dcap1.dbc]
    [062113_023121062][][EXCEPTION] [DEBUG]  [com.sun.CORBA.POA.ORBServerId]:[1000000]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.naming.factory.url.pkgs]:[oracle.oc4j.naming.url]
    [062113_023121078][][EXCEPTION] [DEBUG]  [user.home]:[C:\Documents and Settings\mysub]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.specification.vendor]:[Sun Microsystems Inc.]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.home]:[C:\JDEV\jdevbin]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.dms.sensors]:[5]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.library.path]:[C:\JDEV\jdevbin\jdk\bin;.;C:\WINNT\system32;C:\WINNT;D:\oracle\product\10.1.0\Db_1\bin;D:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin\client;D:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Windows Imaging\;D:\oracle\product\10.1.0\Db_1\jdk\jre\bin;D:\oracle\product\10.1.0\Db_1\jdk\jre\bin\client;D:\oracle\product\10.1.0\Db_1\jlib;]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vendor.url]:[http://java.sun.com/]
    [062113_023121078][][EXCEPTION] [DEBUG]  [javax.rmi.CORBA.StubClass]:[com.sun.corba.ee.impl.javax.rmi.CORBA.StubDelegateImpl]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.j2ee.dont.use.memory.archive]:[true]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vm.vendor]:[Sun Microsystems Inc.]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.runtime.name]:[Java(TM) 2 Runtime Environment, Standard Edition]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.class.path]:[C:\JDEV\jdevbin\jdk\jre\lib\rt.jar;C:\JDEV\jdevbin\jdk\jre\lib\jsse.jar;C:\JDEV\jdevbin\jdk\jre\lib\jce.jar;C:\JDEV\jdevbin\jdk\jre\lib\charsets.jar;C:\JDEV\jdevbin\jdk\jre\lib\ext\dnsns.jar;C:\JDEV\jdevbin\jdk\jre\lib\ext\localedata.jar;C:\JDEV\jdevbin\jdk\jre\lib\ext\sunjce_provider.jar;C:\JDEV\jdevbin\jdk\jre\lib\ext\sunpkcs11.jar;C:\JDEV\jdevbin\j2ee\home\oc4j-api.jar;C:\JDEV\jdevbin\j2ee\home\lib\oc4j-unsupported-api.jar;C:\JDEV\jdevbin\j2ee\home\lib\activation.jar;C:\JDEV\jdevbin\j2ee\home\lib\mail.jar;C:\JDEV\jdevbin\j2ee\home\lib\persistence.jar;C:\JDEV\jdevbin\j2ee\home\lib\ejb30.jar;C:\JDEV\jdevbin\j2ee\home\lib\ejb.jar;C:\JDEV\jdevbin\j2ee\home\lib\javax77.jar;C:\JDEV\jdevbin\j2ee\home\lib\javax88.jar;C:\JDEV\jdevbin\j2ee\home\lib\servlet.jar;C:\JDEV\jdevbin\j2ee\home\lib\jms.jar;C:\JDEV\jdevbin\j2ee\home\lib\jta.jar;C:\JDEV\jdevbin\j2ee\home\lib\jacc-api.jar;C:\JDEV\jdevbin\j2ee\home\lib\connector.jar;C:\JDEV\jdevbin\j2ee\home\lib\jmx_remote_api.jar;C:\JDEV\jdevbin\j2ee\home\lib\jax-qname-namespace.jar;C:\JDEV\jdevbin\webservices\lib\jaxr-api.jar;C:\JDEV\jdevbin\webservices\lib\jaxrpc-api.jar;C:\JDEV\jdevbin\webservices\lib\saaj-api.jar;C:\JDEV\jdevbin\webservices\lib\jws-api.jar;C:\JDEV\jdevbin\j2ee\home\lib\oc4j-internal.jar;C:\JDEV\jdevbin\j2ee\home\lib\oems-jms-oc4j.jar;C:\JDEV\jdevbin\j2ee\home\lib\oems-jms-client.jar;C:\JDEV\jdevbin\j2ee\home\lib\oems-jms-server.jar;C:\JDEV\jdevbin\j2ee\home\lib\oc4j-schemas.jar;C:\JDEV\jdevbin\j2ee\home\lib\ojsp.jar;C:\JDEV\jdevbin\j2ee\home\lib\oc4j_orb.jar;C:\JDEV\jdevbin\j2ee\home\lib\iiop_support.jar;C:\JDEV\jdevbin\j2ee\home\lib\orbbase.jar;C:\JDEV\jdevbin\j2ee\home\iiop_gen_bin.jar;C:\JDEV\jdevbin\j2ee\home\lib\jmxcluster.jar;C:\JDEV\jdevbin\j2ee\home\jaccprovider.jar;C:\JDEV\jdevbin\javavm\lib\jasper.zip;C:\JDEV\jdevbin\j2ee\home\lib\adminclient.jar;C:\JDEV\jdevbin\opmn\lib\optic.jar;C:\JDEV\jdevbin\j2ee\home\jacc-spi.jar;C:\JDEV\jdevbin\j2ee\home\jazncore.jar;C:\JDEV\jdevbin\j2ee\home\jazn.jar;C:\JDEV\jdevbin\jlib\ospnego.jar;C:\JDEV\jdevbin\jlib\ldapjclnt10.jar;C:\JDEV\jdevbin\webservices\lib\wsserver.jar;C:\JDEV\jdevbin\webservices\lib\wsif.jar;C:\JDEV\jdevbin\webservices\lib\orawsmetadata.jar;C:\JDEV\jdevbin\webservices\lib\orajaxr.jar;C:\JDEV\jdevbin\jlib\jssl-1_1.jar;C:\JDEV\jdevbin\jlib\ojmisc.jar;C:\JDEV\jdevbin\toplink\jlib\toplink-oc4j.jar;C:\JDEV\jdevbin\diagnostics\lib\ojdl2.jar;C:\JDEV\jdevbin\xqs\lib\xqs-api.jar;C:\JDEV\jdevbin\xqs\lib\xds.jar;C:\JDEV\jdevbin\jdev\lib\jdev-oc4j-embedded.jar;C:\JDEV\jdevbin\j2ee\home\lib\pcl.jar;C:\JDEV\jdevbin\j2ee\home\lib\ext;C:\JDEV\jdevbin\lib\dmsapp.jar;C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\admin_ejb.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jdomorcl.jar;C:\JDEV\jdevbin\jlib\jsp-el-api.jar;C:\JDEV\jdevbin\jlib\commons-el.jar;C:\JDEV\jdevbin\jlib\oracle-el.jar;C:\JDEV\jdevbin\jlib\jewt4.jar;C:\JDEV\jdevbin\jdev\appslibrt\regexp.jar;C:\JDEV\jdevbin\jdev\appslibrt\share.jar;C:\JDEV\jdevbin\jdev\appslibrt\uix2.jar;C:\JDEV\jdevbin\oaext\mds\lib\mdsrt.jar;C:\JDEV\jdevbin\oaext\lib\mdsdt.jar;C:\JDEV\jdevbin\oaext\lib\oamdsdt.jar;C:\JDEV\jdevbin\javacache\lib\cache.jar;C:\JDEV\jdevbin\lib\xschema.jar;C:\JDEV\jdevbin\BC4J\lib;C:\JDEV\jdevbin\BC4J\lib\adfbinding.jar;C:\JDEV\jdevbin\BC4J\lib\adfcm.jar;C:\JDEV\jdevbin\BC4J\lib\adfm.jar;C:\JDEV\jdevbin\BC4J\lib\adfmweb.jar;C:\JDEV\jdevbin\BC4J\lib\adfs-jazn.jar;C:\JDEV\jdevbin\BC4J\lib\adfs.jar;C:\JDEV\jdevbin\BC4J\lib\adfshare.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jct.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jctejb.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jimdomains.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jmt.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jmtejb.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jsyscat.jar;C:\JDEV\jdevbin\BC4J\lib\collections.jar;C:\JDEV\jdevbin\jdev\appslibrt\fwkjbo.zip;C:\JDEV\jdevbin\jdev\appslibrt\fwk.zip;C:\JDEV\jdevbin\jdev\appslibrt\atg.zip;C:\JDEV\jdevbin\jdev\appslibrt\collections.zip;C:\JDEV\jdevbin\jdev\appslibrt\iasjoc.zip;C:\JDEV\jdevbin\jdev\appslibrt\rosettaRt.zip;C:\JDEV\jdevbin\jdev\appslibrt\portalFlexComps.jar;C:\JDEV\jdevbin\jdev\appslibrt\svc.zip;C:\JDEV\jdevbin\jdev\appslibrt\pat.zip;C:\JDEV\jdevbin\jdev\appslibrt\concurrent.zip;C:\JDEV\jdevbin\jdev\appslibrt\oamMaintMode.zip;C:\JDEV\jdevbin\jdev\appslibrt\fwkCabo.zip;C:\JDEV\jdevbin\jdev\appslibrt\wsrp-container.jar;C:\JDEV\jdevbin\jdev\appslibrt\pdkjava.jar;C:\JDEV\jdevbin\jdev\appslibrt\ptlshare.jar;C:\JDEV\jdevbin\jdev\appslibrt\xml.jar;C:\JDEV\jdevbin\jdev\appslibrt\wsrp-container-types.jar;C:\JDEV\jdevbin\jdev\appslibrt\jaxb-impl.jar;C:\JDEV\jdevbin\jdev\appslibrt\jaxb-libs.jar;C:\JDEV\jdevbin\jdev\appslibrt\jazn.jar;C:\JDEV\jdevbin\jdev\appslibrt\jazncore.jar;C:\JDEV\jdevbin\bibeans\lib\biamlocal.jar;C:\JDEV\jdevbin\bibeans\lib\bipres.jar;C:\JDEV\jdevbin\bibeans\lib\bicmn.jar;C:\JDEV\jdevbin\bibeans\lib\bidatasvr.jar;C:\JDEV\jdevbin\bibeans\lib\bidataclt.jar;C:\JDEV\jdevbin\bibeans\lib\bidatacmn.jar;C:\JDEV\jdevbin\bibeans\lib\biext.jar;C:\JDEV\jdevbin\bibeans\lib\bicmn-nls.zip;C:\JDEV\jdevbin\bibeans\lib\bipres-nls.zip;C:\JDEV\jdevbin\bibeans\lib\bidata-nls.zip;C:\JDEV\jdevbin\oaext\config\oac\oacfilter.jar;C:\JDEV\jdevbin\j2ee\home\lib\scheduler.jar;C:\JDEV\jdevbin\jdev\lib\jdev-rt.jar;C:\JDEV\jdevbin\jdev\lib\ojc.jar;C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\connectors\datasources\datasources\datasources.jar;C:\JDEV\jdevbin\diagnostics\lib\ojdl.jar;C:\JDEV\jdevbin\lib\dms.jar;C:\JDEV\jdevbin\jdbc\lib\ojdbc14dms.jar;C:\JDEV\jdevbin\opmn\lib\ons.jar;C:\JDEV\jdevbin\jdbc\lib\ocrs12.jar;C:\JDEV\jdevbin\rdbms\jlib\aqapi.jar;C:\JDEV\jdevbin\j2ee\home\lib\ojms-provider.jar;C:\JDEV\jdevbin\jdbc\lib\orai18n.jar;C:\JDEV\jdevbin\lib\xmlparserv2.jar;C:\JDEV\jdevbin\lib\xml.jar;C:\JDEV\jdevbin\lib\xmlmesg.jar;C:\JDEV\jdevbin\lib\xsu12.jar;C:\JDEV\jdevbin\lib\xquery.jar;C:\JDEV\jdevbin\jlib\osdt_core.jar;C:\JDEV\jdevbin\jlib\osdt_cert.jar;C:\JDEV\jdevbin\jlib\osdt_xmlsec.jar;C:\JDEV\jdevbin\jlib\osdt_wss.jar;C:\JDEV\jdevbin\jlib\osdt_saml.jar;C:\JDEV\jdevbin\jlib\ojpse.jar;C:\JDEV\jdevbin\jlib\oraclepki.jar;C:\JDEV\jdevbin\toplink\jlib\toplink.jar;C:\JDEV\jdevbin\toplink\jlib\antlr.jar;C:\JDEV\jdevbin\toplink\jlib\toplink-essentials.jar;C:\JDEV\jdevbin\webservices\lib\wsclient.jar;C:\JDEV\jdevbin\webservices\lib\orasaaj.jar;C:\JDEV\jdevbin\webservices\lib\xsdlib.jar;C:\JDEV\jdevbin\webservices\lib\mdds.jar;C:\JDEV\jdevbin\webservices\lib\relaxngDatatype.jar;C:\JDEV\jdevbin\webservices\lib\soap.jar;C:\JDEV\jdevbin\sqlj\lib\runtime12.jar;C:\JDEV\jdevbin\sqlj\lib\translator.jar;C:\JDEV\jdevbin\webservices\lib\orawsdl.jar;C:\JDEV\jdevbin\j2ee\home\applib;C:\JDEV\jdevbin\j2ee\home\jsp\lib\taglib;C:\JDEV\jdevbin\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\JDEV\jdevbin\lib\dsv2.jar;C:\JDEV\jdevbin\j2ee\home\lib\http_client.jar;C:\JDEV\jdevbin\j2ee\home\lib\jgroups-core.jar;C:\JDEV\jdevhome\jdev\myhtml\OA_HTML;C:\JDEV\jdevhome\jdev\myclasses;C:\JDEV\jdevbin\jlib\jdev-cm.jar;C:\JDEV\jdevbin\BC4J\jlib\bc4jhtml.jar;C:\JDEV\jdevbin\BC4J\jlib\datatags.jar;C:\JDEV\jdevbin\BC4J\jlib\bc4juixtags.jar;C:\JDEV\jdevbin\BC4J\jlib\graphtags.jar;C:\JDEV\jdevbin\jdev\appslibrt\wsp.zip;C:\JDEV\jdevbin\jdev\appslibrt\diagnostics.jar;C:\JDEV\jdevbin\jdev\appslibrt\svctester.jar]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.j2ee.home]:[C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.application.environment]:[development]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vm.specification.name]:[Java Virtual Machine Specification]
    [062113_023121078][][EXCEPTION] [DEBUG]  [JRAD_XML_PATH]:[C:\JDEV\jdevhome\jdev\myclasses\JRADXML;C:\JDEV\jdevhome\jdev\myprojects;C:\JDEV\jdevbin\jdev\oamdsxml\fwk]
    [062113_023121078][][EXCEPTION] [DEBUG]  [javax.rmi.CORBA.PortableRemoteObjectClass]:[com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject]
    [062113_023121078][][EXCEPTION] [DEBUG]  [org.omg.PortableInterceptor.ORBInitializerClass.oracle.oc4j.corba.iiop.server.IIOPInitializer]:[NO_VALUE]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vm.specification.version]:[1.0]
    [062113_023121078][][EXCEPTION] [DEBUG]  [sun.cpu.endian]:[little]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.j2ee.container.name]:[Oracle Containers for J2EE 10g (10.1.3.3.0) ]
    [062113_023121078][][EXCEPTION] [DEBUG]  [sun.os.patch.level]:[Service Pack 3]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.io.tmpdir]:[C:\DOCUME~1\mysub\Local Settings\Temp\]
    [062113_023121078][][EXCEPTION] [DEBUG]  [com.sun.jts.pi.CLIENT_POLICY_CHECKING]:[false]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [062113_023121078][][EXCEPTION] [DEBUG]  [com.oracle.corba.ee.security.ssl.mutual.auth.port]:[5657]
    [062113_023121078][][EXCEPTION] [DEBUG]  [FND_JDBC_STMT_CACHE_SIZE]:[200]
    [062113_023121078][][EXCEPTION] [DEBUG]  [os.arch]:[x86]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.awt.graphicsenv]:[sun.awt.Win32GraphicsEnvironment]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.ext.dirs]:[C:\JDEV\jdevbin\jdk\jre\lib\ext]
    [062113_023121078][][EXCEPTION] [DEBUG]  [user.dir]:[C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config]
    [062113_023121078][][EXCEPTION] [DEBUG]  [CACHENODBINIT]:[true]
    [062113_023121078][][EXCEPTION] [DEBUG]  [line.separator]:[
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vm.name]:[Java HotSpot(TM) Client VM]
    [062113_023121078][][EXCEPTION] [DEBUG]  [com.sun.CORBA.connection.ORBSocketFactoryClass]:[oracle.oc4j.corba.iiop.IIOPSSLSocketFactory]
    [062113_023121078][][EXCEPTION] [DEBUG]  [javax.management.builder.initial]:[oracle.oc4j.admin.jmx.server.Oc4jMBeanServerBuilder]
    [062113_023121078][][EXCEPTION] [DEBUG]  [com.oracle.corba.ee.security.use.ssl]:[false]
    [062113_023121078][][EXCEPTION] [DEBUG]  [org.omg.CORBA.ORBClass]:[com.sun.corba.ee.impl.orb.ORBImpl]
    [062113_023121078][][EXCEPTION] [DEBUG]  [file.encoding]:[Cp1252]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.specification.version]:[1.5]
    13/06/21 14:31:33 After exporting into excel sheet
    Here is my code which i have used to integrate the XML publisher:
    Code in AMImpl:
    public BlobDomain getXMLData(String user) {
    System.out.println("*** in getXMLData *** ");
    this.getOADBTransaction().writeDiagnostics(this, "*** in getXMLData ***",1);
    BlobDomain blobDomain = new BlobDomain();
    String dataDefCode = null;
    dataDefCode ="IDIS_OPENEDBYUSER_RPT";
    String dataDefApp = "SEAAR";
    try {
    System.out.println("in try b4 creating DT");
    this.getOADBTransaction().writeDiagnostics(this, "*** in try b4 creating DT ***",1);
    DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)getOADBTransaction()).getAppsContext(),
    dataDefApp,
    dataDefCode);
    this.getOADBTransaction().writeDiagnostics(this, "*** after datatemplate ***",1);                                                   
    System.out.println("after datatemplate");
    Hashtable parameters = new Hashtable();
    parameters.put("p_last_rev", user);
    datatemplate.setParameters(parameters);   
    System.out.println("after set params");
    this.getOADBTransaction().writeDiagnostics(this, "*** after set params ***",1);
    datatemplate.setOutput(blobDomain.getOutputStream());
    System.out.println("after setOutput");
    this.getOADBTransaction().writeDiagnostics(this, "*** after setOutput***",1);
    datatemplate.processData();
    System.out.println("after processData" ); 
    this.getOADBTransaction().writeDiagnostics(this, "*** after processData***",1);
    System.out.println("blobDomain Value :"+blobDomain); 
    this.getOADBTransaction().writeDiagnostics(this,"blobDomain :: "+blobDomain,1 );
    return blobDomain;
    } catch (XDOException xdoe) {
    System.out.println("Exception in XDO :");
    throw new OAException("Exception in XDO : "+xdoe.getMessage());
    catch (SQLException sqle) {
    System.out.println("Exception in SQL :");
    throw new OAException("SQL Exception : "+sqle.getMessage());
    catch (OAException e) {
    System.out.println("Exception in OA :");
    throw new OAException("Unexpected Error :: " +e.getMessage());
    Code in Controller file:
    if (pageContext.getParameter("Export") != null)
    BlobDomain amBlobDomain ;
    String user = (String)pageContext.getTransientSessionValue("userName");
    System.out.println("User name before passing parameter to report"+user);
    Serializable[] param = { user};
    amBlobDomain = (BlobDomain)am.invokeMethod("getXMLData", param);
    Properties pdfproperties = new Properties();
    try
    DocumentHelper.exportDocument(pageContext,
    "SEAAR",
    "IDISPUTE_OPENEDBYUSER_RPT_TP",
    "en",
    "US",
    amBlobDomain.getInputStream(),
    "EXCEL",
    pdfproperties);  
    catch(Exception e) {
    System.out.println("Exception found in Document Helper");
    throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
    System.out.println("After exporting into excel sheet");
    Thanks and Regards,
    Myvizhi

    Hi Peddi,
    I gave TRUNC to both of the dates. But still the same issue. I think the problem is in returning the BolbDomain.
    return blobDomain;
    } catch (XDOException xdoe) {
    System.out.println("Exception in XDO :");
    throw new OAException("Exception in XDO : "+xdoe.getMessage());
    catch (SQLException sqle) {
    System.out.println("Exception in SQL :");
    throw new OAException("SQL Exception : "+sqle.getMessage());
    catch (OAException e) {
    System.out.println("Exception in OA :");
    throw new OAException("Unexpected Error :: " +e.getMessage());
    Thanks and Regards,
    Myvizhi

  • Difference between XML Publisher and BI Publisher

    Dear Members,
    Recently I've started using XML Publisher Desktop V 5.5 with Oracle Applications V 11.5.10.2
    In many forums and sites, most of the users are referring as XML Publisher or BI Publisher. Can any one please explain me the below points:
    1/ What is the difference between XML Publisher and BI Publisher.
    2/ Can I use BI Publisher with Oracle Applications V 11.5.10.2? If YES what I need to do to use BI Publisher?
    Your inputs will be of great help to me.
    Many thanks in advance.
    Best Regards,
    Arun Reddy D.

    In the main page of this forum, there are announcements... check "Naming and Versioning" -- might help you.

  • XML Publisher and Oracle 11i10

    Has anyone used XML Publisher with 11i10? 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 tool - challenges, installation, comparison to Optio, etc.
    Thanks,

    Hi Vishnu
    XMLPublisher is compatible with all 11i10 modules to varying degrees. At its basic level you can take an application's existing Oracle Reports and apply RTF layout templates using XMLP to generate PDF, HTML,Excel and RTF. Applications are building out new templates all the time but its pretty straightforward to do this yourself, check the concurrent manager integration white paper on metalink.
    Many applications have embedded XMLP technology allowing you to generate output via their UI. For example you can now generate a high fidelity purchase order including terms and conditions directly from the PO UI.
    Moving forward you will see more and more integration with XMLP as it is now the production reporting standard for the EBusiniess Suite.
    Regards
    Tim

  • Integrating XML Publisher into an OAF page

    Hello,
    I'm pretty to new to both OAF and XML Publisher...hoping someone can help me out. I created an OAF page that uses oracle.apps.xdo.oa.common.DocumentHelper to display a PDF. I created my Data Definition and Template, and tested that using concurrent manger.
    When I display my OAF page and click a button to view the PDF, the page does not show the PDF. However, when I click on the export button it opens a new window and I can view the PDF no problem.
    So I know the XML Publisher document is working, but why doesn't it display in the page?
    We are on 11.10.2 applications and 5.6.3 XML Publisher.
    Thanks,
    Johnnie
    CO:
    private static final String APP_NAME = "PTC";
    private static final String TEMPLATE_CODE = "PTC_HR_TOTAL_COMP";
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    System.out.println( "============processRequest 10" );
    pageContext.putParameter("p_DataSource",DocumentHelper.DATA_SOURCE_TYPE_BLOB);
    pageContext.putParameter("p_DataSourceCode",TEMPLATE_CODE);
    pageContext.putParameter("p_DataSourceAppsShortName",APP_NAME);
    pageContext.putParameter("p_TemplateCode",TEMPLATE_CODE);
    pageContext.putParameter("p_TemplateAppsShortName",APP_NAME);
    pageContext.putParameter("p_Locale","English:United States");
    //pageContext.putParameter("p_XDORegionHeight","95%");
    pageContext.putParameter("p_OutputType","PDF");
    System.out.println( "============processRequest 20" );
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    Serializable[] parameters = { new Integer(pageContext.getEmployeeId()).toString() };
    System.out.println( "============processRequest 30" );
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    System.out.println( "============processFormRequest 10" );
    if (pageContext.getParameter("ViewStatement") != null)
    Serializable[] parameters = { new Integer(pageContext.getEmployeeId()).toString() };
    BlobDomain result = (BlobDomain) am.invokeMethod("getXMLData", parameters );
    System.out.println( "============processFormRequest 20" );
    pageContext.putSessionValueDirect("XML_DATA_BLOB", result );
    System.out.println( "============processFormRequest 30" );
    AM:
    public BlobDomain getXMLData( String personId )
    BlobDomain blobDomain = new BlobDomain();
    OADBTransaction oadbtransaction = getOADBTransaction();
    System.out.println( "============getXMLData 10" );
    try
    String dataDefCode = "PTC_HR_TOTAL_COMP";
    String dataDefApp = "PTC";
    // Create the new data template
    DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)getOADBTransaction()).getAppsContext(), dataDefApp,dataDefCode );
    // Set the parameters
    Hashtable parameters = new Hashtable();
    parameters.put("p_person_id", personId );
    datatemplate.setParameters(parameters);
    // Process the template
    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;
    }

    Hi Steve,
    I tried the approach you mentioned using IFRAME and found that,i am able to get the region in the end of the page, but its displaying the error message "Page not Found".
    Can you please let me know, what could be the reason.
    Here is my code
    In Controller( Process Request):
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    BlobDomain result = (BlobDomain)am.invokeMethod("getXMLData");
    pageContext.putSessionValueDirect("XML_DATA_BLOB", result);
    // Outputs letter in PDF format inline.
    String redirectURL = DocumentHelper.getOutputURL(pageContext,"XXJSDATA","XXJS_SAC_CPD",result.getInputStream(),"RTF",null,"en","US");
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean(pageContext, HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src",redirectURL);
    outRegion.setHTMLAttributeValue("width", "50%");
    outRegion.setHTMLAttributeValue("height", "50%");
    outRegion.setHTMLAttributeValue("title ","XXJS_SAC_CPD");
    outRegion.setHTMLAttributeValue("name ","XXJS_SAC_CPD");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    In AM:
    /**Get XML Data*/
    public BlobDomain getXMLData()
    BlobDomain blobDomain = new BlobDomain();
    OADBTransaction oadbtransaction = getOADBTransaction();
    try
    System.out.println("Now Calling Template to get XML Data>>>");
    String dataDefCode = "XXJS_SAC_CPD" ;
    String dataDefApp = "XXJSDATA";
    DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)getOADBTransaction()).getAppsContext(), dataDefApp,dataDefCode );
    datatemplate.setOutput(blobDomain.getBinaryOutputStream());
    datatemplate.processData();
    System.out.println("Got XML Data>>>");
    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;
    Kindly help.
    Thanks,
    S

  • 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

  • XML Publisher and the Oracle Shipping Transactions Form

    I am running 11.5.10.2. I need to print Simplified Chinese characters in a document. We converted to the UTF-8 character set so the server can render these on forms and such. I am using Oracle Reports 6i to produce a report, but due to the limitations with this product it will not produce PDF output with Chinese characters. XML Publisher however works great. The concurrent manager is set so the report produces XML which is then set to the template and out comes a really cool looking layout with Chinese that can be viewed, printed, or e-mailed anywhere.
    Now I have put this report into a document set so it can be printed from the Shipping Transactions form. But it does not work. There is no output. Metalink Note:312194.1 states development only supports XSL-FO and this will not be available until R12.
    Is this really true? Has anyone else come across this? Any suggestions on how to get around this?

    Hi
    Im assuming you are using the EBusiness Suite becasue of your reference to AR and AP modules. If so getting using an ORacle Report as a datasource for XMLP to format is pretty straightforward. There is a white paper on metalink describe the complete process - Note 295409.1. This will be available on the public site soon http://www.oracle.com/technology/products/applications/publishing/index.html
    As for AR and AP, there is no reason at all why you can not use XMLP with the existing Oracle Reports in those modules. You will start to see more and more modules providing embedded reporting functionality in the EBS based on XMLP technologies.
    Regards
    Tim

  • XML Publisher and Application Engine in Peoplesoft

    How do i write a simple application engine program for an XML Publisher report in Peoplesoft?
    Thanks in advance.
    Message was edited by:
    user611481

    Create sample output data in xml format and create a data source type rowset.
    create the report defination with above data source.
    Create a AE and create the rowset by using peoplecode, run the xmlp report by using PeopleCode and publish it in PeopleCode.

  • XML Publisher and HTML DB

    Hello;
    Is anyone out there have integrated the XML Publisher with Application Express (aka HTML DB) ?
    Thank you.
    Shaun

    Hi Mike,
    i'm looking for the same info about integrating xml pub with htmldb.
    For now i'm only testing it, however i heard that can be paid as well 40$ for employee.
    Is not too much as we pay as well microsoft...
    However would be nice to have a separate price list regarding only the xml publ. (such as it's a standalone product)
    However did you go further into the evaluation of htmldb + xml pub?
    thanx

  • XML Publisher and Spawned processes

    Does XML Publisher work with statements in the Ebusiness Suite as they are spawned processes and not your usual oracle report?
    Thanks,
    Mark

    Hi,
    Yes it does but it is a two step process. When you run statements it doesn't call the output post processor to generate the XMLP Output. You need to either run the XML Report Publish request, or call via the submit request api from the after report trigger.
    From memory it is the ARXSGP conc program you need to set to output as XML not ARXSGPO. ARXSGP is spawned by ARXSGPO.
    Thanks
    Paul

  • Sales - Quoting Functionality - XML Publisher and XSL.

    Hi ,
    We have changed output in Quoting to use XML Publisher instead of Reports Server.
    How can we view the XML tags to create the XSL file?
    Its possible to see XML output from PO's , SOA's etc when printed vis Concurrent Mgr and Oracle Forms but the raw XML is not available when using in Sales and Printing a Quote ( uses sample xsl in XML Publisher at the moment...Am formatting this.. but have no raw xml).
    Any ideas?
    Cheers
    Stephen

    I know what I can do in RTF and maybe it´s enough:
    1. Ensure you are using both tabs of the help text, you can start in Status Bar and continue with Help Key.
    2. You can also use multiple fields one after another.
    3. If you fill all of that and need more space I would consider moving the function out into its own XSL template and register it as a sub template and reference it from your main template. This is especially useful if you are going to need the same function across multiple templates.
    My problem was why I can´t use XSL-FO - XML in XMLSPY, have´nt anybody tried to go out of the WORD-RTF and code som XSL? Maybe it´s not possible and I have to use WORD-RTF.
    /Daniel

  • XML Publisher and Faxing?

    Although I would have thought that the use of fax for document distribution was on the decline it seems to have come up quite frequently lately.
    If you are planning on exploring the use of XMLP or are currently using it how important is the ability to automatically fax the output of a report?

    In our business, a significant number (~30%) of our business partners ONLY communicate via telco (i.e. voice, fax); so we need the agility to communicate in the partners "best available method" (i.e. voice, fax, e-mail, XML, EDI), ideally with a dream of "seamless transposition" to fail-over methods as communication methods can and do fail. Right now, I would love just to have XML Publishing available in my 8.9 Citrix environment! While it adds to the business case for upward migration, it also acts as a boat anchor since we have invested a bunch of effort to make this work in JDE environments that do not support XML Publisher.

  • XML Publisher and Business user

    Hello All,
    in XML publisher, business user has to have the SQL query to build the template if there is no XML data file. Is there any way to hide the query from the user?
    Thanks and Regards

    No answers???
    Please advice

  • XML Publisher and namespace

    I´m using XML Publisher 5.5 with Template Builder. I have created an RTF document that works perfect with XML Publisher. I now want work more complicated with my template using XSL. I have through Template Builder created an XSL-FO style sheet.
    I open the xsl-doc in XMLSPY, assinging an xml-doc and try to preview expecting the result to be the same as using Template Builder but the layout gets all messed up and I get an error that says that the namespace xmlns:xdofo="http://xmlns.oracle.com/oxp/fo/extensions" is invalid.
    The complete start tag:
    <xsl:stylesheet version="2.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:ora="http://www.oracle.com/XSL/Transform/java/"
    xmlns:xdofo="http://xmlns.oracle.com/oxp/fo/extensions"
    xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions"
    xmlns:xdoxliff="urn:oasis:names:tc:xliff:document:1.1">
    Does anybody know where I should point my namespace or what I´m doing wrong?
    Regards,
    Daniel

    I know what I can do in RTF and maybe it´s enough:
    1. Ensure you are using both tabs of the help text, you can start in Status Bar and continue with Help Key.
    2. You can also use multiple fields one after another.
    3. If you fill all of that and need more space I would consider moving the function out into its own XSL template and register it as a sub template and reference it from your main template. This is especially useful if you are going to need the same function across multiple templates.
    My problem was why I can´t use XSL-FO - XML in XMLSPY, have´nt anybody tried to go out of the WORD-RTF and code som XSL? Maybe it´s not possible and I have to use WORD-RTF.
    /Daniel

Maybe you are looking for