Java interface with xml communication
Hello everybody,
For a project i need to make a java interface with xml communication.
For example ; from 1 laptop I press on a java button and then i need to get a text message on the other laptop.
The java interface is already created now the xml code for communication.
I hope someone can help me how to start with the xml code.
Are there any templates that i can use?
[409 byte] By [
Figoa] at [2007-11-27 6:01:14]

# 1
Nobody?
Figoa at 2007-7-12 16:40:46 >

# 2
Anybody? Not me, your question makes no sense.
XML is a format for storing data in a structured way. So, the phrase "xml communication" doesn't mean anything. Except perhaps taking XML data and transferring it to the other machine.
Maybe an explanation of what you want to do would help.
# 3
Hi,
Its like how you put it.
Its simple, i want to transfer data from one machine to the other one.
For this to happen there is an java interface, so when i want to transfer certain data to the other machine i simply press on the java button to make this happen.
I hope its now more clear and better to understand.
Iam not so good with xml, but i know a little bit of the basic.
Hope u can help me with this, cause i need to finish it before the deadline.
Thanks!
Figoa at 2007-7-12 16:40:46 >

# 4
Nothing to do with XML. Forget about XML for this problem. If you want to transfer data, first you have to know what kind of server is running on your target system.
# 5
I need to use XML for this, cause it is in the assignment.
I only want to know if its possible to send data/text from 1 laptop (windowsxp prof) to the other laptop (also windows xp prof).
Maybe its easier if I send data to a specific IP address?
Its important that the communication between 2 system is in XML language.
So i hope u have a solution for my problem.
Thanks!.
Do you perhaps use msn messenger?
Message was edited by:
Figo
Figoa at 2007-7-12 16:40:46 >

# 6
> I need to use XML for this, cause it is in the
> assignment.
As far as communication is concerned, it doesn't matter that you are sending XML. You can send any kind of data. So first find out how to send data, then send data which is XML.
> I only want to know if its possible to send data/text
> from 1 laptop (windowsxp prof) to the other laptop
> (also windows xp prof).
Provided the other laptop is running a server that can receive that data.
> Maybe its easier if I send data to a specific IP
> address?
Provided there is a server running at that IP address that can receive that data. You can use an IP address to connect to a server but that has nothing to do with sending the data.
> Its important that the communication between 2 system
> is in XML language.
XML is not a programming language. XML is a format for storing data. You can certainly send XML-formatted data between two computers.
> So i hope u have a solution for my problem.
The solution would be for you to learn how communication between two computers works in the real world. If you have an assignment that says you have to make communication work, surely there was something taught to you before about how to do it?
# 7
Dear dr.clap,
First of all thank you for your answer.
Id like to explain u mine purpose again, ill try to explain it as simple as i can.
I need to send some data/text in XML to another system. For example see SOAP method. In SOAP u send a message in XML to the server and u get an answer back.
But in my case i need to send a message/text in XML that (for example) is displayed in the display of the other system.
So if this is possible and u have some more information(links etc.)
I really would appreciate it.
And if u are using MSN messenger , I like to have ur address for a better communication. Of course if its oke with you.
Iam sorry if I was not clear enough in my explanation.
Figoa at 2007-7-12 16:40:46 >

# 8
Now i see that SOAP also has an : Fire-and-forget SOAP message ?See: http://www.w3.org/2000/xp/Group/2/04/09/soap12-scenarios.html#S1Any idea this could work for me?If yes, u have more information on how to use it with an java interface?Thanks
Figoa at 2007-7-12 16:40:46 >
