XML Transport Mechanism

Carl Schei carl at catapultt.com
Wed Jun 9 18:10:56 BST 1999


Hey Jonathan,

Thanks for the info.

> >> 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.

I gather that what you are proposing is that the Java program listen
directly for the HTTP requests? Could this piggyback onto a web server
somehow?

Another proposal I found was using XML-RPC (http://www.xml-rpc.com). In the
POST method inside your HTML you can execute an RPC and use as the transport
mechanism XML, both as the request and the reply. I haven't figured out how
your Java program would register itself with the Web Server, to expose the
RPC calls that it is expecting. This would require a bit more research, on
my side.

Carl Schei
Catapult Technology, Inc.
(630) 515-3670 phone
carl at catapultt.com
http://www.catapultt.com/





xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at 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 at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list