Establishing Database connection for XML Data Definition?

I have a XML Data Definition which will query data from Oracle Database.
I did some research and tried few setting options in JDeveloper (11g), but had no luck on finding a way to connect to Database.
My goal is to use JDeveloper to run a XML Data Definition against Database and generate a XML File with data.
Can this be done?
Data Definition:
<?xml version="1.0" encoding="WINDOWS-1252"?>
<dataTemplate name="XX_ATT_VALIDATION" description="description"
dataSourceRef="MTS-AT"
version="1.0">
<properties>
          <property name="include_parameters" value="false" />
          <property name="include_null_Element" value="true" />
          <property name="include_rowset_tag" value="false" />
</properties>
<parameters>
          <parameter name="p_batch_id" dataType="character"/>
</parameters>
<dataQuery>
     <sqlStatement name="Q_HEADER_VALUES">
          <![CDATA[
select distinct
sci.bill_cycle,
to_char(sci.bill_date,'mm/dd/yyyy') bill_date,
to_char(sysdate,'mm/dd/yyyy') report_run_date
               from st_cm_interface sci
               where sci.record_type='05'
               and sci.batch_id=:p_batch_id
          ]]>
</sqlStatement>
<dataStructure>          
     <group name="G_HEADER_VALUES" source="Q_HEADER_VALUES">
<element name="bill_cycle" value="bill_cycle"/>
<element name="bill_date" value="bill_date"/>
<element name="report_run_date" value="report_run_date"/>
</group>
</dataStructure>
</dataTemplate>

Hi,
Consider there is 2 database, Oracle_1 and Oracle_2.
I want to fetch some table data in Oracle_2 from Oracle_1 database Stored procedure/functions through query staments and cursors. How to establish the Oracle_1 DB connection in Oracle_2 DB stored procedure/function. Is it possible?
It's not the same how you implement the programs in java or .Net to create DB connection. It's different over here. You have use the DataBase Links in order to make to connection with another DB and use that Link in the stored procedure or function where ever its necessary as per your requirement.
- Pavan Kumar N

Similar Messages

  • Customize AP Trial Balance XML Data Definition for adding Aging Buckets

    Hi
    I have to customize AP Trial Balance Report XML Data Definition Template for adding Aging Buckets & Supplier details in R12 , Could you let me know how i can modify XML file?
    Thanks
    Pravin

    Hi,
    My requirement is different from the one which is in below link.
    I need to add Aging Buckets & Supplier details to AP Trial Balance report (R12) , here i need to modify the XML Data definition template.
    Please help me, very urgent.
    Thanks
    Pravin

  • Using Oracle Designer for XML Message Definition

    Knowing what a great advantage it is to have all my data definitions in one place (Deigner Repository) I was wondering if anyone has had a go at using Designer for XML message definitions?

    Hello:
    Didnt know I will have my question almost ready:).
    Was wondering is it possible to have xmltyple column as data source, use xsl for transformation and then display as html or pdf? Also, how about css? Not sure if any of these would work. If anyone can give a reference, that would be great. What is the best way. My xml stored in the database in quite complex and may vary depending on different types of input parameters. Do I need to get a master that will have all valid elements and attributes - or - have dtd or xsd?

  • JDBC Adapter - Established database connection failed

    Hi Guys,
    we have installed the JDBC Adapter based on the How To Guide and we checked after the installation the  Libaries :Cluster --> Server --> Libraries --> com.sap.aii.af.jmsproviderlib and the box Box "JARs Contained" was filled.
    So in my point of view we have done everything right during the installation.
    Now the developer tested theJDBC Adapter and he comes back with following Error:
    Attempt to establish database connection failed with SQL error com.sap.aii.adapter.jdbc.sql.DriverManagementException: Cannot establish connection to URL "jdbc:microsoft:sqlserver://xxx.x.xx.xxx:1433; databaseName=CZZ03;":ClassNot FoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Do you have any ideas?
    Regards
    Markus

    Hello Markus,
    To install JDBC driver follow the how to guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
    Configuration of JDBC Adapter for SQL Server
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
    UserID and Password.
    If the connection is not working find the correct port number.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
    JDBC- X I -  R/3 Scenario
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Thanks,
    Satya Kumar
    Reward Points If it is Useful..

  • Error while passing date parameter to the XML data definition

    Hi All,
    I have developed a BI publisher report using XML data definition & RTF template.
    This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
    What we did ?
    Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
    Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
    Looking for any available solution for the same.
    Thanks.

    Hi All,
    I have developed a BI publisher report using XML data definition & RTF template.
    This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
    What we did ?
    Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
    Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
    Looking for any available solution for the same.
    Thanks.

  • What's wrong in this XML Data Definition

    Can someone point out the mistake in this XML Data Definition??
    <?xml version="1.0" encoding="UTF-8"?>
    <datatemplate name="CASH_BREAKUP" description="cash_breakup" version="1.0" defaultpackage="">
    <parameters>
         <parameter name="p_date" datatype="date" />
         <parameter name="p_date2" datatype="date" />
    </parameters>
    <dataQuery>
    <sqlstatement name="query1">
    select apc.CHECK_NUMBER, apc.CHECK_DATE, apc.VENDOR_NAME, apc.BANK_ACCOUNT_NUM,
    apc.AMOUNT, case when xah.EVENT_TYPE_CODE = 'PAYMENT CANCELLED' then apc.AMOUNT*-1 else apc.AMOUNT end as Accounted,
    xah.EVENT_TYPE_CODE
    from XLA_AE_HEADERS xah,
    XLA_AE_LINES xal,
    XLA_EVENTS xae,
    xla.xla_transaction_entities xte,
    ap_checks_all apc
    where xah.AE_HEADER_ID = xal.AE_HEADER_ID
    and xae.EVENT_ID = xah.EVENT_ID
    and xal.ACCOUNTING_CLASS_CODE = 'CASH'
    and xte.ENTITY_ID = xae.ENTITY_ID
    and xte.APPLICATION_ID = 200
    and apc.ORG_ID = 81
    and apc.check_id = xte.SOURCE_ID_INT_1
    and xah.ACCOUNTING_DATE >= :p_date and xah.ACCOUNTING_DATE >=:p_date2
    </sqlstatement>
    </dataQuery>
    <datastructure>
    <group name="check" source="query1">
         <element name="CHECK_NUMBER" value="Check Number"/>
         <element name="CHECK_DATE" value="Check Date"/>
         <element name="VENDOR_NAME" value="Payee"/>
         <element name="BANK_ACCOUNT_NUM" value="Bank Account"/>
         <element name="AMOUNT" value="Check Amount"/>
         <element name="ACCOUNTED" value="Accounted"/>
         <element name="EVENT_TYPE_CODE" value="Status"/>
    </group>
    </datastructure>
    </datatemplate>
    I registered this XML data definition in EBS using XML publisher but the concurrent program completes with errors...!!!

    The problem persists, So i have attached the XML Data Definition & Log file as you requested.
    Many Thanks for the reply..!!
    <?xml version="1.0" encoding="UTF-8"?>
    <datatemplate name="CASH_BREAKUP" description="cash_breakup" version="1.0" defaultpackage="">
    <parameters>
         <parameter name="p_date" datatype="date" />
         <parameter name="p_date2" datatype="date" />
    </parameters>
    <dataQuery>
    <sqlstatement name="query1">
    select apc.CHECK_NUMBER, apc.CHECK_DATE, apc.VENDOR_NAME, apc.BANK_ACCOUNT_NUM,
    apc.AMOUNT, case when xah.EVENT_TYPE_CODE = 'PAYMENT CANCELLED' then apc.AMOUNT*-1 else apc.AMOUNT end as Accounted,
    xah.EVENT_TYPE_CODE
    from XLA_AE_HEADERS xah,
    XLA_AE_LINES xal,
    XLA_EVENTS xae,
    xla.xla_transaction_entities xte,
    ap_checks_all apc
    where xah.AE_HEADER_ID = xal.AE_HEADER_ID
    and xae.EVENT_ID = xah.EVENT_ID
    and xal.ACCOUNTING_CLASS_CODE = 'CASH'
    and xte.ENTITY_ID = xae.ENTITY_ID
    and xte.APPLICATION_ID = 200
    and apc.ORG_ID = 81
    and apc.check_id = xte.SOURCE_ID_INT_1
    and xah.ACCOUNTING_DATE &gt;= :p_date and xah.ACCOUNTING_DATE &lt;= :p_date2
    </sqlstatement>
    </dataQuery>
    <datastructure>
    <group name="check" source="query1">
         <element name="CHECK_NUMBER" value="Check Number"/>
         <element name="CHECK_DATE" value="Check Date"/>
         <element name="VENDOR_NAME" value="Payee"/>
         <element name="BANK_ACCOUNT_NUM" value="Bank Account"/>
         <element name="AMOUNT" value="Check Amount"/>
         <element name="ACCOUNTED" value="Accounted"/>
         <element name="EVENT_TYPE_CODE" value="Status"/>
    </group>
    </datastructure>
    </datatemplate>
    Error Log File
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    CASH_BREAKUP3 module: Cash Account Breakup
    Current system time is 15-MAY-2013 09:34:28
    XDO Data Engine Version No: 5.6.3
    Resp: 20420
    Org ID : 81
    Request ID: 433616
    All Parameters: p_date=01-FEB-13:p_date2=28-FEB-13
    Data Template Code: CASH_BREAKUP3
    Data Template Application Short Name: XDO
    Debug Flag: N
    {p_date=01-FEB-13, p_date2=28-FEB-13}
    Calling XDO Data Engine...
    [051513_093433589][][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:334)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:266)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:140)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:231)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
         at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
         at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1801)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:331)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    42
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 15-MAY-2013 09:34:33
    ---------------------------------------------------------------------------

  • How to use XML data stored in table column in XML Data Definition

    Hi,
    We are using BIP 5.6.3 (Oracle EBS R12).
    We have a table which stores XML data in a column. Is there a way we can use this XML data through a SQL query in XML Data Definition of BI Publisher report instead or writing whole SQL query to fetch same data from Oracle EBS?
    Can some please provide a sample SQL query that we should use in Data Definition?
    Thanks!

    Mark,
    Thanks. This is exactly what I was looking for.
    After doing @Name in both places (SELECT and WHERE clause) it worked.
    Now I have one more question.
    There are multiple DIMENSION tags in my xml, and I want to see the NAME attribute values for all of those DIMENSIONs. The following query returns
    ORA-19025: EXTRACTVALUE returns value of only one node.
    Cause: Given XPath points to more than one node.
    Action: Rewrite the query so that exactly one node is returned.
    SELECT
    extractValue(value(x), '/AW/@Name') as "AW",
    extractValue(value(x), '/AW/Dimension/@Name') as "DIMENSIONS"
    from
    OLAP_AW_PRC,
    table(xmlsequence(extract (xmltype(AW_XML_TMPL_VAL), '/AWXML/AWXML.content/Create/ActiveObject/AW'))) x
    where
    extractValue(value(x) , '/AW/@Name') = 'OMCR4'

  • Establish Database connection to connect to OEM Repository from Agents

    I have a requirement to establish Database connection from Agent through Plug-in.
    Ex:
    My plug-in metadata will have a perl script which gets executed in each individual agents and it should connect to the OEM Repository database to execute a package.
    Your Help is Appreciable.

    You would have to take in all of the information needed to connect to the database as instance properties for your target type. So each time someone creates an instance of your target type, they'd have to enter the connection details for the repository database.
    The specifics of what are needed should be in the extensibility guide where the SQL fetchlet is documented.

  • How we build Java Database Connectivity for Oracle 8i Database

    Can any one send me a sample code for Java Database Connectivity for Oracle 8i Database
    it will be a grat help
    Thanks & Regards
    Rasika

    You don't need a DSN if you use Oracle's JDBC driver.
    You didn't read ANY of the previous replies. What makes you think this one willk help? Or any instruction, for that matter?
    Sounds like you just want someone to give it to you. OK, I'll bite, but you have to figure out the rest:
    import java.sql.*;
    import java.util.*;
    * Command line app that allows a user to connect with a database and
    * execute any valid SQL against it
    public class DataConnection
        public static final String DEFAULT_DRIVER   = "sun.jdbc.odbc.JdbcOdbcDriver";
        public static final String DEFAULT_URL      = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\\Edu\\Java\\Forum\\DataConnection.mdb";
        public static final String DEFAULT_USERNAME = "admin";
        public static final String DEFAULT_PASSWORD = "";
        public static final String DEFAULT_DRIVER   = "com.mysql.jdbc.Driver";
        public static final String DEFAULT_URL      = "jdbc:mysql://localhost:3306/hibernate";
        public static final String DEFAULT_USERNAME = "admin";
        public static final String DEFAULT_PASSWORD = "";
        /** Database connection */
        private Connection connection;
         * Driver for the DataConnection
         * @param command line arguments
         * <ol start='0'>
         * <li>SQL query string</li>
         * <li>JDBC driver class</li>
         * <li>database URL</li>
         * <li>username</li>
         * <li>password</li>
         * </ol>
        public static void main(String [] args)
            DataConnection db = null;
            try
                if (args.length > 0)
                    String sql      = args[0];
                    String driver   = ((args.length > 1) ? args[1] : DEFAULT_DRIVER);
                    String url      = ((args.length > 2) ? args[2] : DEFAULT_URL);
                    String username = ((args.length > 3) ? args[3] : DEFAULT_USERNAME);
                    String password = ((args.length > 4) ? args[4] : DEFAULT_PASSWORD);
                    System.out.println("sql     : " + sql);
                    System.out.println("driver  : " + driver);
                    System.out.println("url     : " + url);
                    System.out.println("username: " + username);
                    System.out.println("password: " + password);
                    db = new DataConnection(driver, url, username, password);
                    System.out.println("Connection established");
                    Object result = db.executeSQL(sql);
                    System.out.println(result);
                else
                    System.out.println("Usage: db.DataConnection <sql> <driver> <url> <username> <password>");
            catch (SQLException e)
                System.err.println("SQL error: " + e.getErrorCode());
                System.err.println("SQL state: " + e.getSQLState());
                e.printStackTrace(System.err);
            catch (Exception e)
                e.printStackTrace(System.err);
            finally
                if (db != null)
                    db.close();
                db = null;
         * Create a DataConnection
         * @throws SQLException if the database connection fails
         * @throws ClassNotFoundException if the driver class can't be loaded
        public DataConnection() throws SQLException,ClassNotFoundException
            this(DEFAULT_DRIVER, DEFAULT_URL, DEFAULT_USERNAME, DEFAULT_PASSWORD);
         * Create a DataConnection
         * @throws SQLException if the database connection fails
         * @throws ClassNotFoundException if the driver class can't be loaded
        public DataConnection(final String driver,
                              final String url,
                              final String username,
                              final String password)
            throws SQLException,ClassNotFoundException
            Class.forName(driver);
            this.connection = DriverManager.getConnection(url, username, password);
         * Get Driver properties
         * @param database URL
         * @return list of driver properties
         * @throws SQLException if the query fails
        public List getDriverProperties(final String url)
            throws SQLException
            List driverProperties   = new ArrayList();
            Driver driver           = DriverManager.getDriver(url);
            if (driver != null)
                DriverPropertyInfo[] info = driver.getPropertyInfo(url, null);
                if (info != null)
                    driverProperties    = Arrays.asList(info);
            return driverProperties;
         * Clean up the connection
        public void close()
            close(this.connection);
         * Execute ANY SQL statement
         * @param SQL statement to execute
         * @returns list of row values if a ResultSet is returned,
         * OR an altered row count object if not
         * @throws SQLException if the query fails
        public Object executeSQL(final String sql) throws SQLException
            Object returnValue;
            Statement statement = null;
            ResultSet rs = null;
            try
                statement = this.connection.createStatement();
                boolean hasResultSet    = statement.execute(sql);
                if (hasResultSet)
                    rs                      = statement.getResultSet();
                    ResultSetMetaData meta  = rs.getMetaData();
                    int numColumns          = meta.getColumnCount();
                    List rows               = new ArrayList();
                    while (rs.next())
                        Map thisRow = new LinkedHashMap();
                        for (int i = 1; i <= numColumns; ++i)
                            String columnName   = meta.getColumnName(i);
                            Object value        = rs.getObject(columnName);
                            thisRow.put(columnName, value);
                        rows.add(thisRow);
                    returnValue = rows;
            else
                int updateCount = statement.getUpdateCount();
                returnValue     = new Integer(updateCount);
            finally
                close(rs);
                close(statement);
            return returnValue;
         * Close a database connection
         * @param connection to close
        public static final void close(Connection connection)
            try
                if (connection != null)
                    connection.close();
                    connection = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a statement
         * @param statement to close
        public static final void close(Statement statement)
            try
                if (statement != null)
                    statement.close();
                    statement = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a result set
         * @param rs to close
        public static final void close(ResultSet rs)
            try
                if (rs != null)
                    rs.close();
                    rs = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a database connection and statement
         * @param connection to close
         * @param statement to close
        public static final void close(Connection connection, Statement statement)
            close(statement);
            close(connection);
         * Close a database connection, statement, and result set
         * @param connection to close
         * @param statement to close
         * @param rs to close
        public static final void close(Connection connection,
                                       Statement statement,
                                       ResultSet rs)
            close(rs);
            close(statement);
            close(connection);
    }%

  • JCO connection for Meta Data fails

    Hi,
    I have installed the WebAS Preview version with SP9.  I had installed it once and had succesfully configured the JCo connection to my R/3 system.  After I re-installed the WebAS after a <i>system format</i>, I have configured the <b>JCo for both model & metadata</b>.  Both are configured to connect to the <b>same R/3</b> sytem with the same user/password combination.  But the JCo connection for model data pings and test come OK.  But the one for <b>metadata fails</b> (ping as well as test).
    I have tried creating more JCo connections with different names, but again the model one works, but not the metadata one.
    Can anyone figure out why this is happening?
    Regards,
    Sumith.

    Hi,
    The error that I get when testing the JCo connection is:
    <i>com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=ltilsap GROUP=PUBLIC R3NAME=LTI MSSERV=sapmsLTI PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       service 'sapmsLTI' unknown TIME        Fri Jan 21 16:37:40 2005 RELEASE     640 COMPONENT   NI (network interface) VERSION     37 RC          -3 MODULE      ninti.c LINE        494 DETAIL      NiPGetServByName2: service 'sapmsLTI' not found SYSTEM CALL getservbyname_r COUNTER     1</i>
    and when I ping it gives:
    <i>Failed to ping JCo destination 'LTI_WDMETADATA_DEST'.</i>
    But the connection for model data works perfectly for the same set of configuration.
    Thanks & Regards,
    Sumith

  • BI Publisher creating two database connection for scheduler configurations

    Hi ,
    please tell me how to create two database connection for scheduler configurations in BI Publisher
    ADMIN -> scheduler configurations
    Kind Regards,
    Mohan

    Hi Saichand,
    thank you for your Kind reply !!!!
    Already i configured the scheduler configuration(DB) details for project1.Now i want to configure one more scheduler configuration(DB) for project2.
    i want to maintain two scheduler config details for two DB.
    Kind regards,
    Mohan

  • Try to connect oracle in portal 4.0 and cannot create database connection for the realm

    hello,
    i have try to use the method in configuring Weblogic Portal for Oracle Database.
    I have made all with no problems
    but when i stop and i start the weblogic portal i have this error
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSException
    : An error occured creating a database connection for the realm.]
    Any one have a solution? Thx!

    Jean-Philippe,
    This usually is due to a DB configuration issue. Check your RDBMS realm
    username, password and driver properties. Check your database is running and
    have enough Connection free.
    Sincererly,
    Daniel Selman
    "jpmeert" <[email protected]> wrote in message
    news:3c88e867$[email protected]..
    >
    hello,
    i have try to use the method in configuring Weblogic Portal for OracleDatabase.
    >
    I have made all with no problems
    but when i stop and i start the weblogic portal i have this error
    java.lang.IllegalAccessError:Exception[com.bea.p13n.security.realm.RDBMSException
    : An error occured creating a database connection for the realm.]
    Any one have a solution? Thx!

  • Incorrect MIME type for XML Data Connection POST requests

    It appears that Xcelsius 2008u2019s XML Data Connection logic does not specify the correct MIME type for the data it sends to the server in its POST request.  Using an HTTP debug proxy, I was able to see that Xcelsius sends XML data in the POST, but is setting a content-type of u201Cx-www-form-urlencodedu201D.  According to the W3C spec:
      http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1
    Data sent with a MIME type of u201Cxxu201D should be encoded as key?value pairs, like this:
      key1=val1&key2=val2&Submit=Submit
    So, what Xcelsius is doing is clearly incorrect.  Worse, if your server process is a Java servlet, you may find that the POSTed data will be gobbled up by the servlet container and you wonu2019t be able to read it using a getInputStream(), or getReader() call because itu2019s already been processed by a call to the getParameter() method.
    The correct mime type for POSTing an XML formatted request from Xcelsius should be "text/xml".
    Wayne

    Hi,
    The Error #2032 your getting is due to the Flash player security.
    To remove this this error you need one crossdomain Xml file in the root directory which actually provides a lot more control over who has access to your data from a SWF. The cross domain policy is attached as crossdomain.xml.
    In the XML file, it is used a wildcard (*). This allows a SWF located on any machine to access your data source. You can certainly use an IP address or domain name to restrict access rather to opening it up completely. I always start with the wildcard to make sure my dashboard works, then start restricting access as necessary.
    Here is a whitepaper with everything you need to know about Flash player security:
    http://www.adobe.com/devnet/flashplayer/articles/flash_player_9_security.pdf
    Please let me know if you need any more clarification.
    Regards,
    Sanjay

  • Try to use dynamic sql connection for additioal data for xml publisher

    I understand that the xml publisher is using template to merger the xml data output (say from Oracle report).
    We have some Oracle seeded report and do not wish to modify these report, but we do need to add additional data to these reports. In the past, the tool we used has the capability to make dynamic sql calls to get these additional data. Can this be achieved in xml publisher?
    I did noticed that the template builder has two options for upload data source: from a data file or from a sql connection, but seems they can not be used together. Not much document I can find for this. Thank you in advance for your help.
    Frank

    Hi All,
    Sandeep: if u have the solution pls send to my email id [email protected]
    ill really appriciate u r response.
    I have the same requirement to develop AR Invoice Report in XML publisher, actually it was developed using Optio Layout.my issue is the actual AR Invoice RDF contains 20 records and it showing the 20 recodes when we run that program (concurrent program output) after that while printing this report uisng the OPTIO layout (The Optio system is fetching some more records (10 records)) it printing total 30 records. i mean here the OPTIO is handling some pl/sql code i guess..
    so now how we can handle this requirement using XMLP.I am using RTF Templates with 5.6.2 v. Is it possible to do the same manner how the OPTIO was doing. Is this possible with any other Templates ?. or we need to customize the RDF itself ? .but I know that I can go ahead and modify the existing out-of-the-box report, but I do not want to do that. I do not have control over the XML that is generated since the XML is generated when the report is run. Is there any way to retrieve the extra information AFTER the xml has been generated and BEFORE the template is applied ?
    Thanks,
    Rad

  • R12 Check Printing Need XML output for seeded data definition--urgent

    Hi--
    I really need to get ahold of the XML output from the checks running off the data definition called "Oracle Payments Funds Disbursement Payment Instruction Extract 1.0" in Oracle R12 quickly--particulary the XML tag that holds the MICR string (should be the concatenation of Check Number, Routing and Acct number).
    I found an entry here in the forums about running a query of:
    SELECT XMLType.getClobVal(instruction)
    FROM IBY_XML_FD_INS_1_0_V
    WHERE rownum =1 ;
    to get the entire XML output. I have an open SR but haven't really gotten anywhere with it yet.
    However, all we get back is an error about datatype. Could someone please help out with this--it is quite urgent as I need to finish this last piece of the checks and work with the bank on formatting this week.
    Thanks--I'd really appreciate any assistance!
    Kate

    SELECT XMLType.getClobVal(instruction)
    INTO x_extract_doc
    FROM iby_xml_fd_ins_1_0_v
    WHERE payment_instruction_id = p_payment_instruction_id;
    or you can use
    SELECT document FROM iby_trxn_documents order by creation_date desc;
    provided that the last run was urs.

Maybe you are looking for

  • IPhoto 11 just quit working properly. Please help.

    I don't know what to do. It gets hung up I guess you could say and won't do much of anything. For instance, I always look at my pics by clicking on one and then use the right arrow on my keypad to get to the next one. Now when I try that, the first p

  • Disable Auto-Rotation in OCR Process (Acrobat 9 Pro)

    Is there a way to disable the auto-rotation step as part of the OCR process? I have documents which I assemble in from images of tables. (If I had acces to the text of the tables, I wouldn't be using images of them). I place each screenshot in the co

  • 9iAS Release 2 (some) components don't start

    Component that don't start (Forms, DAS, ...) In oidmon.log is ... 2002/12/06:12:11:34Failed to fetch Process Table. ORA-12571: TNS:packet writer failure 2002/12/06:12:11:34Error connecting database. 12571 2002/12/06:12:11:34Error : Guardian Process t

  • Catalyst 4500 Ethernet and fibre channel passthru

    dear sir, anyone have any idea / documentation showing that the belows device 1.) & 2.) can support Ethernet and fibre channel passthru ? thanks. 1.) WS-X4424-GB-RJ4 (Catalyst 4500 24-port 10/100/1000 Module (RJ45) 2.) WS-X4306-GB (Catalyst 4500 Giga

  • Updating Multiple Tables

    Hi All, Is there any way to update multiple tables in a single query. I know we can write triggers. Apart from triggers, is there any other way available in SQL Server. I am using 2008R2.