Is it possible to call a BI publisher report from PL/Sql package and dump the data of a BI Publisher report to a oracle database table.
I have earlier used SOAP UI to call the BI Publisher report and dump data in oracle table .
But now I want to call the report from pl/sql package .
Anyone please help
Thanks in advance!!
You could write a Java class with a static method to do a SOAP call to your BI Publisher service, host that on your database, and use a Stored Procedure to execute the java function.
https://docs.oracle.com/cd/B19306_01/java.102/b14187/chthree.htm
You can then use the returned result in Java - create a JDBC connection into a table on your database, and insert the returned file from the SOAP call as a blob.
https://docs.oracle.com/javase/tutorial/jdbc/basics/connecting.html
Related
I configured the jndi datasource and connected to the Oracle database, now I want to call the existing procedure named exampleProcedure that is stored there to fetch the data. I found this stackoverflow question that may be related to my issue, but how to store the incoming data?
Need help in addressing one of the requirement.
Requirement is to call salesforce boomi api as an webservice from oracle trigger and I did implement it, but the problem here is, when the trigger gets fired, salesforce boomi reads oracle data thru oracle view and that view is not fetching any rows, but on oracle it fetches the rows, since there is no data returned from the oracle view on salesforce boomi, it is not writing any thing to saleforce, any recommendation.
Thanks,
Ramprasad.
I am working on an Azure Logic Apps integration which insert data into an on-premise Oracle Database.
I can successfully run the Logic Apps integration and insert the data into our Oracle table (a custom staging table).
I would like to run a truncate on that table before inserting the new data.
I added the Oracle - Execute a Oracle Query component and then provided the following query:
TRUNCATE TABLE .<TABLE_NAME>;
After deploying to Azure, the integration failed on the Execute a Oracle Query with error:
"message": "BadGateway",
"innerError": {
"status": 502,
"message": "Unable to find the requested .Net Framework Data Provider. It may not be installed.\r\n inner exception: Unable to find the requested .Net Framework Data Provider. It may not be installed....",
If I remove the Execute a Oracle Query component, the Oracle Insert row component works fine.
I am not sure why it says the gateway may not be installed. I suspect it's a badly trapped error message.
Is that how the Execute a Oracle Query is supposed to be used?
Otherwise, how can I execute the truncate or how can I debug this error message?
Thanks!
The Oracle Connector for Azure Logic Apps does not support DDL. The exception you are getting is the generic one in Azure Logic Apps. I honestly believe the exception handler module is not very reliable here, because it usually goes to the gateway issue when the problem has no relation whatsoever. However, you have the option to overcome this limitation by using a call to an stored procedure.
In Oracle
create or replace procedure pr_trc_table ( ptab in varchar2 )
is
begin
execute immediate 'truncate table '||ptab||' ' ;
exception when others then raise;
end;
/
This Oracle Connector developed by Microsoft has a lot of limitations, which is normal as they try to ensure you use their own Azure SQL Service.
When invoking a Stored Procedure on an Oracle server, we have the following limitations:
OUT parameters are not supported currently.
Return value is not available since Oracle Stored Procedure does not return any result.
Oracle Functions are not supported so they are not listed in the UI.
The response size limit is 8MB.
The request size limit is 2MB.
Oracle native query is supported with the following limitations:
RefCursor is not supported.
OUT parameters are not supported.
Only one result set can be returned.
Gateway version 3000.63.4 (October release) or later is required.
Minimum supported version for Oracle Data Access Client is version 11
Besides, if any oracle query or stored procedure execution time exceeds 110 seconds, the action will timeout. Insert and update to a table does not return the full item, it returns only the input properties for the operation. A Primary Key is required to get deterministic paging result for GetRows operation.
everyone, I have created a simple report app showing some data using Oracle Apex and I want to make it get Data from a server(FTP) through an Excel file and fill its tables automatically whenever I change the excel file, is it possible and if it is, how it can be done, thanks in advance.
I am not sure whether the way you said is possible or not.Just a suggestion,
Create the Report in Oracle Apex based on the Database table
Create a DB Procedure to insert the data into DB table from the Excel file
Create and Schedule a DB JOB which calls the DB procedure, to check the FTP frequently and load file into the table. So Users can see the updated data.
I have a WCF service that uses Microsoft Enterprise Library Logging to log some messages to the Event Log. That works just fine.
The problem is that i want to log some messages to a table in an Oracle database. I am using the Entity Framework to communicate with that Oracle database.
The next step is a right click on the 'web.config' and choose the option 'Edit Enterprise Configuration'. I get the 'Enterprise Library Configuration' editor. In there i am trying to set the Logging Settings so that it also logs to the database, but when i add a database trace listener it´s asking me to fill in a procedure name. Do i have to add a procedure name to fill the table in Oracle? The msdn tells me to run the script that create an MSSQL database 'Logging' and some tables. But i don't have an MSSQL server, i have an Oracle server. And i don't want to use a seperate logging database, but save the logs to a single table.
Can anybody help me with this?
Kind regards
The Enterprise Library Database Trace Listener uses 2 stored procedures to write to the database: Add Category Procedure and Write To Log Procedure.
There is a SQL Server script to create the tables and stored procedures. This would have to be ported to Oracle.
Unfortunately, it looks like this does not work as easily as you would hope. See the blog post, Enterprise Library Logging to Oracle Database (this is based on EntLib 3, I believe) and the work item Cannot log to oracle Database using logging blocks for a description of some of the issues as well as some downloads to help.