Labview 7.1 integrating XML
Hello,
We are currently trying to call standard XML documets / processes with Labview 7.1. We are trying to call the XML document directly without additoinal middleware, but continue to receive the error messages below?
Could you provide some advsie or documentation on how we should proceeed with this integation?
** Note: If we upgraded to Labview version 8.2** we are able to directly connect to external XML sources with ease. But since we have extensive amount of processes already in Labview Version 7.1 --> We would like to integrate them to realize the integration process enhansemnts sooner before we deploy Labview 8.2 world wide.
We keep getting the below error when trying to use the wsdl. From what I understand so far, Labview has a .Net Web Services import wizard that automatically creates a dll based on the wsdl xml that I can then use in my code. But the wizard gives the below error?
Create C# Code .vi
Virtual Instrument
- LabVIEW does not have references to the following .NET assemblies used by this VI:
mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Please add references to those assemblies by selecting "Tools>>Advanced>>.NET Assembly References" before editing the VI.
Generate Assembly.vi
Virtual Instrument
- LabVIEW does not have references to the following .NET assemblies used by this VI:
System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Please add references to those assemblies by selecting "Tools>>Advanced>>.NET Assembly References" before editing the VI.
Read Service Description.vi
Virtual Instrument
- LabVIEW does not have references to the following .NET assemblies used by this VI:
System.Xml, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Web.Services, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Please add references to those assemblies by selecting "Tools>>Advanced>>.NET Assembly References" before editing the VI.
Pleaes help with any informatoin that you may have to utilze Labview 7.1 and connect to external systems using standard XML language.
Ed987 wrote:
From what I understand so far, Labview has a .Net Web Services import wizard that automatically creates a dll based on the wsdl xml that I can then use in my code.
Where did you see that?
Are the VIs refered to there yours or NI's?
I know that 8.2 can work with web services, but not 7.1. In 7.x, you have two requirements for using a .NET DLL - you need to place it in the same directory as the top level VI and you need to register it in Tools>>Advanced>>.NET Assembly References. The registering does nothing other than tell LV where it should take DLLs it knows about from. It can work even if you don't register.
P.S. 7.1 has a problem with .NET where you drop a constructor and it hangs. There should be a patch for that.
P.P.S. What do you mean by
We are trying to call the XML document directly without additoinal middleware
To me, this implies that you're trying to manipulate the string yourself or using LV's XML primitives (which won't work), but this is clearly not the case, since you're using .NET.
If you're trying to use MSXML, you can find some implementations around, like LabXML or by searching the LAVA forums.
Try to take over the world!
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
SruthiThe 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,
MyvizhiHi 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 -
Integration.xml (Integration points)-Org Chart & other components!
Hi Luke,
Was just looking at file 'Integartion.xml' directly under my build in org charting & found that it is talking about OCI views like (a) ZNAK_OCI_O2O (b) ZNAK_OCI_O2OP & (c) ZNAK_OCI_O2S. But was not able to find the same in OADP config. My question is:
1) What is the purpose of Integration.xml?
2) Why these views are not availaible in config?
3) why this file is not availaible in Succession Planning?
Reason, why I am looking for these answers is because I was trying to find integartion points between SAP & Nakisa and how Nakisa s pulling data from SAP through different files & views & evaluation paths!
Regards,
PrashantHi Prashant,
You should check out views V_TWPC_V_C and V_TWPC_ORGVW in SM31 to see the organizational views mentioned below. Basically, this is quite an in-depth topic. The solutions use various ways to retrieve data from SAP and these vary from application to applicaiton. These include:
- NakisaRFC (using /NAKISA/ namespace functions that come in the ABAP Add-on)
- SAP BAPIs accessed through application classes (such as HRTMC_GET_POSITION_ATTR in SuccessionPlanning) that might also have the data transformed during handling
- Customer SAP BAPIs
The intregration classes come in 2 types; those that were "ported" over from the .NET version and those that were created for the Java version. Those created for the Java version are defined in the integration.xml and don't exist for all applications.
Some integration classes use SAP tables, others use evaluation paths and others just pull data based on the ID passed. It really depends on each type and the only way to get a good idea is to look through the different data elements for each application.
That is quite high-level, but I hope it helps.
Best regards,
Luke -
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 -
"labview dsp test integration for TI dsp": not available
hi
i have been trying to locate this particular toolkit "labview dsp test integration for TI dsp",but it gives me error "no content available. i have been refering to this particular book that guides on how to use labview with TI dsp.
check chapter 9,section 2(ie 9.2).
http://books.google.co.in/books?id=f-rFsAwd3TAC&q=TMS320C6173#v=onepage&q=TMS320C6173&f=false
http://digital.ni.com/public.nsf/allkb/305E2B0DA391CD4786256D0C006EE31C
but i was goin through i found that this toolkit is maybe not anymore supported by NI.can some one plz let me know on how to interface my TI dsp like TMSC6713b etc nd burn progm on it using labview.Debarati,
I did some more research into your issue and found out that unfortunately, NI no longer officially supports the DSP Test Integration Toolkit as seen here: http://zone.ni.com/devzone/cda/tut/p/id/5839
I also see that you located our example VI here http://zone.ni.com/devzone/cda/epd/p/id/4311 and that the VI asked you for a .pjt file that you could not locate in CCSv4. Being that we no longer support the DSP Test Integration Toolkit, your next course of action would be to contact TI and inquire what .pjt file corresponds to in the newest version of CCS. I hope TI can be of more help to you with this issue since, as I said before, we no longer support this toolkit.
My apologies,
Larry H
Applications Engineer
National Instruments -
NI LabVIEW DSP Test Integration Toolkit
hello.... i am 3rd year electrical engineering student @ RVCE banglore India, and i am doing a project on low power MP3 players using LabVIEW as a development platform and i have the support of DSK 6713 DSP kit by TI in my Dept Lab... but as a student i can't afford NI LabVIEW DSP Test Integration Toolkit for the interfacing of LV with DSP.. so.. if somebody is having NI LabVIEW DSP Test Integration Toolkit, i request them to kindly give me that software which is absolutely required for the completion of my project... thanks in advance...
Hey Saha,
We're really glad that you are interested in the DST toolkit, however, it is inappropriate for you to request that someone upload a piece of software that cost money. This is the equivalent of asking someone to do something illegal for you. That having been said, your school may have the software already. I would contact [email protected] to see if your school has a license.
Chris C
National Instruments
Chris Cilino
National Instruments
LabVIEW Product Marketing Manager
Certified LabVIEW Architect -
How to create a feedback control system in labview with an integration block?
Hallo,
I design a model of a simple mechanic system composed by one damper, one mass and one spring.
I would simulate a free response of this mechanic system, but I don't be able to integrate the mechanic state in Labview.
Seeming that the integration block in LabView produce a wrong answer.
I've attached this model create in Labview 8.2.1.
Thanks in Advance
Michele
Attachments:
Sistema dinamico6.vi 462 KBMichele,
First of all, when you are trying to develop a Dynamic Simulation, I strongly recommend that you use the LabVIEW Control Design and Simulation Module (http://sine.ni.com/nips/cds/view/p/lang/en/nid/203826), or, for LabVIEW 8.2.1, the LabVIEW Simulation Module. They allow you to develop your dynamic simulation natively in LabVIEW, specially in the case that you have feedback loop in your code (which is your case).
Now, looking at your program, I have several recommendations that would help you to better control your simulation. First, avoid using the Dynamic Datatype (Blue wire) in you simulation. For example, you are generating a Waveform inside the loop and you are just getting one element of the first batch. Probably, you want to generate only one element per iteration of the while loop and apply that to your equation. If that is the case, you should remove the "Simulation Signal" express VI and use the Point-by-point VI (located at Signal Processing Pallette). There you can also find an integration VI that allow you to define the sampling time for your application.
Also, the feedback node that you are using will introduce one sampling time to your simulation, which mean that, if your simulation and equations are not correctly setup to take that into account, your simulation will be incorrect. If you were using the Simulation Module, it would take care for your to do the correct integration, additional to allow using different solvers (like RK 4-5) to reduce the error on the integration.
Hope this helps. Let me know if you have more questions.
Barp - Control and Simulation Group - LabVIEW R&D - National Instruments -
LabVIEW Programmer – Enable Integration
Enable Integration (a division of Enable Training and Consulting, Inc.) is seeking a LabVIEW programmer to join our integration team and immediately be a core part of several projects. Today, we are a team of 20 employees and have a diverse range of clients: Bosch-Rexroth, FIRST Robotics, University of Waterloo, LEGO Education, National Instruments, and Solid Works.
We are a dynamic employer with a flexible working environment and atmosphere. Our integration team specializes in consulting and providing custom hardware and software solutions for test, measurement & automation applications for worldwide clients in a variety of industries. Our team has over 65 years combined programming experience and have worked on projects both large and small, and have recently been recognized as a National Instruments Alliance Partner with exceptional technical resources at NIWeek 2013. Please visit www.enabletc.com for more information about the company.
Duties & Responsibilities:
We are looking for a self-motivated LabVIEW programmer who will excel in a fast-paced consulting environment, will excel to meet deadlines and ensure the success of our customers. We are looking for someone who has recent experience developing application using LabVIEW.
Your primary efforts will encompass all stages of software engineering application design, including:
Requirement definition and gathering, Specification writing
Systems Design & Architecture
Algorithm development
Documentation (Code and Project Management)
Unit, Functional, Validation & Verification Test
Deployment & Application Support
This is a full-time position and candidates will be expected to work out of our Milton, Ontario head office.
Desired Skills & Experience
4-year technical degree, or 3-year technical diploma from accredited colleges or universities
Experience programming hardware and/or software applications using LabVIEW
CLAD/CLD/CLA certifications are an asset
Discipline and organization with respect to software maintenance and version management
Experience with source code control & source configuration management tools a plus (TortoiseSVN ideal, however will consider applicants with working knowledge of Perforce, ClearCase etc.)
Strong troubleshooting and debugging skills
Understanding of basic signals and systems concepts
Sensors and actuators
Analog and digital signals
Data acquisition concepts and hardware
Communication protocols
Ability to work both alone and with colleagues to solve problems and to weigh the merits of differing approaches
Self-motivated team player
Effective time management
Strong written skills in English
Code documentation, Project management & Progress Reports
Team communication/updates
Immediately eligible to work in Canada at time of application
Pay is commensurate with skills and qualifications of the applicant.Kindly specify the email address to apply to for the mentioned job
-
Dreamweaver and Database Integration - XML. Windows 7
Hi
Looking to see where the bounds of where Dreamweaver can assist me.
I am looking to use Dreamweaver to develop a site that will need to manage the import of an xml feed from an external site to a database and then split some of the data to xslt for display and some of the other to R studio to calculate and create statistical analysis to be brought back to the website for display as calculate and graphical.
Can Dreamweaver help much with handling data and queries or is there another adobe program that will assist with that as well?
Most of the sites I create will be data intensive and while I can code websites I was looking to speed that section up to allow more time for data analysis.
SaythWhen you say Windows 7, do you mean Windows Server 2008 R2? Or are you talking about your development computer OS?
Dreamweaver is essentially an HTML editor that has website management features. The project you describe requires back-end programming with a language like PHP, RUBY or ASP.NET.
You don't mention which kind of server you are working with (Microsoft or LINUX) or what programming language you intend to work with.
You can write PHP, javascript and ASP code in the Dreamweaver code editor, and DW will do some pretty good syntax checking, but DW is not a real IDE (integrated development environment) for any language except HTML. Also, although you can edit XML in Dreamweaver, there are other environments that work with XML better.
So the short answer to your question is: yes, Dreamweaver could probably be used as your only (or primary) environment for building such a website, but that doesn't necessarily mean it's the best choice. But since you have not given us info about your server environment and programming language of choice, this is about all we can say. -
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 -
Weblogic Integration : xml message for event node in a workflow
Hello,
I have the following queries for weblogic 7.0 BPM workflows with event nodes:
1) How does weblogic server choose that an xml message should be delivered to
what all workflow instances, as the xml event does not carry any information regarding
the workflow instance or event node?
2) When an XML message is received, but there are no eligible consumers (workflow
instances) then what happens to the message, is it discarded?
3) Suppose an xml message comes for an event node even before that event before
has been reached in the workflow instance, ie, the event node has not been activated
yet. Is the message persisted to be delivered for processing when the event node
gets activated or is it discarded?
Please reply at an earliest.
Thanks,
ParulHi,
Based on your description what I felt is you are making use of a wait step in which you have choose to wait till BUS2078 event CREATED is occured ... right.. Now can you please clear me that where and how this event will triggered.
or is it some thign like you are making use of event creator step and in this case, When ever you are making use of the eventcreator step and a BOR object inside it make sure that specific BOR object is already instatitaed in the workflow container , if it is instantiated then only it will try to identify the instance or the BOR and it will try to rasie the event.
Regards
Pavan -
Service Integration: XML File Input
Hi, experts,
I am having this error while mapping the XML File Schema onto the EXCEL.
Please tell me what is the problem.
Regards,
May T.Hi, Tim,
Thanks for your reply.
I created a custom BO.That contains
[AlternativeKey]element BonusPlanID:ID;
element BonusPlanID2:ID;
element EmployeeID:EmployeeID;
And I created a ServiceIntegration from that BO.
I got a PID file for that. When I activated it, I got an xsd file.
When I open that xsd file in the Excel(Developer-->Source-->XML maps), it is giving me such error.
Regards,
May T. -
Labview and solidworks integration
Hello!
I'm currently working on a project where we want to connect our logisticsprogram to a solidworksmodel to simulate how it would look in real life. Couse labview only controls the motors in the solidworks assambly I have to use 3d contact to lift a pallet with a forklift. 3d contact simulates two solids that works like in real life. When I run the simulation in Solidworks the contact works just fine after some settingproblem, but when I'm trying to do tha same movement with my labview testprogram the model seems to ignore the settings I just made and does not get a smooth movement. Se for your self in the video below.
http://dl.dropbox.com/u/18102757/Jobb/Forklift%20failure.wmv
For more details what the settings where and better description of the project visit my solidworks fail thread:
https://forum.solidworks.com/thread/45681?tstart=0
/Robin Suonvierihow i can generate a wave and release this wave to the air for noise
-
Labview Numeric control integration with C++
Hello all,
I am trying to use a Numeric control called "Meter" from labview in my
C++ application. I am able to load the Numeric Control called "Knob"
from the insert actvieX control option in VC++ but i am not able load
Numeric control called "Meter" which looks like a car speed meter. Can
any help!!
Thanks
Ritu> I am trying to use a Numeric control called "Meter" from labview in my
> C++ application. I am able to load the Numeric Control called "Knob"
> from the insert actvieX control option in VC++ but i am not able load
> Numeric control called "Meter" which looks like a car speed meter. Can
> any help!!
>
If you are inserting these as ActiveX objects, these aren't the LV
controls, but those of another NI product, Measurement Studio. I
believe that you can go to the properties of the knob and change its
display style to look like the meter.
If this doesn't work, you might want to post to the other mailing list
specific to MS.
Greg McKaskle
Maybe you are looking for
-
HOW TO GET THE DIVISION OF THE MATERIAL IN QUAESTION AS MANDATORY IN GR
HI FRDS, LEMME EXPLAIN MY SCENARIO. A MATERIAL IS USED IN 2 DIVISIONS A AND B.IN MM01, DIVISION IS MANDATORY. SO WE CAN ENTER ONLY ONE DIVISION.IN GR THE CORRESPONDING BUSINESS AREA IS ASSIGNED. BUT IF THE MATERIAL IS GOT TO BE PURCHISED FOR THE SEC
-
Vendor Balances not matching with GL
Hi All, I am taking Vendor Balances period wise for Debit balances in S_ALR_87012802 and comparing the amounts posted to the corresponding GL a/c. The balances are not matching and there is a huge difference in the totals. Kindly advise, as to how to
-
I can't locate any of my music on iTunes, even my purchased tracks have gone
All my music has disappeared from iTunes, even my purchased stuff & it has an explanation mark next to it. It says locate file but they are nowhere to be found in the iTunes or any folder. Also I can't play the missing tracks in the iTunes Store. Wha
-
HT5312 What if I can't remember my answers?
For my security questions
-
Validity Period of Business Partner in ECC 6.0
Dear Expert, How will change the validity period of Business Partner in ISU (ECC 6.0) At present date(Validity period) is ( from 01.01.0001 to 31.12.9999). But I want to change the date (Validity period) is ( from 01.01.2004 to 31.12.9999). Kindly su