BPEL with TWO data base polling adapters????

Hi,
Can some one tell, Is it possible to have two data base polling adapters in one BPEl process??
What I am trying to do is , simultaneoulsy polling two independent data base tables in one bpel with two receive activities, but it did not work as BPEl should have only one start activity.
Please post your ideas , if we can achive this.
Thanks,
Kumar

So, are you trying to detect the fact that two different rows in two different tables were both inserted? If so are they related some how? Are they parent child? Is one guaranteed to appear before the other?
I'm thinking two processes with database adapters that in turn call a third process which has two receives which are connected via a correlation set.
Another solution would be database triggers that look for the existence of both rows before inserting into a third table -- this third table would drive the database adapter.

Similar Messages

  • Demantra - can it run with two Data Models in parallel?

    Hello,
    we face the following situation: we have items that have to planned on a daily basis; many other items, however, only need weekly planning.
    Demantra only allows one base time unit in its data model. If we choose "daily" for all products, the system size will increase enormously.
    If we choose "weekly" for all products, we can not plan our daily products for specific days in the week.
    The idea is now to set up a Demantra System with two data models in parallel. Is this possible? Would they reside in different databases or database users?
    The Business Modeller allows to create new models, but can they run in parallel? If they can, how would the user access the different data models?
    Thanks for any hints on this! 

    Can you please elaborate on this issue?
    Thanks

  • Only a connection with the data base

    I have an application MDI - opening of some windows at the same time.
    I use framework ADF Oracle - Swing/ADF JClient.
    For each new JInternalFrame a BindingContext (bootstrap) is servant, with this a new connection in the data base is created. Already I tried to use the same, but generally an action in a screen intervenes with the other.
    How I can make this (application MDI - ADF) only having a connection in the database?
    Thank you!!!

    If I have only one connection with
    the Data Base, two threads can't to request the data
    in the same time?.If two threads use the same database connection at the same time, bad things will happen. That is why each thread must use its own database connection. The easiest way to make that happen is to have a pool of connections.
    This site will do translations for you:
    http://world.altavista.com/
    It is not very good but it knows Spanish better than I do.

  • Can I set up a WDS network with two main base stations?

    I have an AEBS in the main part of the house and a time capsule in the office in the back of the house, currently with one internet connection (it's cable modem) into to the AEBS. I have tried to use relays (two airport expresses) in a WDS to have the internet connection reach the time capsule, but unfortunately the distance is too great and it won't make it.
    I can move the internet connection and AEBS into the middle of the house and everything would be fine (one internet connection into the house, no need for relays to reach the time capsule), but this requires rewiring the cable connection and adding a power outlet, which seems like a lot of work.
    My other option is to simply have another internet connection hardwired into the office. This would be using the same cable that comes into the house and is split outside. If I go this route--my question is--can I get the time capsule and the AEBS be on the same WDS network (same name, same passwords?), or will I have two separate networks in the house? If it is the former--how do I set it up? Can I have a WDS with two main base stations? Or is there an easier route?
    Thanks the help and advice...

    My other option is to simply have another internet connection hardwired into the office. This would be using the same cable that comes into the house and is split outside. If I go this route--my question is--can I get the time capsule and the AEBS be on the same WDS network (same name, same passwords?), or will I have two separate networks in the house? If it is the former--how do I set it up? Can I have a WDS with two main base stations? Or is there an easier route?
    Just run the Ethernet cable from one of the LAN ports on the AEBS to the WAN port on the Time Capsule. Configure the Time Capsule to operate as a bridge.
    You do not use WDS when they are wired together.
    Then configure the AEBS and Time Capsule to use the same SSID, wireless encryption type/level/password. Have them operate on different channels as far apart as possible.

  • Color Highlights not working in bar chart with two data points

    Iu2019m using Crystal Reports 2011.  I have created a bar graph using two data fields in the Chart Expert.  I have set the colors for the bars in the Color Highlights tab, but the colors that I have defined have not been applied to the graph.  
    I have tried changing the colors numerous times and have done it in both design and preview modes.  It seems to be somethign with having two data points because I don't have this problem when using just one data point.  Please help!

    is the colour mode Color by group or color by series

  • Ago function with two dates

    I use OBIEE and I got some difficulties with the times dimensions and the function AGO because I used two differents dates for my measure.
    My fact table:
    Ordered ||Delivered||Amount
    12/21/2008 ||1/20/2009||30000
    1/1/2009 ||2/1/2009 ||20000
    1/1/2009 ||3/1/2009 ||10000
    2/1/2009 ||2/1/2009 ||50000
    2/1/2009 ||3/1/2009 ||50000
    12/25/2009||1/15/2010||10000
    1/1/2010 ||2/1/2010 ||25000
    1/1/2010 ||3/1/2010 ||20000
    1/1/2010 ||2/1/2010 ||20000
    1/1/2010 ||3/1/2010 ||15000
    I have two Times Dimensions (Ordered Times AND Delivered Times) and one fact table. I already tried with 2 facts table and 1 time table without success too cause they not link the value for delivered and ordered
    I want to compare the delivered situation (Amount Qty) for the same ordered day last year
    I created a prompt with a date (ex.: Ordered date <=1/1/2010 AND Delivered date >=1/1/2010) and I want to compare one year ago with 1/1/2009 (Ordered Date situation…)
    I wish the results below:
    Delivered Month||Amount||Previous Amount Year Ago
    1 || 10000 || 30000
    2 || 45000 || 20000
    3 || 35000 || 10000
    I got some problem cause I had the 100 000 in my previous year (Ago) and I don’t want it because it was ordered after 1/1/2009 (Previous year). I know that the ago function concerns the Sum of Amount by Delivered Date, Year -1 ...
    Does somebody has a solution for this ? Thank you

    Hi,
    The problem is that I only know the offset values at row level, i.e., when I run my answer report some records use a certain offset value (offset1) while others use another offset value (offset2)
    The offset value can be determinate by a logical column.
    Is it possible?
    Thanks.

  • BPEL with two operations

    Hi,
    Can someone help me in the below mentioned requirement ?
    I want to develop a bpel having two operations . If any one operation is called then the process instance should be created and the flow should be completed.
    Example :
    BPEL - Postpaid
    Operation :
    1.Create
    2.Update
    Thanks and Regards,
    Sachin Thakkar.

    Hi,
    Please let me know whether i have understood correctly that you have conveyed.
    Steps to follow :
    1.I have to create a wsdl with two operations.
    2.Create a bpel process using the wsdl created in step 1.
    3.Use pick activity instead of receive activity.
    If possible , then please share some document.
    Thanks and Regards,
    Sachin Thakkar.

  • Report with two data sources...Need help!

    Post Author: mamorgan1
    CA Forum: General
    Good afternoon,It has been a while since I have used Crystal Reports and I was hoping someone could help me with this:Let me explain the data:We have an application that tracks Cases for Patients.  For every 1 Case there are MANY Notes.  For every 1 Case the are MANY Appointments.  I have two data sets that I am using as my data sources for this report:1.  Notes by Case2. Appointments by CaseOkay, I would like to create a report that displays for each Case:1.  Case information2.  Appointments related to the Case3.  Notes related to the CaseI keep getting a bunch on duplicates due to the 1:M relationships with Case.  Is there a solution?  I hope I have been clear.Thanks in advance.mamorgan1 

    Post Author: Jagan
    CA Forum: General
    Where does the case information come from? Where's the case data source?
    Try pushing one of the tables into a subreport

  • Report generation from BI with HUGE data base.

    Dear All
    Can anyone gimme solution for problem given below ?
    I am trying to generate Customer / Vendor related report from BI.  Data base is too too big.  Whenever i try to generate report, system gets hanged and report does not get generated.
    Need help in this.
    Regards
    Ramesh Barve

    Hi Ramish,
    Not enough info...
    What verison of Crystal Reports are you using?
    Are you sure it's hanging and you simply have to wait for the report to generate? If there are millions of records being returned and client side  or second pass filtering/formatting it can take time to render that report.
    Are there any errors being reported? CR will apeear to be hung, it's simply waiting for the database to start streaming the data back and appears to be not responding.
    If you add record selection filtering does that retunr data?
    WHY are you returning that much data? It can't possibly be of any use to anyone. Do not use CR as a database archiving tool.
    Don

  • Infospoke with two data source

    Hi all,
    is there a way in an Infospoke to include infoobjects belonging to two different data source?
    tks,
    Federico

    Hello Frederico,
    as far as I know you can only use one data source of type InfoObject, basic cubes or ods in an infospoke. Perhaps Analyses Process Designer (APD) may help you to achieve your goal. You can use it to join your InfoObject into a new one, or create a transactional ODS with the desired data. These new objects can than be used in an infospoke. And you can use a process chain to put all required steps in the right order.
    Kind regards,
    Jürgen

  • Threads in while loop with two data acq loops

    Good day, I am using two while loops to perform data acquisition from two different pieces of hardware inside a "main" while loop - a total of three while loops. I want each of the data acq loops to run as fast as possible. With this model will each data acq loop run in a separate thread or will they be running in the same thread because they are both inside the "main" while loop.
    I'm not getting the performance I would like and I'm looking at ways to optimize the execution. 
    Thanks
    John 

    I would have a loop for each of you data acquisition tasks and at least one, possibly two additional loops that will write your data to file. Let the acquisition loops collect the data as quickly as possible and simply queue it off for further processing. When these loops are in parallel LabVIEW will run them on separate threads. In addition you could have a separate loop with an event structure that could handle you UI interaction. This loop could control the overall application with respect to starting and stopping the tasks, etc. You don't really need to contain all these loops in any other loop or structure. They can all reside on the block diagram next to each other. Ideally you will create subVIs for the data acquision and data processing tasks.
    Message Edited by Mark Yedinak on 10-06-2009 04:29 PM
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • How syncronize with the data base after pre-loading the data

    Hi,
    I have pre-loaded the data from the database table into the cache.
    If the key is not found in the cache i want to it to connect to database and get the value from the table. How to achieve this?

    Hi JK,
    I have pasted my cache loader code, config file and the main class in the other post but i m not sure what is the issue with it. Its not working. Please can you tell me what might be the issue with that piece of code. I m not getting any exception either but the load() or loadAll() method is not at all getting triggered on invoking cache.get() or cache.getAll() method. What might be the cause for this issue?
    Can you give me the coherence-cache-config.xml contents?
    I m not sure whether its the issue with the config file because i have read some where that refreshaheadfactor is required to trigger the loadAll() method.
    Edited by: 943300 on Jul 4, 2012 9:57 AM

  • Handling XSD type long in BPEL with empty data

    Hi Guys,
    I have XSD that has element with datatype long and but not passing any value.
    I am getting below error :
    Caught exception while handling request: deserialization error: java.lang.NumberFormatException: For input string:
    Here is the request message:
    <messages><input><Invoke_1_insertRequest_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters"><insertRequest xmlns="http://persistence.myhost.com/">
    <RequestType_1>
    <sId/>
    <rID>100</requestID>
    <aNumber/>
    <requestProcess/>
    </RequestType_1>
    </insertRequest>
    </part></Invoke_1_insertRequest_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>Client</code>
    </part><part name="summary"><summary>Caught exception while handling request: deserialization error: java.lang.NumberFormatException: For input string: ""</summary>
    </part><part name="detail"><detail>null</detail>
    </part></remoteFault></fault></messages>
    WSDL file used for Partner link :
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://persistence.myhost.com/" name="PersistenceSessionEJBWebServiceService" targetNamespace="http://persistence.myhost.com/">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://persistence.myhost.com/" elementFormDefault="qualified">
    <complexType name="RequestType">
    <sequence>
    <element name="sId" type="long" nillable="true"/>
    <element name="rID" type="long"/>
    <element name="accNumber" type="long" nillable="true"/>
    <element name="requestProcess" type="tns:ListOfRequestProcessType" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ListOfRequestProcessType">
    <sequence>
    <element name="item" type="tns:RequestProcessType" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
    <element name="test" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="RequestProcessType">
    <sequence>
    <element name="retryCount" type="int"/>
    <element name="state" type="string" nillable="true"/>
    <element name="requestProcessId" type="long"/>
    </sequence>
    </complexType>
    <element name="insertRequest" type="tns:insertRequest"/>
    <complexType name="insertRequest">
    <sequence>
    <element name="RequestType_1" type="tns:RequestType" nillable="true"/>
    </sequence>
    </complexType>
    <element name="insertRequestResponse" type="tns:insertRequestResponse"/>
    <complexType name="insertRequestResponse">
    <sequence>
    <element name="return" type="tns:RequestType" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    </types>
    <message name="PersistenceSessionEJBWebService_insertRequest">
    <part name="parameters" element="tns:insertRequest"/>
    </message>
    <message name="PersistenceSessionEJBWebService_insertRequestResponse">
    <part name="parameters" element="tns:insertRequestResponse"/>
    </message>
    <portType name="PersistenceSessionEJBWebService">
    <operation name="insertRequest">
    <input message="tns:PersistenceSessionEJBWebService_insertRequest"/>
    <output message="tns:PersistenceSessionEJBWebService_insertRequestResponse"/>
    </operation>
    </portType>
    <binding name="PersistenceSessionEJBWebServiceSoapHttp" type="tns:PersistenceSessionEJBWebService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="insertRequest">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="PersistenceSessionEJBWebServiceService">
    <port name="PersistenceSessionEJB" binding="tns:PersistenceSessionEJBWebServiceSoapHttp">
    <soap:address location="http://myhost:8888/persistence/PersistenceSessionEJB"/>
    </port>
    </service>
    </definitions>

    Hi,
    The Web Service you are calling is trying to create a long type variable, even you are not passing anything.
    Pass 0 for SId, it will work.
    Other solution is to modify the schema definition in the WSDL if you can.
    If an element is not mandatory then you should specify minOccurs="0" and avoid passing null elements like &lt;SId/&gt; because some XML deserializers try to parse and instantiate an element even you have specified nillable=true in schema definition.
    Change &lt;element name="sId" type="long" nillable="true"/&gt; with &lt;element name="sId" type="long" minOccurs="0" nillable="true"/&gt;
    and don's pass an element if it is empty.
    If you are using Assign activity, it will create empty element if you don't assign value to an element. Use transform activity and if check for empty elements.
    Dharmendra
    http://soa-howto.blogspot.com

  • Is possible to restore with another data base ?

    Hi,
    I want to restore my DEV database with PRD database in TESTserver through SQL enterprise manager. I have backup of PRD, which is taken from DB13.
    Is that possible to restore like this?
    Gayathry.

    Hi,
    1. Does the database ALREADY exist on the target server?
    2. If so, does the directory structure where the MDF/LDF match where the MDF/LDF reside on the live server. In this I mean if the files on the live server were located in the C:\MyDir\Data folder, do they also reside like that on the target serverr?
    IF NOT ... you need to use the WITH MOVE option to place the MDF and LDF in the folder(s) that are being used on your target  server. If you are using the Restore wizard, you need to change the file path on the Options tab of the wizard. Change the path in the "Move to physical file name" option to the desired location.
    if this not work
    try to restore database with same SID on target server i.e PRD than after you can change the dtabse from PRD to PSD using following sap note
    151603
    regards,
    Kaushal

  • Urgent! PSJ. WORKING with Logistic Data Base.

    I use PSJ. and need to get out some spp elemnts from there.
    so on the selection screen I set down spp elements "11" AND "12".  So i need to work with <b>only these</b> spp elements.
    But the command <b>GET PRPS_R</b> gives out other spp elements as well (<b>the ones that are situated upper in them hierarchy</b> ) . why is that and what can i do with it?

    >>pls any one help regarding this we need the urgent solutions .
    Then you are wasting precious time... This is an Oracle forum.

Maybe you are looking for

  • Reg - Deployment Error in NWDS7.0

    Hi All , Im trying To Deploy Web Dynpro Sample Application By Creating project Name and Application and Iview . When im try to deloy the application  after giving SDM Pasword it throws Following Error . please suggest Valueble inputs . com.sap.tc.web

  • I'd like a new iPod Classic model

    Is it really too much to ask for one with a larger SSD drive and possibly wireless sync capabilities?  Admittedly, since I got a Sonos the iPod has been relegated to the office but I still use it most days.  What else would you like?

  • Please help -  How to export HTML file into MS word format

    How to export HTML file into MS word file without any change in design format? As I have been trying to do that but problem is coming in formating. Table's witdth and height get disturbed in MS word when I import the html file. What I do after creati

  • Bridge will not launching on PS CS4

    I have windows XP.  Bridge will not launch for CS4.  We have tried to restore to a previous version, uninstalled and installed the program.  Restored the previous versions of my plug in software.  Bridge still wont launch.  I can still gain access to

  • Temporary tablespace not cleared

    Hi, I have a temporary tablespace in one of my Oracle 9i databases that does not ever get cleared of data. I have altered the tablespace to autoextend by a few megabytes each time but I was wondering why a temp tablespace remains full even after all