How to merge two DataSources?

Hi all!
I'm trying to merge 2 dataSource into 1. I'm using createMergingDataSource() method, but it didn't work and I've 2 questions:
- Does this method mix the DataSources or only concatenate it?
- I don't know if I'm doing the right steps. Does anybody know it?
Thanks in advance! :D

Hi Captfoss!
I tried to send two SendStream on the same RTPManager but I didn't work. Because When I receive this stream in other computer the sound is not good. Any idea? I tried to merged the dataSources previously too, but It seem to send only one.
On other way, you said me that I was creating the sendStream bad, because of the index. The process to create a SendStream is this:
outputDS = (DataSource) outputProcessor.getDataOutput();               
outputProcessor.start();
sendStream = RTPmanager.createSendStream(outputProcessor.getDataOutput(),0);          
sendStream.start(); You told me that I should use the index 1, but when I tried that It throws me a NullPointerException. Any idea??
Thank you very much!:D

Similar Messages

  • How to merge two repositories using(MUD)

    hi all,
    how to merge two repositories using mude, for example i have sh rpd and paint rpd how to merge two repositories using Multi user development(mud), please don't give venkat forums link and oracle's training doc links.
    Is this possible? if it is possible please help me .
    Thanks
    Naresh

    Hi Naresh,
    What you could do is:
    1. do a ontime command line merge of both repository using the nqudmlexec tool
    2. In the mergerd repository created two project (sh and paint) and assign one bussiness model to each project.
    3. Make this the master repository for your MUD.
    4. Check the projects in and out.
    regards
    John
    http://obiee101.blogspot.com

  • How to merge two search button from different criteria

    How to merge two search button from different criteria
    this image show the question
    http://s24.postimg.org/4algthuj9/1111.jpg
    two different criteria for the same view and I need to merge it in one button as when I click
    on the button search result give from two criteria parameters

    You can!t using af:query. the af:query component comes as is. If you can't do it through the properties, you probably can't do it at all.
    As in your other thread, the way to go is to program your own search form. This way you can use a layout and functionality you like.
    For this you create a form with input fields for the values you are searching for, put them on hte page in a way you like and in the end by hitting on a button (e.g. called Search) map all inputfields to parameters of a service method you defined in your application module or VO. This service method then executes a view criteria returning all matches in the default iterator (just as if you had used af:query.
    Timo 

  • How to merge two XML's with JDOM?

    How to merge two xmls's using jdom? like:
    is there a way to add the complete content one xml into the parent node of another xml?
    //in.xml
    <?xml version="1.0"?>
    <people>
    <person>
      <name>ABC</name>
      <email>[email protected]</email>
    </person>
    </people>
    //out.xml
    <?xml version="1.0"?>
    <address>
    <city> abccounty</city>
    <state> abcstate</state>
    </address>
    Merged XML:
    <?xml version="1.0"?>
    <people>
    <person>
      <name>xyz</name>
      <email>[email protected]</email>
    </person>
    <address>
    <city> abccounty</city>
    <state> abcstate</state>
    </address>
    </people>
    import java.util.List;
    import org.jdom.Document;
    import org.jdom.Element;
    import org.jdom.input.SAXBuilder;
    import org.jdom.output.Format;
    import org.jdom.output.XMLOutputter;
    public class MergeXMLS {
         public static void main(String[] args) {
              try{
                  SAXBuilder builder = new SAXBuilder();
                  Document books = builder.build("D:/in.xml");
                  Document onebook = builder.build("D:/out.xml");
                  Element root = books.getRootElement();
                  List rows = root.getChildren();
                  for (int i = 0; i < rows.size(); i++) {
                      Element row = (Element) rows.get(i);
                      onebook.getRootElement().addContent(row.detach());
                      System.out.println(row.getName());
                  new XMLOutputter(Format.getPrettyFormat()).output(onebook, System.out);
              }catch(Exception e){
                   e.printStackTrace();
    }

    The above code only add's the first node.
    I changed the code little differently to
                  SAXBuilder builder = new SAXBuilder();
                  Document books = builder.build("D:/in.xml");
                  Document onebook = builder.build("D:/out.xml");
                 //trying to add second xml into the first
                  books.getRootElement().addContent(onebook.getRootElement().getContent()); 
                  new XMLOutputter(Format.getPrettyFormat()).output(books, System.out);
    here is the exception from the above code:
    org.jdom.IllegalAddException: The Content already has an existing parent "address"
         at org.jdom.ContentList.add(ContentList.java:218)
         at org.jdom.ContentList.add(ContentList.java:140)

  • [Help] How to merge two rows in a datagrid?

    How to merge two rows of a specific column in a datagrid?
    ex.
    |_______|_____|_____|
    | merged |_____|_____|
    |_______|_____|_____|
    |_______|_____|_____|
    thx a lot~

    I need to merge column heading. Have u find any solution for
    ur problem?

  • How to merge two cells in a row

    hi freinds,
    how to merge two cells in alv grid using oops.
    for eg ,in the first row there is text premraj
             n in the second row there is cheguri
              my requriment is two merge the two cells ie to remove the horizontal line between them
    thanks & regards,
    premraj

    Well, as a new member you should learn to search the forum first before posting questions. Using keywords like "jtable merge cell" will find other postings on this topic. Some with solutions some without, so you will need to read a few and decide on the approach you want to take.

  • How to merge two accounts?

    How to merge two accounts apple id and icloud (purchase)?

    You can't. See: http://support.apple.com/kb/HT4895

  • How to merge two adjacent partitions?

    How to merge two adjacent partitions?

    The formal steps are delete the second partition and right click on first one, choose "extend".
    Of course this will erase data on second partition.
    Some third party tools can help do the job with keep data on second partition. 
    If you have any feedback on our support, please send to [email protected]

  • How to merge two Outlook 2010 pst data files?

    How to merge two Outlook 2010 pst data files?

    Easy way: with the one you want to use open in Outlook and the other one not in your profile, go to File, Open, Import.
    If you only want to merge some content, open both pst files in outlook and drag between folders. For calendar, use a list view to see all of the appointments.
    Diane Poremsky [MVP - Outlook]
    Outlook Daily Tips |
    Outlook & Exchange Solutions Center
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • How to merge two conflicting contact on iPhone and on laptop?

    How to merge two conflicting contacts?
    When syncing my iPhone w/ my Mac laptop, it seems that Apple does not provide an option that allows you to merge the data from two conflicting contacts.  For example, you have a contact on your iPhone for Andy Summer and a contact on your laptop for Andy Summers - one contact contains only Andy's name and email address, the other contact contains only Andy's name and his mailing address.  I'd like to be able to merge the data from these two contacts into one and save it to both, but the Conflict Resolver in the syncing program (I think it's in iTunes) does not offer an option for merging the two.
    Does anyone have any knowledge about 1) how to merge data from two conflicting contacts, or 2) some other way to keep the data from each so that I don't have to choose one over the other?

    Jawad,
    First of all,You need to make teaming on both the interfaces on the server side.Which mode do you want to use? Active-Active or Active-Standby.
    Server side :Active-Active - You need to configure the switch side to be a etherchannel/LACP. It can be done by the commands on the cisco 4006.
    Server side :Active-Standby - You need nothing to do at the switch side.
    Note: Seems PAGP is a proprietary of cisco. Server shouldn't know that. To be bound with mode "on" of "lacp" should be fine. It depends on the server side as well.
    HTH
    Thot

  • How to merge two movies documents into 1 in  iTunes?

    Can anyone tell me how to merge two movies documents into one in iTunes? Sorry maybe this is an easy and dumb question for you, but I have totally no idea. I download some movies in Windows and use Kigo Video Coverter to converte them into mp4 format. So I can watch it through new Apple TV in my big screen TV. Now I am thinking maybe I can upgrade my experience a bit more. Because some movies are downloaded into 2 or 3 separated document and I have to choose and click them while seeing. Is there any software can merge those separated documents into one single in mp4 format? I wish you could give me several to choose . Freeware is better. Thanks in advance.

    Thanks. I've tried simplemovies application but it seems too much complicated for me. I read some passages online and bought Quicktime Pro ($30) and finally link 2 mp4 documents together. So easy. Only issue is I have to pay $ 30 .

  • How to merge two different images in photoshop?

    I am new here. I am starting to learn photoshop.How to merge two different images in photoshop? Please guide me. Thankyou.
    http://www.nissiinfotech.com/

    SPAM

  • How to merge two WD components in one WD application?

    Hi SDN,
    Can any one tell me How to merge two WD components in one WD application?
    suppose i have two WD componets z_comp1 & z_comp2 now i want to use both these components in one WD application.
    Regards,
    Rahul.

    hi rahul...........
              you can use any number of wd components into one component.
    eg:
            consider you are having 2 components 'A' and component 'B' and you want to embed both into component 'C'.
           You can just click the 'Create' icon which will be present in the properties tab of the component controller.
           you mention the name of bothe components 'A' and 'B'.
            So now the interface controller of both the components are created in component 'C'.
           Now you can use the views present in both the components in component'C'.
    --regards,
      alex b justin

  • How to join two DataSource in a single InfoSource

    Hello,
    I have got two datasources which both share the same primary key (Field IDCO) and also have several individual fields. For example:
    Datasource 1:
    | IDCO | price |
    Datasource 2:
    | IDCO | amount |
    Now I would like to join both datasources into a single InfoSource that should look like:
    | IDCO | amount | price |
    In plain SQL I would do something like
    Select ... from datasource1 inner join datasource2 on datasource1.IDCO = datasource2.IDCO
    Any ideas how this can be achieved be achieved in the Data Warehousing Workbench?
    Best Regards
    Christoph

    Hi Christoph Außem, welcome to SDN world....
    Steps:
    1. Create a InfoSource with  |IDCO | price | amount -  InfoObjects. then map Datasource 1 with InfoSource here Mapping is like below..
    DataSource1-IDCO = InfoSource-IDCO
    DataSource1-Price  = InfoSource- price
    EMPTY (NULL       )  = InfoSource- Amount
    DataSource2-IDCO = InfoSource-IDCO
    DataSource2-Amount  = InfoSource-Amount
    EMPTY (NULL       )  = InfoSource- Price.
    In this wasy you can map the fields and InfoObjects.
    Thanks
    Reddy

  • How to merge two pages of a PDF into one

    How do I merge two pages (within the same PDF file) into one page?  For example, I have a scanned 3x5 card; the front of the card is on page one and the back of the card is on page two.  How do I merge them so the front and back of the card is on the same page?  Thanks!

    Phillip,
    It works well because InDesign is highly reliable for placing PDF files (you can even choose which layer):
    And it uses the common PDF Export presets for the Creative Suite. I've used it very reliably to place ads saved as PDF, and including them in a program guide, then exporting the entire project as one PDF file.

Maybe you are looking for

  • Exporting to Encore from Premiere

    Hi all, I have Premiere Pro CS6 and I have completed my ediring in Premiere. I am ready to export the work so I can place it into Encore and do more work. However in Premiere , I go to export, media and do all the settings. Yet I cannot work out what

  • Slow transfer speed between existing servers and new servers

    I have an issue with copying files to a new HP physical server with Esxi 5.5 host and Windows 2012 Server from anywhere in our current network.   We have an older HP server with Esxi 3 and multiple Windows 2003 vms, including a domain controller, fil

  • Why does only arrow move on desktop?

    Why does only the arrow move on desktop but it doesn't do anything?

  • 500 Internal Server Error In output of OA frame work

    [http://techxis:8988/OA_HTML/runregion.jsp] Hi All I am new starter for OA Frame work.i have design normal hello world page on Jdeveloper but when i run that page followin error is coming.

  • Vertical multiline tableheader

    The following code example tries to build a tableheader, consisting of multiple lines, rotated over -90 degrees, and horizontaly and verticaly centered. (the calculation of the needed height is done separately) Everything works fine, but when the tab