OSB:   DB Adapter use

I need to use multiple tables in DB (10-12 tables, not all identified yet) for DB processing. All those tables reside in one DB.
My idea is not to write a procedure but create business services for them and orchestrate for processing. I wish to use default provided QueryByExample, Insert and Update operations for each service.
As of now, when I use JDeveloper, essentially one business service with three operations (QueryByExample, Insert and Update) is created for one table. So I have 10 business services, each with three operations.
I was wondering if rather than having 10 business services, can I have three services with 10 operations each? Like:
BS_QueryByExample : (QueryByExample for TABLE_1, TABLE_2......TABLE_10)
BS_Insert : (Insert for TABLE_1, TABLE_2......TABLE_10)
BS_Update: (Update for TABLE_1, TABLE_2......TABLE_10)
Is there a way to generate code through DBAdapter wizard in JDeveloper as above?
If not can you suggest me another way?
Thanks and Regards,
Swapnil Kharwadkar

Write a stored Procedure and use it. Using stored Procedure you can use any number of tables.

Similar Messages

  • OSB: Issue while testing OSB proxy service using SOAPUI

    I am trying to test an OSB proxy service using SOAPUI.
    The below are the steps i have followed in SOAPUI:
    1. File->New SOAPUI project
    2. Opens the dialog to create REST service
    3. Given service endpoint as: http://<osb servername>:<port>
    4. Opens dialog to create a REST resource
    5. Resource Path/EndPoint is the OSB proxy service end point.
    6. HTTP method = POST
    The proxy service accepts 'text' input so i have given Media Type as 'text/plain'
    But, when i give the request message and run the request. The request is not running. I am not seeing the processing symbol at the bottom right of the SOAP UI request. Whereas i am able to run other services.
    Kindly help me resolve this issue.

    your problem:
    Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
    Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
    Loader: oracle.bpel.common:10.1.3
    Code-Source: /oraclesoa/oraclesoa/product/
    Configuration: <code-source> in /oraclesoa/oraclesoa/product/
    It happens when server is custom installed, try to reinstall it as full version and problem should disappear otherwise your need another full installation to retrieve and replace orabpel.jar file from (or maybe more)

  • DVI to Video Adapter: Using S-video vs. RCA output to TV

    I just purchased a DVI to Video Adapter for my MacBook Pro 15". I'd like to display iPhoto slide shows on my TV. Will there be a difference in picture quality on the TV if I output from the Mac (thru the DVI to Video Adapter) using an RCA cable versus an S-video cable?

    S-Video is the better of the two interfaces. Neither is very good when compared with a computer screen, which will have much higher resolution. I doubt you will notice much difference between S-Video and RCA Video but if you have the choice you might as well go S-Video.

  • Error in while calling a Soap Adapter using the UDF

    i am trying to make a call to Soap Adapter using a UDF.
    The code of the UDF is as follows :
    InputStream isPayloadStream = null;
    AbstractTrace trace= container.getTrace();
    String sService="Business Component";
    String sChannelName="Soap Channel(Sender)";
    SystemAccessor accessor=null;
    trace.addInfo("entered UDF");
    StringBuffer sb = new StringBuffer(" ");
    trace.addInfo("creating the reference file");
    sb.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
    sb.append("<ns0:MT_123082_UDF xmlns:ns0=\"http//infosys.com/pi/projects/png/n1\">\n");
    trace.addInfo("trigerring the SOAP channel ");
    Channel channel = LookupService.getChannel(sService,sChannelName);
    accessor = LookupService.getSystemAccessor(channel);
    isPayloadStream = new ByteArrayInputStream((sb.toString()).getBytes());
    trace.addInfo("creating the xml payload ");
    XmlPayload payload = LookupService.getXmlPayload(isPayloadStream);
    Payload result=accessor.call(payload);
    catch (Exception e){
    if ( accessor !=null) {
    return " ";
    The above code is throwing an error while end to end testing.
    the scenario is such,while graphical mapping a UDF will be used, which will create an Xml payload, and send this payload to another SOAP to file scenario.
    The error in the sxmb_moni is:  "Error when calling an adapter by using the communication channel CC_123085_UDF_SOAP_OUT (Party: , Service: BC_123082_REMADV_D96A, Object ID: fa9c6ee15efc30c68ec34b08034d87d1) XI AF API call failed. Module exception: 'failed to set up the channel fa9c6ee15efc30c68ec34b08034d87d1'. Cause Exception: 'Channel stopped by administrative task.'."
    Please can anyone suggest how this error can be rectified.

    i have checked the communication channel and the XML. The following error occurs everytime i try to run the scenario.
    Error when calling an adapter by using the communication channel CC_123082_UDFRECEIVER_SOAP_IN (Party: , Service: BC_123082_REMADV_D96A, Object ID: 2a895589066d30d4b2686e9d3a8d4c8d) XI AF API call failed. Module exception: 'SOAP Error'. Cause Exception: 'SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request'
    Please let me know how this error can be resolved.

  • "Message Rejection Handler" for the file/ftp adapter using fault policy

    Hi guys,
    We are trying to implement "Message Rejection Handler" for the file/ftp adapter using following fault policy configuration.
    Fault Policy:
    <?xml version='1.0' encoding='UTF-8'?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    <faultPolicy version="2.0.1" id="ProcessNameGenericPolicy"
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    <action ref="ora-retry"/>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    <action ref="ora-rethrow-fault"/>
    <Action id="ora-retry">
    <retryFailureAction ref="ora-rethrow-fault"/>
    <Action id="ora-rethrow-fault">
    <Action id="ora-human-intervention">
    <Action id="ora-terminate">
    <faultPolicy version="2.0.1" id="ProcessNameHumanInterventionPolicy"
    <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults"
    <test>contains($fault.mediatorErrorCode, "TYPE_TRANSIENT")</test>
    <action ref="ora-retry-with-intervention"/>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    <action ref="ora-retry-with-intervention"/>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    <action ref="ora-rethrow-fault"/>
    <!--<action ref="ora-retry-with-intervention"/>-->
    <Action id="ora-retry-with-intervention">
    <retryFailureAction ref="ora-human-intervention"/>
    <Action id="ora-retry">
    <retryFailureAction ref="ora-rethrow-fault"/>
    <Action id="ora-rethrow-fault">
    <Action id="ora-human-intervention">
    <Action id="ora-terminate">
    <faultPolicy version="2.0.1" id="RejectedMessages">
    <Conditions> <!-- All the fault conditions are defined here -->
    <faultName xmlns:rjm="http://schemas.oracle.com/sca/rejectedmessages" name="rjm:PartnerLinkName">
    <!-- local part of fault name should be the service name-->
    <action ref="writeToFile"/> <!-- action to be taken, refer to Actions section for the details of the action -->
    <Actions> <!-- All the actions are defined here -->
    <Action id="writeToFile">
    Fault Binding:
    <?xml version='1.0' encoding='UTF-8'?>
    <faultPolicyBindings version="2.0.1"
    <composite faultPolicy="ProcessNameGenericPolicy"/>
    <service faultPolicy="RejectedMessages">
    <reference faultPolicy="RejectedMessages">
    We have SyncFileRead partner link.
    The expectation is: when the message read by SyncFileRead partner link is rejected,
    that rejected message should come to particular directory in the server.
    Could you please help us fixing this.

    Have a look at this blog :
    3) Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
    Description: The request requires user authentication
    Possible Tips:
    u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
    u2022 If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
    u2022 If the error is in Adapter Engine
    u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    u2022 May be wrong password for user XIISUSER
    u2022 May be wrong password for user XIAFUSER
    u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
    Http* Errors in XI

  • PI 7.11 JMS adapter using JNDI weblogic server issue

    Hi SAP experts,
    I have a scenario to integrate to a application using JMS adapters. we use SAP PI 7.11 version.
    We have deployed JMS drivers successfully and We face issue here to connect to weblogic server
    We are using JMS adapter using JNDI to connect to weblogic server version 10.3.
    Can anyone help with the exact format to be used in JMS properties table and additional parameters table in JMS communication channel. Your quick help will be appreciated.
    A channel error occurred. The detailed error (if any) : com.sap.aii.adapter.jms.api.connector.ConnectorException: Error looking up destination: AccrualDetailsQueue for profile:  ConnectionProfile of channel: CC_SND_JMS on node: 3010950 having object id: 673696a9fe8c39fdab32213f0930afb3: javax.naming.NameNotFoundException: Unable to resolve 'AccrualDetailsQueue'. Resolved ''<br> at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createDestination(JndiConnectorImpl.java:168)<br

    Hi Padmini,
    Refer to the following link:
    It was very helpful to me, for configuring the additional parameters in the communication Channel JMS.
    I leave you some screenshots of the settings that I did.
    I seize the opportunity to ask you, where do I can get the drivers (.Jar) for Weblogic?

  • How can you utilise the 30 pin VGA adapter used on the iPad 3 and iPhone 4S on the iPad 4 which uses a lightning connector?

    How can you utilise the 30 pin VGA adapter used on the iPad 3 and iPhone 4S on the iPad 4 which uses a lightning connector?

    See the following. Also take note below and from the linked page above that video mode is NOT supported:
    *Note below and from the linked page above that video mode is NOT supported*
    "This adapter lets you connect devices with a Lightning connector to many of your 30-pin accessories.* Supports analog audio output, USB audio, as well as syncing and charging. Video output not supported."

  • Error in Rcvr File Adapter using FTP ?

    Hi @,
    I am getting the follwoing error while trying to put file in the folder thru Rcvr File Adapter using FTP and it is giving me following error :
    java.io.FileNotFoundException :(Permission Denied )
    I have verified the permissions on the folder and it is having write permissions.
    Please suggest Its urgent.

    hi amit,
    can you
    1. check whether the access to FTP is Authenticated, if so provide the username and password
    2. try giving different file name at the receiver end
    3. try normal ftp commands to access the folder
    Ramesh P

  • SOAP Adapter - Using Fault Message

    Hi all,
    I have developed a Synchronous Integration Scenario which receives a SOAP request to the SOAP adapter, calls an ABAP proxy in SAP ECC to post some information and return a response or a fault to the sender.
    This all works fine, I am using a fault message in the ABAP proxy to record errors and return them to the SOAP adapter using the fault mapping. Again this all works fine. However when an application error is identified and a fault message returned to thre SOAP adapter, I had expected that the error details in the fault message to be packaged up in a standard SOAP fault and returned to the sender. Instead the fault message details are sent as the payload in the SOAP body of the response.
    Can anyone provide information on if it is possible to return the fault message as a standard SOAP fault instead of in the SOAP body of the response.

    Dont think this is possible in standard.
    As an alternate, maybe you can select option Do not use SOAP Enevlope int he sender SOAP Adapter and thereby the entire SOAP Message will enter the mapping and you would need to use a XSL or Java  mapping to strip the SOAP Envlope in the mapping for the request and like wise in the response mapping you would need to add the SOAP Enevlope to the response.
    For the fault message mapping you need not add the SOAP Envelope.
    Not a standard solution, but can be tried if the requirement is really worth it. Otherwise I think the Fault Message will continue to be sent as the payload in the the SOAP Enevlope as this is how the SOAP adapter works.

  • PI 7.1 receiver SOAP adapter using https

    Hi all,
    In PI 7.1 receiver SOAP adapter using https, what are the configurations necessary in PI box?
    Certification, and key store values, security etc etc

    Michael Johnson wrote:
    > I did n't find anything related to 7.1 version
    Some leads are provided by help: http://help.sap.com/saphelp_nwpi71/helpdata/EN/56/992d4142badb2be10000000a1550b0/frameset.htm

  • Invocation of SOAP Sender Adapter using Apache SOAP

    I'm trying to invoke the XI SOAP Sender Adapter using the Apache SOAP API. It seems that my message header is missing a few parameters (see exception below). Does anybody know which to set?
    <?xml version='1.0'?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
          <faultstring>Server Error</faultstring>
            <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:502)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:227)
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)
         at com.sap.aii.af.mp.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:162)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:392)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java:321)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
    Caused by: java.lang.Exception: Bubble configuration error: parameter 'XI.InterfaceNamespace' is missing
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.getParaRequired(XISOAPAdapterBean.java:895)
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.createDefaultMessageHeader(XISOAPAdapterBean.java:942)
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.setup(XISOAPAdapterBean.java:214)
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:496)
         ... 22 more

    Hi Heiko,
    You are missing the Namespace Parameter in the sender soap adapter configuration in XI3.0

  • Using plain http adapter using (SIN)---Most urgent please help me

    Hi Experts,
    all we need to do is call the pipeline directly using plain http adapter using (SIN) and get the output from the pipeline to the local file folders. This can help developers to verify the interfaces that have been migrated to XI , to compare the out put results generated in XI with the original output captured using existing middle ware solutions.
    Could anyone help me out this Urgent

    Hi Experts,
    all we need to do is call the pipeline directly using plain http adapter using (SIN) and get the output from the pipeline to the local file folders. This can help developers to verify the interfaces that have been migrated to XI , to compare the out put results generated in XI with the original output captured using existing middle ware solutions.
    Could anyone help me out this Urgent

  • Is it possible to use HTTPS in HTTP recv adapter using Address type as URL

    Hi All,
    If some one who has tried HTTPS communication using HTTP receiver adapter using URL address as Address type can you please guide me what are the steps need to be done.
    Address type is a parameter in HTTP adapter setup .

    Use the below code to get the reference of EntityManagerImpl and get the reference of Session from EntityManagerImpl and then you can call the Stored Procedure.
    private EntityManagerImpl emImpl;
    emImpl = (EntityManagerImpl)Persistence. createEntityManagerFactory("TFDModel").createEntityManager();
    Session session= emImpl.getActiveSession();
    StoredProcedureCall call = new StoredProcedureCall();
    "LENGTH", // procedure parameter name
    new Integer(100), // in argument value
    "LENGTH", // out argument field name
    Integer.class // Java type corresponding to type returned by procedure
    ValueReadQuery query = new ValueReadQuery();
    Integer metricLength = (Integer) session.executeQuery(query);

  • How enable my AMD adapter using the device manager

    The message that comes up after updating my AMD driver is this:
    The Catalyst Control Center is not supported by the driver version of your enabled graphics adapter.  Please update your AMD graphics driver, or enable your AMD adapter using the Displays Manager. 
    I am running Windows 7 Home premium
    HP Pavilion DV 7 notebook pc
    Intel Graphics 3000
    Radeon HD 6490M
    please help

    I'm new to this
    What is the solution?

  • The evaluate phase failed. The Adapter used in the evaluate may have thrown

    I am deploying an application in Oracle Application Server ( made using myfaces at the front end and hibernate at the back end, and encounter the following error. I have alsosuccessfully deployed a simpler application based on the exact same technologies and it is working fine. The bigger more complex application however does not even get deployed. the error encountered is as follows
    Failed to deploy web application "nf". Failed to deploy web application "nf". . The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
    Please call Oracle support.
    Base Exception:
    org.apache.myfaces.util.ClassUtils.getResources(Ljava/lang/String;Ljava/lang/Object;)Ljava/util/Iterator;. org.apache.myfaces.util.ClassUtils.getResources(Ljava/lang/String;Ljava/lang/Object;)Ljava/util/Iterator;

    Did you ever get a resolution on this? I'm figting with the exact same problem. OC4J can't find the class although it's very clearly packaged in the EJB jar.

Maybe you are looking for

  • How to use a JCO connection pool in an EJB?

    Hi *, I want to build a WebService using SAP Web AS (J2EE Engine) that connects to a R/3 ERP (release 4.7). I thought of building a stateless session bean that will be deployed as webservice. The session bean shall connect to the R/3 in order to call

  • Griffin XLR Cable Help Needed

    I'm trying to record in GB using a new 20" iMac, a dynamic Audix OM5 microphone, and the Griffin XLR to 1/8" cable. GB will not let me switch between built-in and line-in on the preferences. What do I need to do? Also, do I need a preamp?

  • Do I have to use GarageBand's templates?

    Hi. I want to use GarageBand to create podcasts, but do I have to use their templates for design? I have a website already and GarageBand's templates, though nice, don't match. Can I create my podcast files and store them on my own server, and use a

  • "Apps" taking up 5.2Gb when ALL apps on iMac = 1.75Gb

    My wife's iPhone is displaying 5.2Gb for Apps (the green section of the Summary bar). If she installed every app she has on her account, they would only total 1.75Gb. as it is, she only has half of those installed. Does anyone have an idea what all t

  • Mountain Lion download getting stuck at 79MB w/ no internet connectivity issues

    I just purchased Mountain Lion via the App Store but everytime I try to download it, the download gets stuck around 79.4MB and the download time just gets longer and longer without the download actually pausing. Pausing and resuming have the same pro