Apps Adapter API is called before Db Adapter inserting data

Hi All,
I am using a bpel process which calls db adapter to insert/update data in staging table, after this activity i am calling a Apps Adapter PLSQL API where it takes the data from staging table and performs some functionality. But the problem here is Apps adapter PlSQL API is getting called before isnerting data in staging table.
Below are the steps in BPEL Process,
1. receive activity
2. data transformation
3. invokes db adapter through merge operation to insert/update in staging tables
4. invoke Apps Adapter PLSQL API
Error is thrown at Apps Adapter invoke activity, saying null values. presently we used a wait activity before invoking apps adapter.
Do the invoke of Apps Adapeter doesnt happen after Db Adapter inserting data?
Thanks,
Ra

Hi Team,
Even I faced the same problem.
I am checking, do we have any configuration setting to avaoid these kind of problem.
Even my process has point 2 & 3 in a single sequence and point 4 in another sequence.
Any help to resolve this problem is greatly appreciated.
Thanks for your help in adavance.
Cheers
Chandru

Similar Messages

  • How to Call HTTP Sender Adapter of Other Scenar from HTTP Receiver Adapter?

    Hi,
    I have a requirement to call HTTP Sender Adapter of Other Scenario from HTTP Receiver Adapter?
    or
    call SOAP Sender Adapter of Other Scenario from SOAP Receiver Adapter?
    i.e
    SOME SENDER - > PI - > HTTP Receiver - > calling -> HTTP Sender -> PI -> SOME RECEIVER
    SOME SENDER - > PI - > SOAP Receiver - > calling -> SOAP Sender -> PI -> SOME RECEIVER
    if any one can provide me the screen shot for those SOAP / HTTP Sender or Receiver ADAPTER.
    or Point me to Some article with Screenshots .
    That would be appreciated with Point.
    Regards
    PS.

    Solved .  .

  • Sample adapter is not called by XI

    I have deployed the sample adapter in our namespace.
    I send a message to the adapter. The adapter is never called.
    The adapter has the status aktiv.

    Hi,
    did you have a look at this weblog:
    /people/gowtham.kuchipudi2/blog/2006/01/04/testing-sample-adapter
    Regards,
    michal

  • I went to the apple store to get a power cord for my husband's mac pro and the technician gave me a power adapter instead. My husband has a conference call before the stores open and I can exchange the adapter but he needs power for his computer before th

    My husband needs a new power cord for his Mac Pro. I went to the apple store and the clerk gave me a power adapter by mistake. He has a conference call before the store opens and I can't get him another power cord. Is there a way to power up his computer?

    You posted in the MacBookPro forum. Is this a Mac Pro or MacBook Pro? If it's the latter, it has a battery.

  • Error in while calling a Soap Adapter using the UDF

    hi,
    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");
    sb.append("<INTERCHANGECONTRLNOS>" + var1 + "</INTERCHANGECONTRLNOS>");
    sb.append("<PGPARTNERID>"var2"</PGPARTNERID>""\n""</ns0:MT_123082_UDF>");
    trace.addInfo("trigerring the SOAP channel ");
    try{
    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){
    trace.addInfo(e.getMessage());
    finally{
    if ( accessor !=null) {
    accessor.close();
    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.
    regards,
    Meenakshi

    Hi,
    i have checked the communication channel and the XML. The following error occurs everytime i try to run the scenario.
    Error:
    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.
    Regards,
    Meenakshi

  • How can i pass array as argument in magento api method calling using sudzc API in iphone Native APP

    0down votefavorite
    I am implementing magento standard api method in native iphone app. I use webservice generated by sudzc. To call method I use:
    [service call:self action:@selector(callHandler:) sessionId:@" " resourcePath:@" " args:@""];
    When I used methods e.g. cart.info or product.info in which I have to pass one parameter; it gives valid response. But when I used method e.g. cart_product.add in which I have to pass an argument as value of array it gives error
    SQLSTATE[42000]: Syntax error or access violation:
        1064 You have an error in your SQL syntax;
        check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
    I have tested in SOAP UI also. There also it gives me same error. But same method works in PHP file. Even I tried by creating same soap request which I created using JavaScript but still it doesn't work.
    Can anyone help me to pass array as a parameter using sudzc api to call magento web services?

    There is an error in your SQL.

  • Multiple BAPI calls in RFC Adapter

    Hi, Dear Friends!
    I have asynchronous scenario File to RFC(BAPI).
    File contains raws. For each raw I need to execute BAPI.
    With the help of each raw I need to construct one document in R/3 database with the help of BAPI.
    But now my scenario provide only one document (only one BAPI is executed).
    I read file to xml structure. This structure contains elements. The elements represent raws of file. But BAPI is executed only for the first element.
    How to explain to XI that I want it impement BAPI <b>N times</b> - as number of raws in file (or elements in xml structure).
    So how to implement multiple BAPI calls. Have you any idea?
    Thank you in advance.
    Natalia Maslova.

    Hi Natalia
    have a look on these links
    http://help.sap.com/saphelp_nw04/helpdata/en/43/b46c4253c111d395fa00a0c94260a5/frameset.htm
    Best Design : for a SOAP -XI - BAPI ( Multiple )
    Re: RFC adapter...How it handles multiple calls...
    Re: Multiple BAPIs and COMMIT in BPM
    Re: Is it possible to compose XML in BPM from responses of multiple BAPI calls?
    Multiple BAPI calls in RFC Adapter
    may be helpful
    Thanks !!!

  • Instances created before db adapter poll completes.

    Hi,
    We have been seeing a couple of instances where these instances seem to have been created before the database adapter could finish off it's polling cycle.
    The DB Adapter in our case does a logical delete and updates a column with 'Y', the timestamp of which is updated in another column of the same table.The instance when it gets created goes and updates another timestamp in the same table.
    The problem is that in some cases the timestamp of instance is greater than the timestamp of database adapter leading to other issues.
    Can anyone explain what is happening here and any possible resolution for the same.
    Thanks,
    Shishir

    Hi Shishir,
    If I understand your scenario correctly then below happens:
    DB Adapter polls a table and picks up the records for processing. After picking up it internally updates a particular column (logical delete) as configured in Adapter configuration. Then in BPEL Adapter process there is a step where you update another column in same table (timestamp). And when you see Adapter process instance in BPEL console, you observed that BPEL process instance creation timestamp > update database column timestamp for the processed record.
    Is this your problem? If yes then its a normal behavior.
    When the BPEL Adapter process is instantiated then its in memory and is only dehydrated when transaction is committed, in other words the in memory BPEL instance will be persisted to BPEL internal database when the process is finished or if it encounters explicit checkpoint or wait kind of activities. And when this BPEL process is dehydrated that is the process instance creation time which you see on BPEL Console.
    Please let me know if this clarifies your problem or otherwise explain me further if I understood it wrong.
    Thanks.
    Regards,
    Ankit A.
    http://fusionmusings.blogspot.com
    Edited by: AnkitAggarwal on Apr 14, 2010 2:00 AM

  • Call an standard adapter inside a custom made adapter.

    Hello,
    I need to add a user to a group inside Active Directory. For this I needed to get some extra info (that I got via an adapter). Now I need to call
    the 'ADCS Add User to Group' adapter which comes with the AD connector. How can I do this? Some thoughts :
    - I can copy the source-code from this adapter and append it to my adapter
    - maybe I can modify my process definiton and make in some way (how?) that first my custom adapter is called and
    next the standard adapter.
    - Is there a way to call an adapter directly inside my adapter?
    Thanks in advance

    Ahhhh I see. Hmm you can't call the adapter like I was thinking then, essentailly you are thinking of one process task adapter calling another.
    Could you not update the users process form (probably the "groups" child form in this case) with the data that you get from your code and then that will trigger the group update automatically? The only other thing I think you could do would be to duplicate the group update adapter in your adapter but this could have the result of creating group memberships that are not seen on your AD child form and you really want the child process form to show all of a users group memberships.
    My approach would probably be to update the child form from the recon insert and allow the existing workflow to automatically update the group membership in AD.
    Ian

  • Implementing oracle.tip.adapter.api.record.XMLRecord

    I have a working custom JCA adapter, except it is not returning objects which implement the oracle.tip.adapter.api.record.XMLRecord class. I would do this except I cannot find that library anywhere to include in my classpath, so I cannot implement it.
    Where can I get this so I can implement it? Any help would be much appreciated.

    In case anybody else runs into this issue... I included jar files of my oracle installation until I found the right one. I think the orabpel.jar had this, or the orablpel-thirdparty.jar.

  • Diagnostics displaying: oracle.tip.adapter.api.LifecycleAware

    I have a bpel composite with file adapter on services lane. Everything checks ok, file adapter is running, weblogic running, but when the file adapter kicks in to poll the file (whose directory location is specified in the file adapter wizard) I get this error in the diagnostics log below. Note that file never gets picked up as no instances are shown in the em console.
    Any suggestions ? Kind regards..
    oracle.fabric.common.FabricDeploymentException: [JCABinding] [test111.ReadBinary/3]Unable to complete load due to: oracle/tip/adapter/api/LifecycleAware: oracle/tip/adapter/api/LifecycleAware {rootCauses=[]}
         at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry.access$3100(AdapterServiceRevisionRegistry.java:72)
         at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.endpointLoad(AdapterServiceRevisionRegistry.java:569)
         at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.activate(AdapterServiceRevisionRegistry.java:443)
         at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.setDefaultRevision(AdapterServiceRevisionRegistry.java:409)
         at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceSeries.setDefaultRevision(AdapterServiceRevisionRegistry.java:334)
         at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceSeriesSet.setDefaultRevision(AdapterServiceRevisionRegistry.java:140)
         at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry.setDefaultRevision(AdapterServiceRevisionRegistry.java:102)
         at oracle.integration.platform.blocks.adapter.AdapterService.defaultRevisionChanged(AdapterService.java:347)
         at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.processDefaultInSeries(FabricKernelInitializerServlet.java:824)
         at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:773)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)

    Hi Vlad,
    The file is opaque format, so I'm not using the builder for the file. I did for another project do a file adapter using a wizard for a space delimited file, but it seems that during file polling it's throwing the same exception. So for the two files which are of type opaque and delimited format, using the file adapter wizard, I'm getting the same exception I posted earlier:
    java.lang.NoClassDefFoundError: oracle/tip/adapter/api/LifecycleAware
         at oracle.integration.platform.blocks.adapter.fw.util.SCALifecycleNotifier.onLifecycleEventActivationSpec(SCALifecycleNotifier.java:187)
         at oracle.integration.platform.blocks.adapter.fw.util.SCALifecycleNotifier.onEvent(SCALifecycleNotifier.java:128)
         at oracle.integration.platform.blocks.adapter.fw.util.SCALifecycleNotifier.onLoad(SCALifecycleNotifier.java:92)
    Best,
    Manny

  • Oracle.tip.adapter.api.record

    I am producing an XMLRecord converter class which needs the oracle.tip.adapter.api.record.XMLRecord interface definition. Can anyone tell me where to find the library with this class?
    Does anyone have an example of a XMLRecordConverter implementation class?

    In case anybody else runs into this issue... I included jar files of my oracle installation until I found the right one. I think the orabpel.jar had this, or the orablpel-thirdparty.jar.

  • Adaptive web service call & XI

    Hi,
    I been trying to make an adaptive web service call from a web dynpro Java component to a service provided by XI (or PI). It seems that the web dynpro java runtime requires access to the WSDL file (a logical destination to the WSDL needs to be maintained with Visual Composer).
    Now the problem is that XI does not "publish" the WSDL file anywhere - the XI developers can generate the WSDL file and deliver it to me, so that I can generate the proxy classes & context in NWDS. But as soon as I deploy and run the application, it will not work since it is complaining basically that it doesn't find the WSDL.
    Is there a best practice for this problem? Or is there a way to avoid the adaptive web service framework for needing the WSDL at runtime?
    The best workaround that I have found for this problem seems to be this: How WebDynpro consumes XI web service using adaptive web service model
    (But even this seems a bit complicated way (with all the file copying to different servers, etc.) for such a simple problem.)
    Regards,
    Karri

    Hi Eyal,
    Go through this document.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f07de95b-d81c-2a10-3daf-96172e846d00
    Use the WSDL, userid and password of your XI System.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/11703e5da3e946e10000000a114084/frameset.htm
    Regards,
    Mithu

  • Problem with calling AQ JMS Adapter with Asynchronous BPEL Process

    I have a AQ JMS Adapter and i'm invoking the adapter in my BPEL process.
    I'm passing an xml as payload to AQ JMS adapter. When i post the xml in the BPEL Control, i'm getting the follwoing message:
    "Cannot find the specified instance". I have tried 3-4 times but getting same message all the time.
    However, i'm able to publish xml to JMS Topic with synchronous BPEL process.
    I want to use asynchronous BPLE process.
    Please let me know if there is a way to overcome this issue.
    Thanks in advance.
    Thanx in Advance.

    I am experiencing the exact same issue while configuring for Tibco EMS!!!
    I have also checked the oc4j-xa.xml file etc and I am also unable to find any guidance on the steps required from XML config files through to adapter wizard entries!

  • Setting Adapter-Specific Message Attributes in an Adapter Module

    Hi!
    I want to set Adapter-Specific Message Attributes in an Adapter Module. Is it possible to configure the Variable Transport Binding in this way?
    Best regards,
    Daniel

    I'd like to know it as well.
    I've checked out the XI AF API but didn't find much.
    One thing that I've observed is that since Module API can treat any Message Class (not only XI Messages), I guess it won't have any specific methods for XI messages (hence, no dynamic configuration). But you could try to get the message object and then treat it as an XI Message (you would be doing the steps that the Java Mapping API do before it calls a Java Mapping class) to get the Map objects (which include the parameters).
    Good luck on it, and let us know if you have any progress!
    Regards,
    Henrique.

Maybe you are looking for