[
Lists Home |
Date Index |
Thread Index
]
- From: "Jonathan Borden" <jborden@mediaone.net>
- To: "Carl Schei" <carl@catapultt.com>, <xml-dev@ic.ac.uk>
- Date: Wed, 9 Jun 1999 11:38:05 -0400
Carl Schei wrote:
>>If I were to develop an application that could
>> receive/deliver requests in XML Format, how exactly would it
>receive/deliver
>> the XML Data?
>>
>> I can think of,
>>
>> 1/
>> Flat Files. An Application generates an XML File which is sent to the
>> another application to read and parse.
Yep.
>>
>> 2/
>> Over HTTP. An application will generate an XML stream that will be passed
>> via HTTP to a listening application. How exactly would this work -
>> specifically in Java? Is there a standard way of opening up an HTTP
>> connection and piping down the XML? Unfortunately I am not familiar with
>> java.net.* classes.
The XML data is placed into the body of the MIME message which is an
HTTP request and/or response. This allows XML to be transmitted by SMTP as
well. You can use a standard Content-Type: "text/xml" or "application/xml to
indicate that the body is in XML format.
Jonathan Borden
http://jabr.ne.mediaone.net
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|