Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Urgent Help on Sending XML from One Application to Another

  1. #1
    Junior Member
    Join Date
    Mar 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Urgent Help on Sending XML from One Application to Another

    Hi,
    I have 2 web application ClientA and ServerB. On ClientA application My requirement is I need to read an XML from a file system and then send it to
    ServerB. This XML needs to be sent to ServerB over HTTP or HTTPs. HTTP is enough right now. When ServerB receives the XML, it will
    do some basic validation, say for example one of the validation is if it is well formed. If everything is fine it will send response back to
    ClientA

    Input Message:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <note>
    <from>Jani</from>
    <to>Tove</to>
    <message>Send me Amount details</message>
    </note>

    Syschronous Response:

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <response>
    <Status code="201" text="Accepted">Acknowledged</Status>
    </response>


    Requirement 2:


    On the server side I need to create a thread or a process which will read say n number of XMLs and send asychronously to ClientA.

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <note>
    <from>Tove</from>
    <to>Jani</to>
    <amount>29</amount>
    </note>


  2. #2
    Junior Member
    Join Date
    Apr 2011
    Location
    Pune, India
    Posts
    11
    My Mood
    Cool
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default Re: Urgent Help on Sending XML from One Application to Another

    So are you expecting the whole code?
    Hardik Jadhav

  3. The Following User Says Thank You to hardikjadhav For This Useful Post:

    Json (May 4th, 2011)

Similar Threads

  1. Replies: 2
    Last Post: March 23rd, 2011, 08:51 AM
  2. Sending SMS in java
    By pipi in forum What's Wrong With My Code?
    Replies: 12
    Last Post: January 26th, 2011, 08:10 PM
  3. Sending XML over HTTP to Another Application
    By darasgar in forum Java Servlet
    Replies: 2
    Last Post: July 14th, 2010, 01:56 PM
  4. Replies: 0
    Last Post: December 3rd, 2009, 04:43 PM
  5. Credit and thrift society application(urgent)
    By 5723 in forum Java Theory & Questions
    Replies: 1
    Last Post: November 3rd, 2009, 03:44 AM