Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    XML Automate upload/doanload ??

    Hi guys,

    I would appreciate if you could answer my questions as I have to send the feedback to management soon.

    We are in the process of reviewing a system that would store our orders and manipulate them in their system as we send data to them. This could be a text file.

    But, Now we are thinking about using XML and the vendor already has XML part in place (but in two steps).

    One is "Download XML Orders" and other is "Upload XML Order". So, we need to download the orders in XML format and the make changes in XML file as we made in our system and then upload it again in XML format using their system.

    Now this issue is that we are maintaing orders in "our" system and we have to make extra steps and efforts to reflect the data into their system

    Basically we want to automate the XML uploading to their ("vendor's) system as the changes occur in our system. We don't want to download the XML data and make changes and upload again.

    I guess I have explained a lot in detail about the needs.

    Please pass on some views and suggestions !! Any help is appreciated.

    Thanks a lot.

    NRastogi

  • #2
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,461
    Thanks
    1
    Thanked 23 Times in 21 Posts
    Whew. That's a spicy meatball.

    The key, I suppose, is not in how they store the XML documents, but in the bridges they build to the XML data.

    To give you an analogy, let's consider how I typically develop a server-side webpage. I start with MySQL (which stores the information in a database), to expressly define how I want the data formatted. Then I build the HTML pages for the user interface. Then I build PHP scripts as bridges between the user interface and the MySQL database.

    If your client were talking about MySQL, I'd recommend you look at the PHP (or Perl, which is another server-side language that can access MySQL). Your client is talking about XML.

    So, that brings to mind something else. Specifically, how do you want to note changes in XML files, and upload only those changes... and then have the server translate those changes back into the original XML files?

    Also, in what way is the server receiving the XML files and storing them? In what way is the server returning XML files to you?

    If my hunch about the essence of your question is correct, this thread belongs in Server-side programming help. Please tell me if I'm right or wrong, so I can react accordingly.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #3
    New Coder
    Join Date
    Jul 2002
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post

    Hi Alex,

    Yes, the question is real spicy!!!

    Well, a part of your answer your a correct. And let me clear few things about the scenario if I understood your answer(with my limited knowledge about their system, I was just told about the objective and given the training manual of the system).


    Alex] The key, I suppose, is not in how they store the XML documents, but in the bridges they build to the XML data.
    NRastogi] That's true. Doesn't matter how they store it on their system. Key is how we two parties communicate? We use "Progress" database and don't what they use for severside and that's what I wonder how to automate the two database changes using XML.

    If we download the XML file for orders from their system (whatever database they are using they have the XML download and upload procedure in place and defined the fields and format for the XML data), guessing for automation we need to generate the XML file off our Progress database and compare "their" and "ours" and overwrite "treir" with "ours" changes ??? Correct me if I am wrong !! But how ???? Never dealt w/ XML automation before, got the basic traning on XML !

    Please suggest me what way should I go? I am sorry if I have repeated my question if other words or something!

    If you think that this thread belongs in Server-side programming help, Please move it there and we'll see if somebody has answer to this.

    Thanks again Alex, I don't have much information about their end for now!!

    Regards,
    NRastogi

  • #4
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,461
    Thanks
    1
    Thanked 23 Times in 21 Posts
    Moved. Question: Do you know what server-side languages are involved? (PHP, Perl, etc).
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #5
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,108
    Thanks
    11
    Thanked 101 Times in 99 Posts
    hi , google 'XML RPC' which is a nice(ish) transport (via HTTP) using XML as the data format, there are XML-RPC implementations available for most of the major languages, I have played around with XMPRPC servers in PHP but still cant find a good reason to use XML rather than just serialise the data etc, but thats between 2 systems I have control over, wheras XML should make the transfer platform independant

    anyway http://www.xmlrpc.com/
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •