Send updated xml file to the client with out any request

hi,
I am showing the data in the form of a table ,where the data are taken from a XML file. If i change the content of that XML file, the server should send the updated data to that client page, that means the client page should get refreshed automatically when there is a change in that XML file. I dont have any idea to implement this requirement.This is very urgent. Any suggestion would be appreciated. Already i have referred www.pushlets.com but that is not so clear. so pls............
With regards
Parameswaran

The client is not supposed to know the server. You will need to have a periodic refresh. :)

Similar Messages

  • Can I send an XML file to the server instead of just URL?

    I have installed the XML demos on my machine. I am using Oracle 8i. All the demos talks about getting URL and Parameter from the HTML Page, instead of this I want to send my XML file from Java Applet to server. Then do all the searching as is going on right now in the demos. After this I want to send another XML file back from server to client applet.
    Client ----->XMLFILE------>SERVER
    Client<-----XMLFILE<------SERVER
    Do we have any DEMO which shows that how to send request through XML file instead of
    "http://MachineName:Port/XSQL/DEMO/emp.xsql?find=A".
    I know that we are not using Java Applets in the demos but I will interact this file with applet, it's not a problem.
    I would appreciate if anyone who is really knowlegeable about these demos can answer my question.
    Thanks,
    Raza
    null

    http://forum.java.sun.com/thread.jspa?threadID=5158333
    http://forum.java.sun.com/thread.jspa?threadID=5158705
    Crossposting is lame.

  • How to update XML file from the program

    i am new in abap , and i have the following issue,so plz anyone who knows how to do it
    Background :
    An XML file is used as the datasource for a Flex Application. From time to time this requires updating with new staff details.
    i have already saved the xml file in the c drive with the name C:\AdvAC\AC1\bin-debug\assets\staff
    Requirement :  Write a Dialog transaction with the following text input fields.
    Reference Indicator.     (Char10)
    Staff No          (NUMC, Length 5)
    Name               (Char50)
    Room               (Numc, length 3)
    Phone               (Numc Length 7)
    Mail               (char30)
    in screen 100
    The transaction should also have an u201CUpdate Fileu201D button, which when pressed :
    1) Loads the file C:\AdvAC\AC1\bin-debug\assets \ into an ITAB.
    2) Inserts the data into the ITAB using the following XML format.
    <staff>
    <ref_ind> Reference Indicator.</ref_ind>
    <staff_no> Staff No </staff_no>
    <name> Name </name>
    <room> Room </room>
    <phone> Phone </phone>
    <mail> Mail </mail>
    </staff>
    all should be inside  <allstaff> </allstaff> tagsu2026.
    Writes the ITAB back to the file.
    thanx all

    this is what i have done but i dont know how to do the rest. i will apprecite any help from u.
    Edited by: man700s on Feb 16, 2010 6:58 AM
    REPORT  Z_XML_FILE_UPDATE.
    TYPES: BEGIN OF ts_staff,
             REF_IND(10)  TYPE c,
             Staff_No(5)  TYPE c,
             Name(50)     TYPE c,
             Room(3)      Type n,
             Phone(7)     Type n,
             Mail(30)     Type c,
           END OF ts_staff.
    DATA: t_staff TYPE TABLE OF ts_staff WITH HEADER LINE.
    DATA: w_staff Type ts_staff.
    DATA T_STRING TYPE TABLE OF STRING.
    DATA W_STRING TYPE STRING.
    call SCREEN 100.
    PERFORM upload_xml_file.
    PERFORM update_xml_tab.
    *PERFORM download_xml_file.
    MODULE USER_COMMAND_0100 INPUT.
    W_STRING = '<allstaff>'.
      APPEND w_string to t_string.
      loop at t_staff into w_staff.
      w_string ='<staff>'.
      APPEND w_string to t_string.
      if T_staff-Ref_Ind = 'X'.
      CONCATENATE '<Ref_Ind>' w_staff-Ref_Ind '</Ref_Ind>' into w_string.
      APPEND w_string to t_string.
      ENDIF.
      if T_staff-staff_no = 'X'.
      CONCATENATE '<staff_no>' w_staff-staff_no '</staff_no>' into w_string.
      APPEND w_string to t_string.
      ENDIF.
      if T_staff-name = 'X'.
      CONCATENATE '<name>' w_staff-name '</name>' into w_string.
      APPEND w_string to t_string.
      ENDIF.
    if T_staff-room = 'X'.
      CONCATENATE '<room>' w_staff-room '</room>' into w_string.
      APPEND w_string to t_string.
      ENDIF.
      if T_staff-phone = 'X'.
      CONCATENATE '<phone>' w_staff-phone '</phone>' into w_string.
      APPEND w_string to t_string.
      ENDIF.
      if T_staff-mail = 'X'.
      CONCATENATE '<mail>' w_staff-mail '</mail>' into w_string.
      APPEND w_string to t_string.
      ENDIF.
      w_string = '</staff>'.
      append w_string to t_string.
    ENDLOOP.
      W_STRING = '</allstaff>'.
      APPEND w_string to t_string.
    ENDMODULE.               
    Edited by: man700s on Feb 16, 2010 7:01 AM

  • How do I get an XML file on the client side hard drive

    Is there a way to get XML files from a Flex form and get it
    to the hard drive on the client side? I realize Microsoft got
    impaled by allowing this sort of thing with ActiveX. We would like
    the app to be browser based but need XML files dropped off on the
    hard drive. There is an application running locally that needs to
    consume them. Can I run flex standalone without web services and
    still access the hard drive? Seems robust enough to do so.

    dadanas wrote:
    Hi Simcah, I have a similar problem. Have you found out any solution?
    thanks, dan
    You need to ask the printing service provider. Dealing with color totally depends on the printing process involved and of course the machines used.

  • Send a txt file to the printer with java

    Hello,
    I want to sent a txt file to the printer in java. I' am using the USB port. I can try to setup a dos command (print c:\test.txt), but I don't know the exactly command.
    There is also another solution in java I thing but I don't know the code!
    Can somebody give me the exact command for DOS and/or the code I have to write in java?
    THANX!!!!

    in dos imo you are not able to use usb-port. if your printer would be on lpt you could use javacomm ( http://java.sun.com/products/javacomm/index.html ). there is also another thread talking about this (print text to lpt). for your usb-problem i don't have a solution. but you could use JNI (java native interface). write code in c, compile to dll and use it in java.
    tobias
    ps: the other thread ( http://forum.java.sun.com/thread.jsp?forum=31&thread=224460 )

  • Send a XML file using the mail adapter

    HI ,
    I have to send an incoming xml message as a attachment in the mail using mail adapter .
    how can I achieve this .
    Thanks
    Nikhil

    Hi Nikhil,
    Just check with this blog-
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Creating mails with attachments from flat text files
    Hope this helps..
    Regards,
    Moorthy

  • Writing and updating XML file on client side

    Hello,
    I'm looking for a simple example which permit to write and
    update a xml file on the client side.
    Someone can help me, please?

    meghashyamgr ,
    Because of security reasons a swf running in a browser cannot
    read or write xml files to a user's computer. What can be done,
    however, is write xml to what is known as a SharedObject.
    SharedObjects act as cookies for Flashplayer.
    If you would like an example of this I'd be more than happy
    to show you...

  • SAP BW data in ODS to XML and sending this XML file to 3rd Party

    Hi Gurus,
    We are having a scenario in which we have to convert our data in ODS to XML and need to provide this XML file to our clients so that they can use this XML file in their 3rd party system.
    Now the issue is that i have created ABAP program for converting into XML.
    If I execute this program, since i have given path as my Desktop, the converted XML file gets saved on my Desktop.
    But the problem is how i can provide this XML file to the client.
    Is there any way of converting this XML file to html and send them the URL ......
    plz suggest me.... what can be done......
    my ABAP code u can see in the following link
    Extract SAP BW Data into XML
    thanks and regards,
    P.Madhusudhan Raju

    Hi,
    Pls go through the link below it may help you
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417100)ID1537206350DB01670597797729934632End?rid=/library/uuid/8c10aa90-0201-0010-98a0-f071394bc9ae&overridelayout=true
    Regards,
    Marasa.

  • Sending an Image file to a client using UDP

    I wants to send an Image file from the client to the server using UDP. As UDP can only sends data of type byte, how can i convert the Image file to byte & send it. Here is the Client program:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.awt.*;
    public class Client {
    public static void main(String[] args) throws IOException {
    if (args.length != 1) {
    System.out.println("Usage: java Client <hostname>");
    return;
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readLine();
    br.close();
    // get a datagram socket
    DatagramSocket socket = new DatagramSocket();
    // send request
    byte[] buf = new byte[65500];
    buf = str1.getBytes();
    InetAddress address = InetAddress.getByName(args[0]);
    DatagramPacket packet = new DatagramPacket(buf, buf.length, address, 4445);
    socket.send(packet);
    // get response
    packet = new DatagramPacket(buf, buf.length);
    socket.receive(packet);
    // display response
    String received = new String(packet.getData());
    System.out.println("Received: " + received);
    socket.close();
    Thanx.

    DataInputStream inStream = new DataInputStream(new FileInputStream(filename));
    try {
    byte bindata = inStream.readByte();
    catch (EOFException eof) {
    }

  • Help: question on send XML file from java client to java server

    Hi, I am now to Java, and now I am going to set up a simple network in the lab.
    I have created a random array of data and transferred to XML file on my client. Now, I would like to send it to the server. I am wondering how I can put the XML file into my client, and do I need any parser to let the server show what random date it has received?
    Anybody can give me any idea or some basic code? Thank you.
    Now, I am referring the KnockKnock example in Java online tutorial. But, not clear how to deal with the XML File.
    Fengyuan

    There are several ways you can achieve this: one could be that you transfer data over HTTP, using Servlets for instance. Have a Servlet listening on the Server with content type 'text/xml', POST the XML data to the server and have the Servlet to receive the data and re-compose the XML file. This can be achieved with different libraries:
    1) JAXB --> this is good because is the JDK standard, also for web services
    2) Castor (http://www.castor.org/)

  • Using live HTTP header get This XML file does not appear to have any style information associated with it. The document tree is shown below

    Im using ReloadEvery 3.6.3 & Live HTTP Headers 0.16 plugin's for playin mobsters on myspace. After capturing the the script, editing & placing in the address bar I recieve a message: Failed Security. This XML file does not appear to have any style information associated with it. The document tree is shown below. There was nothing on the Tree. I know the script was edited correct cause it works on the other PC's. Operating system is win7 & Firefox is current. Thx.
    == The first time

    yea I got the same error for playing files on filestube and its just not that, ever since 2 days ago when I updated firefox everything have just started to ..uck up all the time, high cpu memory load without any addons and it wont terminate for another 20secs after I close it... I think I'll just reinstall with an older version, everything worked just fine then

  • Unable to send a test message (XML file) at the runtime workbench..

    Hi,
    we are not able to send a test message (XML file) at the runtime workbench just to test Idoc's. From the component monitoring, under the integration engine, test message- i have given all the parameters like sender and receiver service, interface namespace with the user id and password details. when i say send message it is throwing error while sending. not even displaying any error to attach here. I beleive it is a configuration problem in the integration directory. what do you reckon guys?
    OS- win 2003 DB-Oracle 10.2.0.4
    SAP PI 2004s basis SPS 18
    Appreciate your much needed help!
    Thx
    Sree

    It is a sender Idoc. we are using sender agreement and comm channel.
    Why are you using a channel and agreement for IDOC....we dont need it when IDOC is sender!
    All the channels and agreements (if created) are in XI/ PI and we can delete them if they are not required
    Edited by: abhishek salvi on Mar 11, 2010 11:49 AM

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • I did the update to 3.6.11 - when it restarted it will not open any pages. When i go to check for updates it gives me this error: Update XML file malformed (200) - Any advice?

    I did the update to 3.6.11 - After it started Firefox it would go to the requested site in the addressbar, but the page would be blank. I went to check for updates and it told me there was a problem in updating. It gave me this error message: Update XML file malformed (200)
    I uninstalled and reinstalled and the same problem exists.
    Any advice?

    For the error message see [[AUS Update XML File Malformed 200]].
    As it appears not to be able to load any sites, a possible cause is your firewall blocking the new version of Firefox. For more details see [[Firefox cannot load websites but other programs can]].

  • I keep getting the message This XML file does not appear to have any style information axxociated with it. The document tree is shown below Is this a serious problem?

    My daughter and i use same computer she uses firefox and recently we have noticed on facebook apps we get the message This XML file does not appear to have any style information axxociated with it. The document tree is shown below

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

Maybe you are looking for

  • ITunes and Windows 7 64 Bit

    Each time I start iTunes, I get the following message "iTunes was not properly installed.If you wish to import or burn CDs, you need to reinstall iTunes." I have re-installed iTunes twice and I still get this message - it is driving me bonkers!

  • Report with custom hierarchy

    Hi experts! I have an assignment to do. My clients wants a report with a hierarchy but he wants to see "Total" on last row of a table. My hierarchy is: +Total ---Level1 ---Level2 -----Level2.1 My analysis should to see: LevelA1 (Can Drill) LevelA2 (C

  • I need help badly with my ibook and palm pilot

    Good day. I recently fixed my ibook and my palm to sync with each other. I configured my palm to sync with entourage. I then realized that it would be much better that if I sync my palm pilot with the palm desktop. Gow do I now reverse this? How do i

  • Why is my lock screen zoomed in?

    When i turn on my 4th gen iPod lock screen is zoomed in and i can do anything.I even did a system restore and it is still that way. What do i do

  • Storing uploaded files

    I want to upload files from the client side in my application. I use IBM WebSphere Application Server 6.0. I want to know which would be the best location to store the uploaded files. If I want try use a location outside the server installation folde