on 02-02-2010 12:04 PM
Hi,
I was been bold with a very basic question. It goes like this "What is the difference between Message and File?u201D Please feel free to throw your wild imagination and share your opinion.
Thanks
Gautam
To me.
Message is an XML content in an XSD schema..... which can be parsed and mapped...
File is an container that hold the XML message in a Raw form, such as tab delimited, comma seperated, PDF etc... we read the file content to form a Message.....
As Michal replied a file will have a message and not all message will have a File.... i.e.
In case of JDBC scenario Message comes from an Database where the data is stored as Records/tuples.
In case of IDoc scenario Message comes from an IDoc where the data is stored as a Segment....
In case of Mail scenario Message comes from an eMail wher the data is stored as an attachement/mail content...
So File is a container for an Message &
Message is an common term used to represent an Data...
~Sanv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gautam,
A file is generic like flat file or exce/pdf files.
But messages can be anything like a file or jdbc records, soap requests etc... So a file is a subset of message (every file can be considered as a message in PI , but not the other way)
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Gautam,
If you are asking in based on PI we can define like as follows:
File - The message container (For example, an .XML or .TXT or .CSV)
Message - The content of a file (For example, XML elements, data or text or CSV file data)
Regards,
JP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Gautam,
I don't say both are same. I'll let you give real world example. For example, if an XML file contains the details of a car manufacturing material records as follows.
<?xml version="1.0" encoding="UTF-8"?>
<GOODS>
<NUT>10</NUT>
<BOLT>10</BOLT>
<WHEEL>4</WHEEL>
</GOODS>
This is called as message.
How can we store this message in a location? As a file we can store with the extension .XML. So while storing the content in a location it is called as file. While the same content is processed or sent to some interfaces then we call it as message.
Regards,
JP.
Hi,
in terms of the middleware (interfaces)
very smililar to the difference between - a tree and an appletree I guess
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.