New to xml, simple communication

Hi there
I'm new to xml and as a uni project i've been asked to get two independent programs to communicate via xml. Specifically i am looking to exchange data contained in the databases maintained by each program.
I would be very gratefull for any help or direction towards implementing this client/server based problem
many thanks
Joseph

So, is your question "How do I read and write XML files" or is it "How do I communicate between two systems"? Either of those are really too vague to be answered on a forum, but the combination of both is hopeless.

Similar Messages

  • New to XML+Java: which is the best API?

    Hi,
    I am new to XML+Java and I am trying to develop an application that will both read and write to an XML file. After reading some tutorials, I decided that jaxp, sax, and org.w3c.dom.* are rather low-level and very unfriendly.
    After a cursory web search, I came to the conclusion (please correct me if I am wrong) that JDOM and DOM4J are the most easy-to-use free APIs. So I would like to ask which one of the two (or any other API) is the "best"? With "best" I mean larger user base, better documentation, more features, less bugs, active development community (i.e. if a bug gets discovered, it will be fixed). I don't want to start building my application, just to realise 6 months later that the API I've chosen is very limited.
    Your experience is much appreciated. Thanks for taking the time to reply.

    Thanks guys. It seems that there is no clear answer as to which one should I use.
    I will start using dom4j because it has more convenience methods and it heavily uses JCF, which I am very comfortable with. Although it seems that the learning curve is steeper (more complicated API) it is probably worth the effort.
    Thanks again for your responses.

  • 64 Bit Vista Driver for PCI Simple Communications Controller

    I installed vista 64 and have everything working well, I think.  Only problem is this driver.  I assume it is the modem.  But I cannot find a 64 bit driver and doing the search online doesn't work.  Any ideas?
    BTW it is a k100 57061330 machine
    Message Edited by Kevin on 05-16-2008 08:12 AM
    Kevin
    New Lenovo user.

    I upgraded to 64 bit and have three driver-less devices:
    pci data acquisition and singal processing controller
    pci simple communications controller
    sm bus controller
    other than that it's working quite well.
    Lenovo 3000 K100, Core2Quad 2.4GHz, 4GB, 1TB, 512M ATI, Vista 64Bit SP1, 5.2 Windows Exerience Index

  • Installing XML::Simple - CPAN

    I need some help, I've been trying to install the CPAN module XML::Simple on OS X Lion 10.7.3 so far with no good results.
    I installed this on my linux mint machine in no time but for some reason the simple task had turned onto a project on the Mac.
    I found an old posting for setting up the CPAN modules on Mac but I haven't been able to applied to my environment.
    -------   this is the old post ---------------
    Two of my friends today asked me to help them get XML::Simple working on their Mac's. Somthing that should be a simple cpan one-liner "install XML::Simple" doesnt work on OSX. It took me a half hour to figure all this out... here are the steps:
    Prerequisites:
    - X11 1.1.3 package from the OSX install disk (or Apple download site)
    - Perl 5.8.x w/cpan (default on OSX)
    - a terminal
    - A reasonable working knowledge of Perl and Unix
    Step 1:
    Open terminal, type 'cpan' to enter the cpan installer.
    cpan> install XML::Simple
    It will ask you three times if you want to follow the prerequired modules. Hit enter every time. Eventually you will get a dozen test failures. These are in XML::Parser, a required module.
    Step 2:
    cpan> exit
    $ cd ~/.cpan/build/XML-Parser-2.34 **Note the version may change
    $ perl Makefile.PL EXPATLIBPATH=/usr/X11R6/lib EXPATINCPATH=/usr/X11R6/include
    $ make test
    $ make install
    Step 3:
    Back to cpan...
    $ cpan
    cpan> install XML::Parser
    Already Installed
    cpan> install XML::Parser::Expat
    Already Installed
    cpan> install XML::SAX::Expat
    Installs with some silly warning about ParserDetails.ini. Lets fix that.
    cpan> exit
    Step 4:
    Here is the command/code to add Expat to the ParserDetails.ini file. If we don't, we can't proceed past this point.
    $ sudo perl -MXML::SAX -e "XML::SAX->addparser(q(XML::SAX::Expat))->saveparsers()"
    Step 5:
    Back to cpan to finish the install
    $ cpan
    cpan> install XML::Simple
    Hit enter if it asks you anyting. The whole thing should work.
    cpan> exit
    Step 6:
    Verify XML::Simple existance with:
    $ perl -MXML::Simple -e '1;'
    If you don't get an error, you're all done!
    -------- end of old post ---------------------
    This is where I have gotten so far:
    to get in CPAN I use sudo cpan <enter>
    cpan[6]> cpan[6]> install XML::Simple
    Going to read '/Users/josephhandschu/.cpan/sources/authors/01mailrc.txt.gz'
    ............................................................................DONE
    Going to read '/Users/josephhandschu/.cpan/sources/modules/02packages.details.txt.gz'
      Database was generated on Mon, 13 Feb 2012 00:12:32 GMT
      New CPAN.pm version (v1.9800) available.
      [Currently running version is v1.9456]
      You might want to try
        install CPAN
        reload cpan
      to both upgrade CPAN.pm and run the new version without leaving
      the current session.
    ..............................................................DONE
    Going to read '/Users/josephhandschu/.cpan/sources/modules/03modlist.data.gz'
    ............................................................................DONE
    Going to write /Users/josephhandschu/.cpan/Metadata
    XML::Simple is up to date (2.18).
    Then I get out of CPAN
    cpan[11]> exit
    Terminal does not support GetHistory.
    Lockfile removed.
    Josephs-MacBook-Air-2:/ josephhandschu$ cd ~/.cpan/build/XML-Parser*
    Josephs-MacBook-Air-2:XML-Parser-2.41-2ew4TC josephhandschu$ perl^C
    Try to run the Makefile.PL
    Josephs-MacBook-Air-2:XML-Parser-2.41-2ew4TC josephhandschu$ perl Makefile.PL EXPATLIBPATH=/usr/X11R6/lib EXPATINCPATH=/usr/X11/include
    Couldn't find your C compiler
    Compilation failed in require at Makefile.PL line 5.
    BEGIN failed--compilation aborted at Makefile.PL line 5.
    Josephs-MacBook-Air-2:XML-Parser-2.41-2ew4TC josephhandschu$
    or with a shorter version taking the default parameters
    Josephs-MacBook-Air-2:XML-Parser-2.41-2ew4TC josephhandschu$ perl Makefile.PL
    Couldn't find your C compiler
    Compilation failed in require at Makefile.PL line 5.
    BEGIN failed--compilation aborted at Makefile.PL line 5.
    But this complains about not finding the C compiler
    Any ideas?
    Suggestions are greatly appreciated, I've hitted a wall....
    Joseph.

    (I'm using the bash shell below. If you use csh, some of these commands won't work.)
    It sounds like the compiler is not in your PATH. Test this by:
    $ which cc
    My guess is that nothing will be returned by that command.
    You've already installed XCode, so it should be on your system. If your locate(1) database is up to date, the fastest way to find the compiler is this:
    $ locate cc | grep /cc$
    On my machine (OS X 10.7), the compiler is /Developer/usr/bin/cc so I added /Developer/usr/bin to my PATH:
    $ export PATH="$PATH:/Developer/usr/bin"
    And obviously add that to your ~.bashrc file.

  • NEW TO XML AND JAVA

    hi, I'm new to xml, actually I'm taking a course in xml and I should choose a certain project related to xml.
    I want to ask about xml and java
    the things that I know about java is some classes ( I made a program of bouncing ball in java and changed some java game programs). but I need to know how to use java in databases and how to relate it to xml
    Is it too dificult or I can learn it knowing that I'm ready to learn and already I'm learning xml.
    If anyone wants to help me please send me links to some websites where it is simple to learn java .
    Also if any one can give me an example of a certain project that can be done easily using java and xml u'll be more than welcome

    Check the JAVA XML Tutorials provided by the Java Site.

  • New to XML - what can XML and java do thogether - brief examples please

    I am new to XML and relatively new to Java, thought not new to programming. I am still trying to figure out what can XML do for me in practical terms and when I should use it. Thanks for any examples of when to use XML in conjunction with Java.

    xml : Think of it in terms of business solutions, the way you would think of HTML for drawing fun web-pages.
    java : If you know anything about databases you would know you can embed java with sql E.T.C.
    Therefore because of the fast response times and the amount of constant interaction for business purposes you will need a database type that is strong to handle XML, therefore with such new technology you will be able to use xml databases with java too.
    l am sorry : XML Technology is not more simple than that to explain.
    If you are a christian or jew it is like saying to someone explain the bible,the prophets,the old and new testament in one sentence!!!You get it.What one can do is slightly break-up the bible and say there's an old and new testament.The old testament refers to the time before Jesus, AND the new testament refers to After Jesus, THE PROPHETS RELATE MORE TO THE TIME BEFORE Jesus.
    You can then ask me who is jesus???
    And thats a tricky question in its self becuse it depends on one's thinking(concept)
    I HOPE IT HELPS YOU !!!!
    GOD DAY MATE!!

  • New to XML!!!  Help!!!

    Hi Everybody,
    I am kind of new to XML... I would like to create a XML file from ResultSet.
    Can some some please show me a simple example on how this can be done.
    Thanks in advance.

    Here's a quick and dirty example:
    public String toXML( String sql )
    throws SQLException {
    StringBuffer xml = new StringBuffer( 2048 );
    xml.append( "<SQLResults>" );
    int row = 0;
    Connection connection = getConnection();
    try {
    Statement statement = connection.createStatement();
    try {
    ResultSet resultSet = statement.executeQuery( sql );
    try {
    ResultSetMetaData rsmd = resultSet.getMetaData();
    while ( resultSet.next() ) {
    row++;
    xml.append( "<Row Count=\"" );
    xml.append( row );
    xml.append( "\">" );
    for ( int i = 1; i <= rsmd.getColumnCount(); i++ ) {
    String colName = rsmd.getColumnName( i );
    String value = resultSet.getString( i );
    xml.append( "<" + colName + ">" );
    xml.append( ( value == null ) ? "" : value );
    xml.append( "</" + colName + ">" );
    xml.append( "</Row>" );
    finally {
    resultSet.close();
    finally {
    statement.close();
    finally {
    connection.close();
    xml.append( "</SQLResults>" );
    return xml.toString();
    You'll need to check the column names and values returned for invalid XML characters (for example, an '&' as part of a value -- "Smith & Jones ").

  • New to XML and Oracle

    Just trying to clarify some issues as I try and learn about XML, and specifically how it integrates into the DB.
    1 - Is there a way with Oracle tools for me to get an XSD of an existing 9i relational schema? We are not currently using the XML DB, but our middleware developers would like to have an up to date XSD to use for their internal mapping.
    2 - Is there any way that I can keep that XSD up-to-date automatically, so I get a new one whenever the schema gets updated?
    3 - If I wanted to investigate storing XML docs within the DB in native XML format, I need to have an XML DB, correct? Is this DB construct maintained seperatelly from my "normal" relational schema? or are they kept in sync by Oracle?
    I know these may all be real basic questions, but as I said, I'm new to XML and Oracle. I am reading as much as I can, but there are a lot of docs out there.
    Thanks,
    Mike

    Hi
    1. On my opinion such a tool doesn't exists. Some parts can be implemented elsewhere, but not as described by you... e.g. with XSU if you specify the parameter "withschema" the XSD of the executed statement is generated. Another example is to use DBMS_METADATA to dump the data dictionary in XML (but not XSD, of course you could write your own XSLT to do this transformation...).
    2. -
    3. If you use XSD-based tables the XSD and the relational model are stored separately in the data dictionary. Therefore if you change the XSD you have to drop/create the XSD-based table... no schema evolution yet.
    Chris

  • How to create new Custom XML Report without using Form Builder

    Hi,
    What are the steps to create new Custom XML Report without using Report Builder ?
    Thanks and Regards,
    Abhi

    Hi,
    Steps we now follow
    1)Create Data Model in Reports Builder
    2)Create xml
    3)Insert xml in Publisher to build Fomat
    4)FTp rdf
    5)Create Data Definition and Template
    6)Create executable and Concurrent Program
    Is there any way we can build reports without use of Report Builder ? By writing PL SQL Package for Before Report and After Report etc ...
    Thanks and Regards,
    Abhijit Rode

  • Welcome to the new Oracle User Group Community

    Welcome to the new Oracle User Group Community. Whether you landed here via the redirect from the previous community site - IOUC.org - or navigated here directly, welcome. This new platform brings new community features to enhance the way you connect with user group peers and with Oracle, as well as make it easier for you to find information through a more intuitive interface. We invite you to provide your feedback on the new site. Log in using your OTN Forum credentials and join the discussion here. If you do not yet have OTN Forum log in credentials, navigate to http://community.oracle.com/community, click on the "Register" link in the upper right corner of the page and create your account.
    We look forward to hearing from you.

    Hi Kashif,
    Glad you like the new Community. Communication among user group leaders works a little differently on this site than on the previous site. Rather than having communication focus around e-mail distribution lists, communication now is focused within the site itself. The intent is that this will provide users the one place to come for information, rather than having to sort through lots of e-mail threads. That doesn't mean that e-mail is completely out of the picture though. Users can opt-in to receive e-mail notifications when an individual piece of content is changed, or when content is posted to a space. Look for the "Receive email notifications" link under "Actions" to start receiving notices. To stop receiving notices, go back to the same content/space and click "Stop email notifications".
    Your Relationship Manager will be talking with you and the other leaders in your region over the next few days and weeks regarding how you and your group of leaders want to communicate.
    Best regards,
    Oracle User Group Team

  • HT5085 Hi there,  i'm new to the iPHONE community and please can someone tell me how to backup my phone to iCLOUD. How do i connect with wi-fi. Must i buy a wi-fi connetion or what.Thank you kind regards

    Hi there,  i'm new to the iPHONE community and please can someone tell me how to backup my phone to iCLOUD. How do i connect with wi-fi. Must i buy a wi-fi connetion or what.Thank you kind regards

    Do you have a wi-fi network in your home ? If you do then you should be able to connect your phone to it via Settings > Wi-Fi on your phone - that should show any networks that are available, and tapping on the network that you want to use (and typing in its password if it's password protected) should connect the phone to it. If you don't have a wi-fi network then yes, you will need wifi router in your home, which is connected to the internet (e.g. via your phone line) to be able to back up your phone to iCloud.
    Connecting to wifi : http://support.apple.com/kb/HT5569 (the screenshots on that page are from iOS 7, but they should be similar on iOS 6)
    iCloud backup and storage overview : http://support.apple.com/kb/PH12519
    You can also backup your phone to your computer's iTunes : http://support.apple.com/kb/HT1766

  • I have a 2010 Macbook Pro and am a very new user to Mac community. My Mac is just hanging and I am unable to shut it down or do anything at all.  I left it for 2.5 days hoping the battery will run flat but it is not working. Pls help! I am desperate. Tx

    I have a 2010 Macbook Pro and am a very new user to Mac community only started to use this PC a few weeks ago.
    My Mac is just hanging and I am unable to shut it down or do anything at all.  I left it for 2.5 days hoping the battery will run flat but it is not working. Pls help! I am desperate. Tx

    In order to resolve the issue if it occurs again, more info would be helpful as to what occurred prior to the "hang." One potential fix would be to try a Safe Boot:
    After the Mac is completely shut down, push the power button and immediately after the startup tone, hold down the Shift key. The Shift key should be held as soon as possible after the startup tone but not before.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    There should be a message that says "SafeBoot." After the Mac is completely booted, try restarting and see if the issue is gone.

  • How to add new criteria in simple search region ?

    Hi,
    I have been trying to add a new criteria for simple search in a seeded oaf page and facing some issue. I have successfully created the criteria field but unable to filter the search using the new criteria item. Kindly help so that i can proceed.
    Thanks,

    Hi,
    I have been trying to add a new criteria for simple search in a seeded oaf page and facing some issue. I have successfully created the criteria field but unable to filter the search using the new criteria item. Kindly help so that i can proceed.
    Thanks,

  • XML Simple Transformation with Name attribute

    Current logic for reference:
    ERS tag is presented in XML file as: <ERSFlag>X</ERSFlag>
    Transformation logic to populate ERS flag value into PO_item structure is as:
                      <tt:cond><ERSFlag>
                        <tt:value ref="$po_item.ers_flag"/>
                      </ERSFlag></tt:cond>
    New Changes:
    XML template with New tag: TaxField1. New Tag included as:
    - <TaxField1 name="GST" value="">
    - <MultiCurrencyMoney>
           <Transaction currency="CAD">400.0000000000000</Transaction>
           <Base currency="USD">380.68</Base>
           <Local currency="CAD">400.0000000000000</Local>
      </MultiCurrencyMoney>
    </TaxField1>
    I have added new field Taxfield1 with Char1 in structure po_item. I would need to Populate 'Y' to new field Taxfield1 in po_item structure based on the above XML tag.
    Could anyone please let me know the Tranformation code to populate 'Y' to new field Taxcode1 in po_item structure based on the above XML tag.
    Thanks in advance.

    Share solution with us. Thank you!!!

  • Installing XML::Simple Perl module on 10.4.8

    Two of my friends today asked me to help them get XML::Simple working on their Mac's. Somthing that should be a simple cpan one-liner "install XML::Simple" doesnt work on OSX. It took me a half hour to figure all this out... here are the steps:
    Prerequisites:
    - X11 1.1.3 package from the OSX install disk (or Apple download site)
    - Perl 5.8.x w/cpan (default on OSX)
    - a terminal
    - A reasonable working knowledge of Perl and Unix
    Step 1:
    Open terminal, type 'cpan' to enter the cpan installer.
    cpan> install XML::Simple
    It will ask you three times if you want to follow the prerequired modules. Hit enter every time. Eventually you will get a dozen test failures. These are in XML::Parser, a required module.
    Step 2:
    cpan> exit
    $ cd ~/.cpan/build/XML-Parser-2.34 **Note the version may change
    $ perl Makefile.PL EXPATLIBPATH=/usr/X11R6/lib EXPATINCPATH=/usr/X11R6/include
    $ make test
    $ make install
    Step 3:
    Back to cpan...
    $ cpan
    cpan> install XML::Parser
    Already Installed
    cpan> install XML::Parser::Expat
    Already Installed
    cpan> install XML::SAX::Expat
    Installs with some silly warning about ParserDetails.ini. Lets fix that.
    cpan> exit
    Step 4:
    Here is the command/code to add Expat to the ParserDetails.ini file. If we don't, we can't proceed past this point.
    $ sudo perl -MXML::SAX -e "XML::SAX->addparser(q(XML::SAX::Expat))->saveparsers()"
    Step 5:
    Back to cpan to finish the install
    $ cpan
    cpan> install XML::Simple
    Hit enter if it asks you anyting. The whole thing should work.
    cpan> exit
    Step 6:
    Verify XML::Simple existance with:
    $ perl -MXML::Simple -e '1;'
    If you don't get an error, you're all done!
    Enjoy.
    Macbook Pro 15" C2D   Mac OS X (10.4.8)  

    Two of my friends today asked me to help them get XML::Simple working on their Mac's. Somthing that should be a simple cpan one-liner "install XML::Simple" doesnt work on OSX. It took me a half hour to figure all this out... here are the steps:
    Prerequisites:
    - X11 1.1.3 package from the OSX install disk (or Apple download site)
    - Perl 5.8.x w/cpan (default on OSX)
    - a terminal
    - A reasonable working knowledge of Perl and Unix
    Step 1:
    Open terminal, type 'cpan' to enter the cpan installer.
    cpan> install XML::Simple
    It will ask you three times if you want to follow the prerequired modules. Hit enter every time. Eventually you will get a dozen test failures. These are in XML::Parser, a required module.
    Step 2:
    cpan> exit
    $ cd ~/.cpan/build/XML-Parser-2.34 **Note the version may change
    $ perl Makefile.PL EXPATLIBPATH=/usr/X11R6/lib EXPATINCPATH=/usr/X11R6/include
    $ make test
    $ make install
    Step 3:
    Back to cpan...
    $ cpan
    cpan> install XML::Parser
    Already Installed
    cpan> install XML::Parser::Expat
    Already Installed
    cpan> install XML::SAX::Expat
    Installs with some silly warning about ParserDetails.ini. Lets fix that.
    cpan> exit
    Step 4:
    Here is the command/code to add Expat to the ParserDetails.ini file. If we don't, we can't proceed past this point.
    $ sudo perl -MXML::SAX -e "XML::SAX->addparser(q(XML::SAX::Expat))->saveparsers()"
    Step 5:
    Back to cpan to finish the install
    $ cpan
    cpan> install XML::Simple
    Hit enter if it asks you anyting. The whole thing should work.
    cpan> exit
    Step 6:
    Verify XML::Simple existance with:
    $ perl -MXML::Simple -e '1;'
    If you don't get an error, you're all done!
    Enjoy.
    Macbook Pro 15" C2D   Mac OS X (10.4.8)  

Maybe you are looking for

  • ON Query reporting

    hi,    i have heard about SAP -Querry reporting tool , is it any requirement to learn this tool.just clarification. regards pushpa

  • NetworkManager applet doesn't prompt for VPN secret for non-root user

    I'm using NetworkManager in GNOME DE. When logged in as non-root user, I'm unable to connect to a vpnc profile. * As non-root, I am able to add/remove/alter/connect to WiFi network profiles with no trouble. * As non-root, I am also able to add/remove

  • Mass activity report

    Hello, I would need to create a report compliant with mass activities. Does anyone know where I could find some documentation (in English) about that? I found a bunch of function modules like FKK_AKTIV2_RUN_KEY_CONSTRUCT that are directly related wit

  • I can't download iTunes because diskspace

    I can't download iTunes because less diskspace. There is on my harddisk over 500 Gb. After a new system install I have on several programs (Entourage - iTunes) no rights to write on the disk. I have a Time-Machine-backup. 

  • Query related to Production

    Hi Experts! Can anyone write a query using query generator or SQL query wherein I could look up the following: Situation:  Look up a particular parent item and its corresponding production orders.  Then, for that particular production order, how many