OSB +DataBase Lookup

hi All,
Can anyone please share any link or info about JDBC Interaction of OSB.
I have My own Oracle Database server and i want OSB to interact with it
from its proxy service.
Thanks in advance.

Alternatively, if you want to query a database, you can also use the fn-bea:execute-sql() xquery. This is feature provided in OSB versions 2.5 and later. Refer to http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/xquery.html#wp1101465 for more information.
Depending on the use case scenarios you have, you can use this if applicable.
Thanks,
Patrick

Similar Messages

  • Oracle Service Bus 11g ... caching the database lookup

    Hi All,
    I have a requirement where I create a OSB service.
    The OSB Service, on every request, performs look up from the database to get saved properties from the table.
    These properties in the database table get changed from time to time through an User Interface.
    Now I want to minimize database lookup from the OSB and hence trying to arrive to a solution, where the properties are looked up and cached in memory initially. And OSB serves each request by looking up cached information. And on an event when the user changes the properties through the user interface, the properties are looked up and re-cached in memory.
    Any help on this is much appreciated.
    Regards,
    Srini

    Hi Srini,
    You may leverage the service result caching feature of OSB 11g. For more detail, please refer -
    section "34.7.5 Improving Performance by Caching Business Service Results" at http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/configuringandusingservices.htm#CHDDCGEE and section 18.2.23 Message Handling Configuration Page at http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/business_services.htm#i1141909
    Regards,
    Anuj

  • Raising exceptions in database lookups in message mapping

    Hi
       We have been able to successfully do a database lookup from within a message mapping - thanks to weblogs already existing out there. However, we have requirement that states that - if the lookup fails ( failure to connect to DB / data retrieved is null ) , then the mapping should fail - and an exception raised.
    How can we go about doing this from within the java code - of the mapping lookup ?
    Any correct pointers /solutions to achieve this will be rewarded rightaway. Thanks in advance for your time.

    Hi,
    you can use Alessandro's way:
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    this way you can throw smart exceptions:)
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • "Providing interactive database lookup from forms" sample doesn't work with Acrobat Reader 7

    I have downloaded and tested the Adobe sample "Adobe LiveCycle Designer 7.0, Providing interactive database lookup from forms". Everything works great in Acrobat Professional Full version, however, when I tested it in Acrobat Reader 7.0.5, it generated a "script failed..." message.
    Did anybody have the same problem? You can download the sample from here:
    http://partners.adobe.com/public/developer/en/livecycle/lc_designer_db_lookup_tip.pdf
    Thanks a lot in advance!
    Jie

    Hi Jie,
    Database connectivity is a feature supported in Acrobat only , not Reader--unless the PDF has been extended with Adobe LiveCycle Reader Extensions.
    http://www.adobe.com/products/server/readerextensions/main.html
    See "Table 3: Form capability support for Adobe Acrobat and Adobe Reader" at:
    http://partners.adobe.com/public/developer/en/tips/lc_combine_server_tip.pdf
    Evangelos

  • Database Lookup in Adobe Reader

    I have an Adobe document that performs a database lookup based on a value keyed into document.  It works fine in LiveCycle and Acrobat, but does not work in Reader.  From what I've read it looks like I need 'Reader Extensions'.  How and where do get this feature?
    Thanks,
    Scott

    I finally got a reply from our special government software company that has a special team that deals with Adobe. Adobe never has given me a price straight out. The company that sells the Reader Extensions is called 4Point, I don't even think you can buy it from Adobe straight out. If you contact them they will talk to you, they are very helpful. If you continue to contact Adobe, they will circle around the issue, sending you from one phone number to another until you are sick of trying and give up. You are right, they have THE WORST customer service of any software company we use.  Careful though, for the privilege of being able to do just a few things here and there you will pay around $200,000 because you have to buy the Reader Extension server. Otherwise you have to license each form separately for the privilege of allowing more than 500 users to fill them out, and that is not a joke. It is not worth the money in my opinion as we are just trying to be able to print bar codes on paper so we can scan them and apparently we can do it if each of our users has Adobe Standard which costs around $80 a person. Much cheaper, just not able to use my forms for the public. We will just use another product for that. Good luck with your issues!
    If Adobe had told me that I needed to contact 4Point at the beginning of December it would have saved me 2 MONTHS of frustration. If I ever need software for something and Adobe is one of the choices they will not be on the top of my list because Customer Service is so important. We were considering their System for our Education and training system, but at this point I have taken them off our list for possible solutions for that.

  • Needed Help on database lookups Scenario

    Hi All,
    I'm Trying work with database lookups and i wanted to do this scenario
    [url]  /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler [url]
    I need to retrive data from  DB2 database on my system im facing problems with the UserDefined Functions required for mapping .
    in the code for user defined functions I'm assuming that DB-CHANNEL-NAME is the name of the communication channel to be used, But what is DB-SYSTEM-NAME?
    Also im getting this error when testing mapping can anyone tell me why i'm getting this error?
    Source code has syntax error:  D:/usr/sap/PI7/DVEBMGS20/j2ee/cluster/server0/./temp/classpath_resolver/Map4ed46ec333cd11ddc75b00188be4eace/source/com/sap/xi/tf/_MSGMap_DB_.java:68: ';' expected } ^ D:/usr/sap/PI7/DVEBMGS20/j2ee/cluster/server0/./temp/classpath_resolver/Map4ed46ec333cd11ddc75b00188be4eace/source/com/sap/xi/tf/_MSGMap_DB_.java:75: ';' expected } ^
    Thanks & Regards
    Sai Kumar Madduru.
    Reward points for Helpfull Answers.

    Hi,
      The "DB-SYSTEM-NAME" is nothing but the business service which is defined for that database in your Integration directory. In this business service only you have to define ur jdbc communication channel. So by giving the details of BS and CC you will get the DB connectivity during runtime.
    Cheers!!

  • RFC lookup Vs Database lookup

    Dear experts,
    When it comes to PI mappings which one is resource or time intensive between RFC lookup Vs Database lookup where the table is hosted in PI itself.  I really looking for this comparision in PI 7.1.  If anybody looked to compare the pros & cons of using RFC lookup Vs datbase lookup where the table is hosted in PI itself. 
    Thanks,
    -Bharath

    I have no data to prove my allegation, but I would expect JDBC to be slower, because you need a separate driver to make the connection to the database, perform the query. The RFC adapter doesn't need that, plus it already has the connection to the SAP system, so you only need to perform the query.
    Steps for JDBC:
    1. call JDBC driver
    2. logon to DB
    3. perform query
    4. return result
    Steps for RFC:
    1. perform query
    2. return result

  • IPM 11g Picklist based on database lookup

    Is there a way with IPM 11g to create a picklist based on a database lookup? If so how?

    Updated/suggestion from Oracle for others who maybe looking for this:
    Create a utility that modifies the Application definition using the standard IPM Java or web services SDK. The JavaDoc is located here: [http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e12853/toc.htm]
    Using the SDK you would:
    -     Use the LoginService to log into IPM
    -     Use the ApplicationService interface getApplication to retrieve the application you want to modify
    -     Use the Application object to getFieldDefinitions
    -     Use getPickList for the field you want to modify
    -     Add/modify the PickList object as needed
    -     Use the ApplicationService to modifyApplication

  • Do I need VXML Port Licenses for CVP Database Lookup.

    Hi,
    Please let me know that whether VXML Port Licenses are required for CVP Database Lookup.
    I am using CVP just for prompt playing in my scenario,
    Appreciate your response.
    Thanks,
    Manish

    [email protected],To make database integration with your IVR, you have different alternatives :1- Use the 'DB Lookup' node ICM scripting node for simple SELECT transactions on SQL Server databases2- Use an 'Application Gateway' component with ICM scripting for more complex database operations on different type of databases. Application Gateway is a software component developed by Cisco partners to make ICM scripts interact with different databases.3- Use VXML scripts. VXML scripts can connect and interact with any kind of databse using the JNDI protocol. You will need a VXML Studio license (to develop the VXML applications) and a CVP Server for VXML Servers (you need to deploy VXML servers on which you will deploy your VXML applications)Hope this will help.
    Good summary. If I can comment ....
    1. DBLookup is so restrictive it is not typically useful for looking up ANIs in a customer DB. It is useful for other things to do with routing - say a DNIS lookup to control some aspect of routing. Look up the restrictions on DBLookup if you don't believe me.
    2. This may be an expensive proposition. Unless you have in-house experience with something like a CTI all events bridge and the ability to code to the required heartbeat interface, you will find building an app gateway tricky. You also need to be in the Cisco Developer's Program ($25k). I have colleagues write app gateways in C++ and VB.NET, so it's possible - just not trvial. For a huge load, this may be the only suitable method, however.
    3. This is the way to go. JNDI is NOT a protocol - it is a naming standard. The protocol that the client (your application running under Tomcat) uses to talk to the server (the database out there) is defined by the library - the JAR file - you hook into it in VXMLServer\lib\endorsed. Through the JNDI specification in Tomcat\conf\server.xml you indicate the host, user name, password and client library that the system needs. Tomcat uses connection pooling to manipulate a pool of connections (threads) giving a more efficient database query system.
    You can then add an additional sepcification through context.xml that allows you to use the JNDI spec in your VXML Database Element.
    If you like coding in Java, you can write a Custom Action Element to use the JNDI (and therefore connection pooling), making your query and manipulating the result. This is the way I do it because I'm a competent programmer. Most will use the Database Element.
    Finally, you could write a Java Custom Action Element that does not use the JNDI at all, but given the server, user, password and database through the settings, opens a connection, runs the query, and closes the connection.
    Regards,
    Geoff

  • ODC sampe database lookup script

    I am looking for sample code for Oracle Document Capture 10gR3 (10.1.3.5)for doing a database lookup. We have several fields that need lookups from different databases so we can't use the OoTB database lookup. For example we pull employee information (based on EMP#, pulls First/last name, DOB, etc) and non employee information from another (example based on an auth# pull medical exam date, dr, etc).
    thx

    I need the same please...

  • Database lookup simplify

    I have a map with a database lookup functoid and it works perfect on my test map.
    The map is simple. Make a DB lookup on a item number and get all the attribute return. Each row is uniq so it always hit one row at the time.
    Problem is not getting the data, problem is when I have like 10000 rows it takes up to 9 hours to get done. Is there any way to just make one DB lookup and get the value out I need for each line ?

    The DB Lookup gets all the elements in ONE call, it is the Value Extraction component that executes multiple times on the same record set to get you the values. Also for 10000 records I guess you're not de-batching the message.
    From the map I could comprehend that this is an enrichment where you're getting the product details associated with the item. As an alternate design, you could NOT do this in a MAP. A Faster way would be to create a Business Rule with the associated data
    as DB Fact. You would use the MAP but use it to create the place holder nodes and then run it through the BRE which would populate the data into the result. BRE Caches the DB Facts (you could change this to Long Term or Short Term facts). This can then be
    the first step in your orchestration OR you could write a custom disassembler component and do the same through a pipeline component. If you're not de-batching then running a 10000 record loop through BRE in orchestration would be faster.
    Regards.

  • Database Lookup ?

    Hi Guys,
    I have RFC-SOAP scenario working properly. I get a status code back from the 3rd party system in one of the response field and i need to map this to one of the field in RFC.
    The status codes maintained in the sql server database on the 3rd party system are in 100's, so i think i need to perform a DB Lookup and UDF in the response mapping.
    Do i need to create the table structure in XI ? or i can directly pull the message for the corresponding field.
    I have a single argument and single result message like
    100 -- success & 200-  Failure. I think i need not use the advanced function?
    I am following the web blog as below for the DB lookup.
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    any suggestions would be appreciated
    Thanks,
    Srini

    Hi,
    You don't need to create the structure in XI for this scenario.
    Accessing data from an external database is the objective of DB lookup. You will be doing this via UDF. Under the UDF code you will be using the communciation channel derived for triggering the query with SQL database.
    Under the UDF only you will get the field values from database. You can refer the code used in the blog you are currently referring.
    Here you can see UserID and Passwords are validated.
    Simialr way you can get the data of status code
    Thanks
    Swarup

  • Database LookUp or a database adapter

    Hi,
    We are currently using 8 datbase lookups to retrieve values from a database.
    Could somebody let me know if a database adapter would be a better option.
    Also could somebody tell me how many lookups would equal a dtabase adpater call in terms of performance.
    Thanks,
    Valli.

    Vinay,
    I don't have a single ODBC connection.  I have several for the several servers, with a separate ODBC connection for each.  When I try to change the datasource location, I have to select one of the defined ODBC connections, which defeats my purpose.  I can change it from one specific ODBC defined database to another, but I need to change it to no database so that it will recognize the database it is placed on when I deploy it.
    I saw where you can edit the properties of the database in the top half of the change datasource location window and change it to "same as report", but when I try to save, because I'm not developing on a server, it can't find a database and thefore won't save. It seems like I need to bybass the check it does to confirm the new datasource is a valid database.

  • Database lookup option in SOA 11g

    Hi,
    We need to call a database table ( look up table) for getting some information based on some search criteria , with in a SOA 11g BPEL component.
    We are considering the following options , but at the same time see some cons too.
    1.DB Adapter - select operation
    Cons : Not SOAP but making a DB call every time is costlier option. Looking for some caching support.
    2. Create an ADF-BC / SDO service on top of table and access it using ADF-BC service in SOA. Now access this using Entity variables in SOA.
    This would not create SOAP bindings at the same time we have EO Cache support which would further help increase in performance.
    Do you see any flaw in this understanding ?
    In Approach 2 above , I see an issue. Would EO caching retain for more than one instance ? As far as I know in ADF BC - EO cache works for each user session. So does that mean that EO cache is refreshed for another instance of SOA ?
    Any other ways to do caching apart from ADF BC ?
    Regards,
    Sridhar.

    If you are using DB Adapter, you have to define your web service, with assoicated schema file, in runtime the server will spent time to make sure your message is pertaining to the schema and the service is exposed as web service, in times you will configure the JCA adapter service with performance configurations.
    You need to do the above along with database performance tuning, when you use DBAdapter.
    But if you use the XSLT database functions it will be using only the database performance tuning only.
    Thanks,
    Vijay

  • Database lookup fails with CMP bean and J2EE1.4

    What else could I have missed?
    Running my client, I am getting the following error in the
    J2EE server:
    RaceControllerBean ejbCreate
    RaceControllerBean leaving
    RaceControllerBean createRace
    RaceControllerBean makeConnection
    javax.naming.NameNotFoundException: No object bound to name java:comp/env/jdbc/Cloudscape
    at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:657)
    at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:94)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.mnm.run.ejb.race.RaceControllerBean.makeConnection(Unknown Source)
    The J2EE server shows this printout upon starting up:
    Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Again, what could be the problem? Thanks for any help.
    Andreas

    you might need to add it as a resource for your bean in your ejb-jar.xml file, as follows
    <enterprise-beans>
    <entity>
    <ejb-name>RaceControllerBean</ejb-name>
    <resource-ref>
    <res-ref-name>jdbc/Cloudscape</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </entity>

Maybe you are looking for

  • Follow up question. importing audio

    Hello, thanks to all that responded to my question about importing audio from itunes to FCP5. I finally got it onto my timeline, but before I did that I burned it to a cd, and used that to import it to FCP. Probably more steps than necessary, but I f

  • Creating a document script for Clock in Acrobat Professional.

    Hi, I am trying to add a field on my PDF form which shows a continuous clock. I do not know how to add code to a document script in Acrobat Professional. "Advaned/ Javascript/ Set Document Actions" is greyed out. Thanks in advance, Damo.

  • CMYK Sliders

    How do you get the CMYK and RGB sliders in the colour pane working to add some colour to a black and white logo, am using CS6 and the both colour sliders are grayed out so you cant use them, only seem to be able to add shades of gray.

  • Weblogic.socket.MaxMessageSizeExceededException: Incoming message of size:

    Hi , I have problems with the maximun message size using T3. I am trying to get large data from a remote client but i get the following exception(Here we are accessing jasper reports thru tomcat server from Weblogic,Tomcat and weblogic servers are in

  • TIP: Changing a window to a tab

    I just tried this for fun and was pleasantly surprised that it worked. If you created a new Safari window when you really wanted a new tab on an existing window, do this: Position the two windows on screen so you can see both tab bars; grab the tab f