Using XML to exchange data between different databases?

Hi,
Does anyone know of any case-studies or tutorial's where XML has been used to transfer data between different databases... i.e. oracle to sql server?
I basically looking into the differences between two schema's and what sort of tranformations need to take place.
Thanks in advance guys!

Hi,
Does anyone know of any case-studies or tutorial's where XML has been used to transfer data between different databases... i.e. oracle to sql server?
I basically looking into the differences between two schema's and what sort of tranformations need to take place.
Thanks in advance guys!

Similar Messages

  • When / why use XML to store data instead of database table ?

    Hi All,
    I still not use XML much in applications and don't know much about its utilization.
    I read here and there about storing data as XML instead of into database tables.
    - could any body please tell me when / why use XML to store data instead of database table ?
    e.g : store inventory per warehouse in XML format. ?
    - What is the other cases or reasons of extracting database records into XML or vice versa ?
    - is there any good pdf on this ?
    Thank you for your help,
    xtanto

    It depends entirely what you want to accomplish with the 'XML in the database'. There are basically 3 independent methods: As CLOB, as XMLType views or as native XMLType 'columns'
    Each method has advantages and disadvantages, especially in the performance vs purpose tradeoff.
    The Oracled Press book "Oracle Database 10g XML & SQL Design, Build, & Manage XML Applications in Java, C, C++, & PL/SQL" is highly recommended for anyone interested in Oracle and XML. http://books.mcgraw-hill.com/getbook.php?isbn=0072229527&template=oraclepress

  • Can I use UDP to exchange data between 2 VIs on the same computer ?

    I try to use UDP (because I don't want to write a share_memory dll ..) to exchange datas betweend 2 VIs.
    Is it possible ? (so far, it doesn't work)
    Is there a better way to do that (and faster than write a shm in C) ?
    thank you !

    Yes, that's no problem...If you search through the examples shipped with LabVIEW you'll fine VI's that exchange data via UDP and you can run them on the same machine.
    Are the VIs in separate built applications, is that why you want to use a network protocol?
    MTO

  • Exchanging data between different browser windows

    Hi,
    It´s possible to eschange data between iviews that are in diferrent browser windows, using databag or Portal event functions?
    I want do save data in Databag or fire a event in Webdynpro application. After it, another application (webdynpro for java) will execute in another browser window,  reading the databag or handling the event.
    Both the application are in the Portal.
    Thanks,
    Márcio

    Should be possible if you can read & write to cookie from the application. Assuming both the instances are running on the same system.
    If you are using Portal Components ( JSPDynpage etc) then you can declare USER SPECIFIC personalization properties & this can store data . Since its personalized is can be read only by the logged in user, from either browsers.
    Greetings
    Prashant

  • Export and import UTF8 data between different databases

    Hi,
    I want to know how to do the following:
    export data from database 1 and then import the data to database 2
    I export user, without grants, with table data, without compress extents
    database 1:
    machine: SunOS 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Fire-280R
    oracle version: 8.1.7
    charset: SIMPLIFIED CHINESE_CHINA.UTF8
    database 2:
    machine: SunOS 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-2
    oracle version: 8.1.6
    charset: AMERICAN_AMERICA.UTF8
    Question:
    1. how to do it by using exp and imp command?
    2. Before exporting, what NLS_LANG should I set?
    3. Before importing, what NLS_LANG should I set?
    I can export data but got errors when importing as follow:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in UTF8 character set and UTF8 NCHAR character set
    IMP-00069: Could not convert to environment national character set's handle
    IMP-00000: Import terminated unsuccessfully
    Thanks a lot.
    Regards,
    Kenny

    Hi, Nat,
    Thanks for your post:
    I have tried the following:
    Case 1:
    - set environment NLS_LANG="SIMPLIFIED CHINESE_CHINA.UTF8" in machine 1
    - export data from machine 1
    - ftp the export from machine 1 to machine 2 in binary mode
    - set environment NLS_LANG=AMERICAN_AMERICA.UTF8 in machine 2
    - import the data to machine 2
    Result:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in UTF8 character set and UTF8 NCHAR character set
    IMP-00069: Could not convert to environment national character set's handle
    IMP-00000: Import terminated unsuccessfully
    Case 2:
    - set environment NLS_LANG="SIMPLIFIED CHINESE_CHINA.UTF8" in machine 1
    - export data from machine 1
    - ftp the export from machine 1 to machine 2 in binary mode
    - set environment NLS_LANG="SIMPLIFIED CHINESE_CHINA.UTF8" in machine 2
    - import the data to machine 2
    Result:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in UTF8 character set and UTF8 NCHAR character set
    IMP-00069: Could not convert to environment national character set's handle
    IMP-00000: Import terminated unsuccessfully
    Case 3:
    - set environment NLS_LANG=AMERICAN_AMERICA.UTF8 in machine 1
    - export data from machine 1
    - ftp the export from machine 1 to machine 2 in binary mode
    - set environment NLS_LANG=AMERICAN_AMERICA.UTF8 in machine 2
    - import the data to machine 2
    Result:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in UTF8 character set and UTF8 NCHAR character set
    IMP-00069: Could not convert to environment national character set's handle
    IMP-00000: Import terminated unsuccessfully
    Case 4:
    - set environment NLS_LANG=AMERICAN_AMERICA.UTF8 in machine 1
    - export data from machine 1
    - ftp the export from machine 1 to machine 2 in binary mode
    - set environment NLS_LANG="SIMPLIFIED CHINESE_CHINA.UTF8" in machine 2
    - import the data to machine 2
    Result:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in UTF8 character set and UTF8 NCHAR character set
    IMP-00069: Could not convert to environment national character set's handle
    IMP-00000: Import terminated unsuccessfully
    database 1:
    machine: SunOS 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Fire-280R
    oracle version: 8.1.7
    charset: SIMPLIFIED CHINESE_CHINA.UTF8
    database 2:
    machine: SunOS 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-2
    oracle version: 8.1.6
    charset: AMERICAN_AMERICA.UTF8
    I cannot successfully import the exported data from database 1 to database 2. What is the correct procedure and setting in NLS_LANG in both machines?
    Can I import 8.1.7 exported data to 8.1.6 database?
    Please help.
    Regards,
    Kenny

  • How to Integrate real time data between 2 database servers

    How to Integrate real time data between 2 database servers
    May 31, 2006 2:45 AM
    I have a scenario where the data base (DB2 400) is maintained by AS 400 application and my new website application based on j2ee platform access the same database also but the performance is very low. So we have thought of introducing new oracle data base which will be accessed by j2ee application and all the data from db 400 database will be replicate to oracle data base. In that scenario the only problem is of real time data exchange between 2 databases. How do we achieve that considering both the application As400 and j2ee website application are running in parallel and accessing the same information lying on DB2 400 database. We have to look at transaction management also.
    Thanks
    Panky
    DrClap
    Posts:25,835
    Registered: 4/30/99 Re: How to Integrate real time data between 2 database servers
    May 31, 2006 11:16 AM (reply 1 of 2)
    You certainly wouldn't use XML for this.
    The process you're looking for is called "replication". Ask your database experts about it.
    I predict that after you spend all the money to install Oracle and hire consultants to make it replicate the DB2/400 database, your performance problem will be worse.
    panks
    Posts:1
    Registered: 5/31/06 Re: How to Integrate real time data between 2 database servers
    May 31, 2006 11:55 PM (reply 2 of 2)
    Yeajh I now that its not a XML solution.
    Replication is one of the option but AS400 application which uses DB2/400 DB is highly loaded and proposed website also uses the same database for retrieval and updation purpose.All the inventory is maintained in the DB2/400 database so I have thought of introducing new oracle database which will be accessed by new website and it will have all the relevant tables structure along with data from DB2/400 application. Now whenever there is a order placement from new website then first it should update the oracle database and then this data shuold also migrate to db2/400 application at real time so that the main inventory which is lying on db2/400 should be updated on real time basis because order placement is aslo possible from As400 application. So the user from As400 application should not get the wrong data.
    Is it possible to use MQ products??
    -Panky

    Hi,
    the answer to your question is not easy. Synchronization or integration or replication data between 2 (or more) database servers is very complicated task, even though it doesn't look like.
    Firstly I would recommend to create good analysis regarding data flow.
    Important things are:
    1) what is primary side for data creation. In other words on which side - DB2 or Oracle - are primary data (they are created here) and on which side are secondary data (just copies)
    2) on which side are data changed - only in DB2 side or only on Oracle side or on both sides
    3) Are there data which are changed on both side concurrently? If so how should be conflicts solved?
    4) What does it mean "real time"? Is it up to 1 ms or 1s or 1 min or 1 hour?
    5) What should be done when replication will not work? I mean replication crash etc.
    BTW. The word "change" above means INSERT, UPDATE, DELETE commands.
    Analysis should be done for every column in every table. When analysis is ready you can select the best system for your solution (Oracle replication, Sybase replication server, MQ, EJB or your proprietary solution). Without analysis it will be IMHO gunshot into the dark.

  • VMI  EDI or XML to exchange data

    Hi Gurus,
    We are in process of setting up VMI  with one of  our bigest customer. We are working on SCM5.0  and ECC6. But customer has  non R/3 system and already have EDI infrastructure.
    This VMI implementation using APO ( that is  Customer system -> APO(DP/SNP)-> ECC6 (Sales order)),  Customer will be sending sales and stock data to APO and we may have to send  confirmation after Sales order create in ECC6.
    My questions is what is best method to exchange data between customer,  EDI or XML?  If so what are the advantages using one over other?
    Regards,
    Niranjan

    I agree with you that XML is better than EDI as it is latest and easy to maintain.  But we already EDI infrastructure (VAN etc) and using for different interfaces. That is initial investment has already been made for EDI.  Now I need to add new message, So in this scenario, is it smart to use existing infrastructure and use EDI OR going for XML  (we don't use XI in APO system, i don't know how work involved to setup)
    Thanks,
    Niranjan

  • VMI   EDI  or XML  to exchange data with external customer

    Hi Gurus,
    We are in process of setting up VMI with one of our bigest customer. We are working on SCM5.0 and ECC6. But customer has non R/3 system and already have EDI infrastructure.
    This VMI implementation using APO ( that is Customer system -> APO(DP/SNP)-> ECC6 (Sales order)), Customer will be sending sales and stock data to APO and we may have to send confirmation after Sales order create in ECC6.
    My questions is what is best method to exchange data between customer, EDI or XML? If so what are the advantages using one over other?
    Regards,
    Niranjan

    Hi,
    >>This VMI implementation using APO ( that is Customer system -> APO(DP/SNP)-> ECC6 (Sales order)), Customer will be sending sales and stock data to APO and we may have to send confirmation after Sales order create in ECC6.
    in terms of VMI your customer does not need to have SAP
    there are standard EDI VMI  messages likes orders/ ordersp/invrep
    which can be used in all VMI scenarios in SAP and in non SAP env.
    so in terms of multiple customers you should be using what your GS1 org or similar is proposing
    in your country - so you can add other clients in the same way
    if you use an EDI broker they usually have a predefined standard (EDI or XML)
    which can be easily used
    Regards,
    Michal KRawczyk

  • Data from different databases in the same report.

    Hi Everyone,
    I am trying to build a reconciliation report in which I need to show the data from the source and target, side by side.
    Source and target are both different databases, although being oracle only
    Whenever a new data model is created, it gets attached to a data source and in the report we need to choose a specific data model.
    Can we have data from different databases in the same report ?

    Yes, it is possible.
    One way Is to use dataTemplates. There you can make queries from any number of different databases (The max I have done is 5).
    It looks something like that:
    <dataTemplate name="NameOfTemplate">
    <dataQuery>
         <sqlStatement name="Q1" dataSourceRef="Connection1">
              <![CDATA[     select * from table1]]>
         </sqlStatement>
         <sqlStatement name="Q2" dataSourceRef="Connection2">
              <![CDATA[     select * from table2]]>
         </sqlStatement>
      </dataQuery>
      <dataStructure>
         <group name="RESULT1" source="Q1">
              <element name="P_FIRST_NAME" value="P_FIRST_NAME"/>
         </group>
         <group name="RESULT2" source="Q2">
              <element name="P_DATE" value="P_DATE"/>     
         </group>
      </dataStructure>
    </dataTemplate>dataStructure is very important when you get data from different places, if you don't define those elements, then only the result from Q1 is shown.
    The second possible way is to make as two different data models, each containing their own query and then set Main Data Set as concatenated SQL Data Source.
    Best of luck,
    Evelyn

  • Performace tuning: how to pass data between different batch job programs?

    Hi everyone,
        now i have one problem about performance tuning using threading in SAP programs: split one big program into two programs - one is main program and the other is sub program. using batch jobs, we can submit multi jobs of sub program at the same time.
        does anybody know how to pass data between different batch jobs? I don't want to use temp files. can ABAP memory can implement this?
        thanks!

    Wei,
    Yes we can transfer the data by using
    SAP Memory OR ABAP Memory.
    Ex:  V_count TYPE i.
      V_count = 100.
    LOOP AT  itab.
    IF v_count EQ 25.
    Here For every batch job
      EXPORT data TO MEMORY ID 'ABC'
       Function module
        JOB_OPEN
       JOB_SUBMIT
       JOB_CLOSE.
      ENDIF.
    ENDLOOP .
    IN your 2nd program.
    INITIALIZATION.
    IMPORT data FROM MEMORY IF 'ABC'.
    FREE memory if .---When you free the memory you will get recent data.
    Don't forget to reward if useful.

  • SAP threading-how to pass data between different batch job programs?

    Hi everyone,
        now i have one problem about performance tuning using threading in SAP programs: split one big program into two programs - one is main program and the other is sub program. using batch jobs, we can submit multi jobs of sub program at the same time.
        does anybody know how to pass data between different batch jobs? I don't want to use temp files. can ABAP memory can implement this?
        thanks!

    Passing Data Between Programs
    [http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/frameset.htm|http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/frameset.htm]

  • Single query to get data from different databases

    i need to capture certain fields from certain tables in database 1 and certain fields from certain tables in database 2 into one file using a single SQL statement.
    i tried searching on the net
    i found that dblinks can help
    but iam not sure if ill be able to create dblinks in my situation which is:
    i need to get data from oracle to be copied to mysql
    this is not a replication acitivity, but i need certain fields from one database and certain from the other
    so what iwas thinking is, if i use an sql query to get all the fields (i need around 40) from the different oracle databases and create a singlefile with one insert per select, i can then read that file into mysql
    instead of creating multiple sql queries for each table and creating separate files and eventually separate tables in mysql.
    can anyone help me here?
    or maybe suggest another approach.
    thanks

    Hi,
    I think dblink is the only option available to get data from different databases. It will work for your case too.
    CREATE DATABASE LINK db_link CONNECT TO user_name IDENTIFIED BY  password USING 'instance_name'you must have the system privilege 'create database link' to create db links. This way you can get the required data and put it in a table in oracle. But i dont know how to put this data from oracle table to Mysql.
    HTH
    Muneer

  • How to Use SOAPArray to Exchanged Data with a Web Service

    The method of a prototype Web service I created is defined to take many parameters
    and return an object of a user defined class. Furthermore, the user defined class
    includes data elements of another user defined class and the Java ArrayList class.
    This works with a Java client referencing the WebLogic created client.jar file
    but I don't know how well it will work with a non-Java client. In particular,
    with Perl which is the language that will be used by the developer who first will
    test with the prototype.
    In posts to this newsgroup use of "language-specific, generic containers" has
    been discouraged and the "language-agnostic" SOAPArray recommended. I have searched
    this newgsroup and the Web for examples of how to use a SOAPArray in a Web service
    EJB to receive parameters and return results but found none.
    Will someone refer me to an example or give an overview of how a Java Web service
    EJB running in WebLogic 6.1 would use SOAPArray to get parameter values and return
    results?
    Also, I would like confirmation that it is best to use SOAPArray to exchange data
    with a Web service to achieve the goal of a service accessible by any language.
    Thank you.

    Replies in-line:
    How are the structures, e.g. gltrans-workType, defined in the Web service?The structure is made up of nested Java Beans, but this does not mean that the
    client for your web service has to be written in Java. The WSDL that I sent contains
    everything that a .NET-based (or Perl-based, or Python-based, or VB-based, or
    C++ based) Web Service Stack needs to correctly create all the data types in the
    web services' signature! That's the beauty of XML Schema! It's programming language
    independent :-)
    In
    other words, what definition in Java resulted in the WSDL statements?The WSDL wasn't produced by WLS 6.1, but it (WLS 6.1) can consume it.
    What is the signature of method submitGLTransWorkAsJavaBean() in the
    Web service?public void submitGLTransWorkAsJavaBean(GlTransactionsCpyType glTransactionsCpyType)
    GlTransactionsCpyType is the outer-most Java Bean. WLS 6.1 does not generate
    Java Beans for you, but it will use ones that you defined. See the Java Bean tutorial
    on the Javasoft sitem for details on how to create a Java Bean.
    Was the WSDL generated using the WL tools for creating a Web service?No.
    Conclusion:
    You asked for someone to provide you with an example of how to use SOAP array
    in a WSDL, which is what the attached file contained :-) What you want to do now
    is find a tool that can generate Java Bean code from this WSDL (Apache Axis has
    a wsdl2java tool that should work), or create the Java Beans yourself. Afterwards,
    create a WLS 6.1 Web Service a expose it for a Perl or .NET client.
    Regards,
    Mike Wooten
    "Jeff Carey" <[email protected]> wrote:
    >
    Please elaborate.
    How are the structures, e.g. gltrans-workType, defined in the Web service?
    In
    other words, what definition in Java resulted in the WSDL statements?
    What is the signature of method submitGLTransWorkAsJavaBean() in the
    Web service?
    Was the WSDL generated using the WL tools for creating a Web service?
    Thank you.
    "Michael Wooten" <[email protected]> wrote:
    Hi Jeff,
    Sounds like a pretty cool prototype :-)
    I have attached a WSDL (at the bottom of this post) that contains a<schema>
    that
    uses a SOAPArray to create an array of a <complexType>.
    HTH,
    Mike Wooten
    "Jeff Carey" <[email protected]> wrote:
    The method of a prototype Web service I created is defined to take
    many
    parameters
    and return an object of a user defined class. Furthermore, the user
    defined class
    includes data elements of another user defined class and the Java ArrayList
    class.
    This works with a Java client referencing the WebLogic created client.jar
    file
    but I don't know how well it will work with a non-Java client. Inparticular,
    with Perl which is the language that will be used by the developerwho
    first will
    test with the prototype.
    In posts to this newsgroup use of "language-specific, generic containers"
    has
    been discouraged and the "language-agnostic" SOAPArray recommended.
    I have searched
    this newgsroup and the Web for examples of how to use a SOAPArray in
    a Web service
    EJB to receive parameters and return results but found none.
    Will someone refer me to an example or give an overview of how a Java
    Web service
    EJB running in WebLogic 6.1 would use SOAPArray to get parameter values
    and return
    results?
    Also, I would like confirmation that it is best to use SOAPArray toexchange
    data
    with a Web service to achieve the goal of a service accessible by any
    language.
    Thank you.

  • How to exchange data between loops?

    why can't I exchange data between loops? it is esiest explained by looking at the attached example......... hope you can help me out!

    Falkpl covered all bases for parallel loops that both run at the same time. This was probably the spirit of the original question even without seeing the diagram.
    Steve.Briggs wrote:
    The easiest way to exchange data between loops is to simply wire the data going in. 
    A wire creates a data dependency between the two loops. Dataflow dictates that a diagram object will (1) start executing once all inputs contain data and (2) will only produce data on the outputs once the entire object has finished.
    This means in practical terms that if there is a wire going from loop A (output tunnel) to loop B (input tunnel), Loop B must wait until loop A has finished. If you have wires going from loop A to B AND back from loop B to A you create a deadlock and broken code. You cannot "exchange" data between two parallel loops using wires.
    LabVIEW Champion . Do more with less code and in less time .

  • Help needed to insert data from different database

    Hi ,
    I have a requirement where i need to fetch data from different database through database link .Depending on user request , the dblink needs to change and data from respective table from mentioned datbase has to be fetched and populated .Could i use execute immediate for this, would dblink work within execute immediate .If not , could pls let me know any other approach .

    What does "the dblink needs to change" mean?
    Are you trying to dynamically create database links at run-time? Or to point a query at one of a set of pre-established database links at run-time?
    Are you sure that you really need to get the data from the remote database in real time? Could you use materialized views/ Streams/ etc to move the data from the remote databases to the local database? That tends to be far more robust.
    Justin

Maybe you are looking for

  • Performance issue in selecting data from a view because of not in condition

    Hi experts, I have a requirement to select data in a view which is not available in a fact with certain join conditions. but the fact table contains 2 crore rows of data. so this view is not working at all. it is running for long time. im pasting que

  • HTML tag problem when adding Google rich snippets in templates?

    The new Google plus Rich Snippets allow us to add a schema tag like this example: <html itemscope itemtype="http://schema.org/Article"> I can do this on my .html pages but as soon as I make any changes to the .dwt template for the page it reverts all

  • Need clarifications on NB Web services

    Hi All, We are trying to utilize the web services exposed by the CPO 3.0. However we are stuck with following topics/questions and not able to move forward. The intention of this, is basically to trigger/observe/stop/review activities from a custom p

  • Keyboard clicks but does not change color?

    New iPad Air 2 has a strange issue with the keyboard.  I turned on the clicking sound which works but the keys do not change from white to black when you touch them.  I cannot find a setting to do that.  Did I miss something?

  • Adobe CS4 Installation Vista, WONT?

    Hello out there whoever reading this, I am new on this forum. :) I would ask if any of you guys have/had the same problem as me, when I press the exe (installation file) and when i gave premissions to install the program, nothing pop-up how come? I t