aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Sending Xml over socket Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Sending Xml over socket" Watch "Sending Xml over socket" New topic
Author

Sending Xml over socket

vignesh Thamarai
Ranch Hand

Joined: Mar 10, 2009
Posts: 31
Hi friends,
How to send an xml file over socket, please give some sample programs.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
XML is just data like every other kind; that doesn't make a difference for socket communication. The Sun Java Tutorial has a full example of a client and a server communicating over sockets.


Ping & DNS - updated with new look and Ping home screen widget
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36453
    
  15
Ulf Dittmer wrote: . . . The Sun Java Tutorial has a full example . . .
If you haven't found that, try here, in the first instance .

Moving thread as too difficult for "beginning".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sending Xml over socket
 
Similar Threads
Coordinating Processes Over Network
sax on socket
Using Java Socket, ServerSocket with C/C++
StreamCorruptedException
sending xml over tcp/ip