SOA - Database Adapter push data to BAM

I would like to create an SOA application to pull data from an Oracle Database and push it Oracle BAM.
In the past I've done this by using the "Polling for new or changed records in a table" from the Database Adapter to pull new data from the database. However, I wish to know if it is possible for me to somehow configure the adapter to execute a query on the database, grab the results and push them through the Mediator and onto the BAM adapter.
The main point here is that there is no Table or View on the database to supply the data. The data is created dynamically as a query result when / if the database adapter runs the query on the database.
This needs to happen periodically (as with the polling for changes method).
Is this possible?

Hi
I believe the below option will help you.
1.Create a BPEL process and inside that use the DB adapter to execute the query and fetch the data and push the same to BAM through the BAM Adapter.
2.Schedule the BPEL process with Quartz Scheduler(default option provided by Oracle BPEL) to run periodically as per your requirement.
Regards
Albin I

Similar Messages

  • Unable to import table using SOA database adapter in Jdev

    hi all,
    I am learning soa 11g development by myself which is quite exciting stuff.
    I am trying to build a simple flow to access database so I have dropped a database adapter in composite.xml and trying to configure the adapter.
    I have successfully tested the database connection within the adapter configuration wizard and can list the tables as well. But when I am selecting a table to import then I don't see any table imported in Step-5.
    It doesn't show me any error. I have tried with other tables and also with other databases but can't import the tables.
    Any advice will be appreciated.
    Oracle SOA Version11.1.1.4.0
    JDeveloper Version 11.1.1.6.0
    Thanks,
    Raj

    Hi Raj,
    You have to select the required tables and move it to the blank area on right side of your selection window by clicking the arrow button.
    cheers

  • Unable to import table using SOA database adapter in jdeveloper

    I am trying to build a simple flow to access database so I have dropped a database adapter in composite.xml and trying to configure the adapter.
    I have successfully tested the database connection within the adapter configuration wizard and can view the tables as well.
    But when I am selecting a table to import then I don't see any table imported in Step-5.
    It doesn't show me any error. I have tried with other tables and also with other databases but can't import the tables
    i have selected the table using the right arrow to right side and then clicked "OK". But the table hasn't come-up and it still says "No tables imported" in Step 5. I am trying to import from oracle database using oracle jdbc.
    am doing Perform an operation(Select query) on a table
    Regards,
    Kishor M

    Thread moved form Japanese SOA Suite.

  • SOA Database Adapter error in 11g

    Hi All,
    Created BPEL process in 11g that invokes a UPDATE functionality on Database Adapter in Jdeveloper 11g. Using XA database ......
    Getting following error.
    *<fault>*
    *<bpelFault>*
    *<faultType>*
    *<message>0</message>*
    *</faultType>*
    *<bindingFault>*
    *<part name="summary">*
    *<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'update' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. Project1:UpdateDBAdapter [ UpdateDBAdapter_ptt::update(CreditcardinfoCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='jdbc/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to jdbc/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>*
    *</part>*
    *<part name="detail">*
    *<detail>JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='jdbc/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to jdbc/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server </detail>*
    *</part>*
    *<part name="code">*
    *<code>null</code>*
    *</part>*
    *</bindingFault>*
    *</bpelFault>*
    *</fault>*
    What must be going wrong ?
    Thanks
    pp

    Check whether dbadapter application is deployed on the Weblogic. If it is already deployed, then update it once and try again.
    Regards,
    Anuj

  • Push Data rather than Pull

    I am using Linux with Oracle 11GR2.
    I don't think what I need to do is possible with datapump but wondered if anyone has figured out how to do it. Currently I pull data from the target database using impdp going from database to database without any dump files. I found out today that they want to push the data to the target database. They do not want the target database to have access to the source database. Has anyone figured out how you can get the source database to push data to the target database without dump files? Reading the documentation on network_link, it only looks like the data can be pulled from the source into the target.
    Thank you for any suggestions!

    >
    Currently I pull data from the target database using impdp going from database to database without any dump files.
    >
    So exporting data from source into dmp files is still a restriction? Following seem to be the only options:
    <li> Using Data File Copying to Move Data
    <li> Using Direct Path to Move Data
    <li> Using External Tables to Move Data
    <li> Using Conventional Path to Move Data
    <li> Using Network Link Import to Move Data
    Check this out:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/dp_overview.htm#SUTIL100

  • Database Adapter: Selecting all data from table

    Hi All
    I am new to SOA Suite and I am using Soa Suite version 10.1.3.1 and Jdev version 10.1.3.3. It is required to select data from one database using the database adapter and insert it in a table in another database. I implemented the flow using DBadapters select operation the problem is everytime I am running the instance it transfers only one row though no condition has been specified on the select. Could anyone please help me out and let me know how to transfer a complete table from one database to another using DBadapters and in a single instance.
    Thanks

    Well Stupid me, got the answer, I think m just at the begining of the learning curve.

  • Access to package through database adapter in Soa suite problems

    Hi,
    We have to build a bpel process that inserts data in Oracle EBS custom tables. We have to use Soa suite 10.1.3.4.0.
    In Oracle EBS we have made a custom api with a pl/sql record and 2 pl/sql tables as argument.
    When i made a database adapter, Jdeveloper made a wrapper package to translate to this custom api.
    Under the user apps this works fine.
    But I have the following problem: Our customer does not want us to connect to apps schema direct.
    So we made another user that is granted to the custom api , the wrapper api and the types for the wrapper api.
    I even created public synonyms for all these objects.
    But still runtime in BPEL console these errors occurs:
    An error occurred while preparing and executing the APPS.XXEPF_BPEL_VERWERK_ASSIGNMENT.XXEPF_INHUUR_ASS_BERICHT_PKG$ API. Cause: java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'XXEPF_INHUUR_ASS_BERICHT_PKG$'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'XXEPF_INHUUR_ASS_BERICHT_PKG$'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'XXEPF_INHUUR_ASS_BERICHT_PKG$'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    [Caused by: ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'XXEPF_INHUUR_ASS_BERICHT_PKG$'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'XXEPF_INHUUR_ASS_BERICHT_PKG$'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'XXEPF_INHUUR_ASS_BERICHT_PKG$'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    When i update only the location in the wsdl:
         <jca:address location="eis/DB/inflex" UIConnectionName="eli_apps_ontw2"
              ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory" />
            </port>
    to "eis/DB/inflex2" the same proces runs fine.
    (inflex2 connects to apps and inflex2 to XXEBSBPELQ)
    Anybody an idea?
    Thanks, JD                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Are the types defined in the same way in both schema's?
    Vaguely remember that there was some restriction to use DB and EBS adapter that types had to be owned by the schema that was connecting to it. Please check the docs for this.
    hth

  • BPEL Database Adapter in SOA Suite10g

    Hi,
    I have couple of questions on bpel in SOA Suite 10g:
    1. When I defined the realtionships between tables in the database adapter and try to modify the generated query,I feel it is not considering the modified SQL.
    2. It is not allowing the CLOB datatype in the query.
    3. what should be the data type in target xsd for an input oracle table filed of CLOB datatype or how to convert the CLOB to string format?
    Could someone please answer me..?
    Thanks,
    Soni

    Hi Soni,
    Below are the answers to your query.
    1. When I defined the realtionships between tables in the database adapter and try to modify the generated query,I feel it is not considering the modified SQL. ---> I have tried it and the query is getting changed, can you try it again.
    2. It is not allowing the CLOB datatype in the query. --> CLOB datatype is converted into string in xsd
    3. what should be the data type in target xsd for an input oracle table filed of CLOB datatype or how to convert the CLOB to string format? --> CLOB datatype acts as String data type in XSD so no need to type cast.
    I hope this answers your query.
    Thanks,
    Ankit

  • BPEL Database Adapter data to B2B TP

    Hi SOA/BPEL Experts
    In BPEL How we are going to Map my Data base data ie which i got from Database Adapter to the Partner Link Adapter Service Trading Partner Data for ex EDI, X12 V4010 210's.
    My Database data which i want to send to the Partner <----to-----> .ecs (X12 V4010 210's) format data ??
    Any idea's is appreciated, any Examples are also helpful
    thanks
    Ravi
    Edited by: user598717 on Aug 24, 2009 6:48 AM

    Hi SOA/BPEL Experts
    In BPEL How we are going to Map my Data base data ie which i got from Database Adapter to the Partner Link Adapter Service Trading Partner Data for ex EDI, X12 V4010 210's.
    My Database data which i want to send to the Partner <----to-----> .ecs (X12 V4010 210's) format data ??
    Any idea's is appreciated, any Examples are also helpful
    thanks
    Ravi
    Edited by: user598717 on Aug 24, 2009 6:48 AM

  • How to backup all database settings and data for SOA suite to file(s) ?

    During the installation of the SOA Suite a couple of tables and schemas are created
    in Oracle database through the irca.bat script.
    Later the tables are filled with content by all the servers and services of the
    SOA Suite.
    How can I backup all these tables and SOA related stuff to one (or more)
    files (for a possible later restore)?
    This backup should contain only SOA Suite related tables and data.
    Possible other tables (for other applications) should not be considered.
    Is there a script (e.g. for sqlplus) or menu which does the
    SOA database backup job for me ?
    If there is no official backup script maybe someone in this forum
    wrote a personal script.
    Thank you
    Peter

    I am facing the same problem.
    I have spend a few days to configure and train my Sony tablet to configure for all my remotes such as aircon and lighting. I did a backup using the Sony companion to my PC. When my tablet was faulty and serviced. But the backup did not recover the IR remote settings and codes which I programmed previously. I also tried your backup restore app but it also does not save the configuration.
    It is VERY IMPORTANT for me to backup the settings.
    Please provide the folders and path of where the IR REMOTE settings and personal configuration and codes trained were kept so that I could back them up. Are these path protected area that required rooted access?
    Hope that Sony could update the app to include backup of new trained codes and settings and in the meantime to provide a procedure of how to backup the setting and trained IR codes with or without rooting the device.

  • Database adapter not importing table having data type as WF_EVENT_T

    Hi All,
    I have a requirement to import a table in the Database adapter. That table is having a column of data type “WF_EVENT_T”.
    When I tried to import the table in database adapter I got the error as "The following tables are not supported in the Database Adapter and were not imported".
    Then I modified the table by adding one more column with some other data type and tried to import that table.
    It got imported successfully but I was not able to see the column with data type WF_EVENT_T in the table.
    Any pointers to this would be of great help.
    Thanks.

    Hi Harish
    Thanks for your response.
    I can create the table with the data type 'String'. However, the problem is when I try to update the table from a program in SE38 or a Function Module in SE37.
    When I try to activate the PROGRAM or FUCNTION, I GET A MESSAGE THAT I MENTIONED EARLIER.
    Here is the simple program that I have created that I am not able to activate
    ==========================================
    REPORT  ZTEST_STRING1.
    tables: ztest.
    ztest-zid = 2.
    ztest-zstring1 = 'ABC'.
    insert ztest.
    ===========================================
    ztest has two fields
    zid which is NUMC type
    and zstring1 which is STRING type.
    When I try to activate I get an error message as follows:
    'ztest' must be a flat structure. You cannot use internal tables,
    strings, references, or structures as components.
    Edited by: Ram Prasad on Mar 20, 2008 6:08 PM

  • Oracle SOA Suite 10.1.3.4 Polling database table with Database Adapter

    We are trying to use the database adapter to poll for new and changed data in a database. To do that we try to use a sequencing table on an external database. But for that we need to specify the data-source name for the external sequencing table. Where do we need to define this data-source? We have tried with data-source defined in the Enterprise Manager, but it's not right. Also tried with the name of database connection in JDeveloper, still not working.
    Any ideas?

    Hi,
    If you are trying to understand how to create a connection pool for a data source, then this document might be helpful
    http://blogs.oracle.com/fusionmiddlewarereallife/soa_11g_bpel_composite_and_database_adapter.html

  • Database adapter not refreshing unless the SOA server is restarted.

    Hi,
    I am using the SOA Soute 10.1.3.4 , I have several BPEL processes that are using the DB adapter for Oracle database. If I am invoking a procedure or function from the database using the Database adapter first time everything works fine. However if I do a small change (without changing the signature of the function) in the BODY of the function or procedure and recomplile it. Then the the DB adapter throws the following error.
    Why the changes done and compling in Database binding with SOA server. it will be resolved only when we restart the SOA server. Any suggestions are welcome.
    The error I am getting is :
    file:/oracle/product/10.1.3/soa/bpel/domains/WebCrmDev/tmp/.bpel_RbaCreateWebCustomerWS_1.0_e05533c0baa1ddf2c43af6f6b1c34bf6.tmp/DBSearchCustomer.wsdl [ DBSearchCustomer_ptt::DBSearchCustomer(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'DBSearchCustomer' failed due to: Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the XXRBA.XXRBA_WEB_SEARCH.SEARCH_CUSTOMER API. Cause: java.sql.SQLException: ORA-04045: errors during recompilation/revalidation of XXRBA.XXRBA_WEB_SEARCH
    ORA-01013: user requested cancel of current operation
    ORA-06508: PL/SQL: could not find program unit being called: "XXRBA.XXRBA_WEB_SEARCH"
    ORA-06512: at line 1
    [Caused by: ORA-04045: errors during recompilation/revalidation of XXRBA.XXRBA_WEB_SEARCH
    ORA-01013: user requested cancel of current operation
    ORA-06508: PL/SQL: could not find program unit being called: "XXRBA.XXRBA_WEB_SEARCH"
    ORA-06512: at line 1
    ; nested exception is:
    ORABPEL-11811
    Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the XXRBA.XXRBA_WEB_SEARCH.SEARCH_CUSTOMER API. Cause: java.sql.SQLException: ORA-04045: errors during recompilation/revalidation of XXRBA.XXRBA_WEB_SEARCH
    ORA-01013: user requested cancel of current operation
    ORA-06508: PL/SQL: could not find program unit being called: "XXRBA.XXRBA_WEB_SEARCH"
    ORA-06512: at line 1
    [Caused by: ORA-04045: errors during recompilation/revalidation of XXRBA.XXRBA_WEB_SEARCH
    ORA-01013: user requested cancel of current operation
    ORA-06508: PL/SQL: could not find program unit being called: "XXRBA.XXRBA_WEB_SEARCH"
    ORA-06512: at line 1
    Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.
    </summary
    Thanks
    --Khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    Thanks for reply. We have applied the patch MLR7 on top of OAS 10.1.3.4
    --Khaleel                                                                                                                                                                                       

  • Diferences in data from database adapter and EJB

    I'm having a strange behaviour in a BPEL that uses a Database Adapter and EJJB for several database operations.
    What happens is that when I create records in the database through the adapter, if I retrieve them through the EJB, the records returned do not contain the newly inserted data. It seems that there is a cache in the EJB side that is not updated when an new record is inserted. If I restart the server the records appear. this does not happen if I insert through the database adapter and retrieve thought it also.
    Does anyone have a clue about this?
    Thanks in advance

    Hi Pedro
    What kind of code do you have in EJB to retrieve the data. Are you using the standard JNDI Lookup for datasource and then get connection object. Then run the query on this connection. If so, do you have like any Static variables declared that stores this information. Or do you use the Eclipse JPA layer that uses annotation on the Entities generated for each table. Incase if you use JPA architecture, there are some cache settings and may be that could be the reason.
    Thanks
    Ravi Jegga

  • Problem after restart of a database used by a database adapter in SOA suite

    We are migration from Oracle interconnect to SOA suite. I am a bit worried that I am taking a backwards step in robust drift. I restarted a Oracle database that is used as an end point in both interconnect and SOA. In both cases the database adapter in interconnect and the partner link in SOA start throwing java error messages. This is not the problem, what worries me is that with Interconnect restarting the database adapter allows queued messages to be written to the database, nothing goes missing. But with SOA suite the messages that could not be delivered before restarting SOA suite end as "canceled" that is to say they do NOT get completed. What happened to guaranteed transaction delivery? or am i missing something.

    Hi,
    The JNDI Name to use for the service connection is "eis/DB/soademoDatabase".
    This Database is a requirement of the course... (Chapter 4 of Getting Started with Oracle SOA Suite 11g R1 - A Hands-On Tutorial).

Maybe you are looking for

  • Music sync problem - The disk could not be read or written to.

    Hello! Since my last iPod restore I have got a problem with music syncing. When I want to sync about more than 10 files iTunes gives an error massage: "The disk could not be read or written to." It is very annoying to copy 20GB music. Any good idea?

  • Lines across Vision

    Yeah i woke up one day and there were all these lines running across my LCD screen. Every other Line of pixels is now blank. And when i do something like watch a video lines are running vertically across the screen. I rebooted, reset, cleaned up firm

  • Order of Objects

    Hello all, We're trying to script objects to do something like "bring to front" and "send to back" to visually order it on top of each others. Is this possible? It seems that there is no direct way of doing it! BR, Yasser

  • What is the usage of I_ALL_ATTRS_FREESTYLE in trex_ext_create_index

    hi, how to use I_ALL_ATTRS_FREESTYLE  while creating index using trex_ext_create_index. what are the benefits it is offering. hoping for your reply

  • Adobe Reader,11.0.04, won't open PDF

    I am using an iMac with v10.8.5. Adobe Reader v. 11.0.04 won't open any PDF's. I need help. Wayne