[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Transport Mechanism
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@c... http://www.catapultt.com/ xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... 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@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|