Hello,
I'm not up to speed on using XML and could use some help. I get the idea of XML and the various parsers/generators available. I'm used to the concept of TCP/UDP conversations and haven't seen this discussed in an XML concept. I've been asked to put together a medium sized XML interface to one of my products and need to discuss the ideas with someone who has worked with this before.
I'll start by asking if all XML Conversations are presumed to look like simple HTTP Request-Response conversations.
I was aware of this tendancy but when I started to think about my conversations between my products they don't usually fit into the simple request-response category. In several cases the request will really be for a series of ongoing responses, like monitoring status changes in a system. I'm also quite used to opening a minimal number of conversations between computers and queuing multiple request-response conversations along the same channel. It seems wasteful to require a new conversation for every request-response transaction between systems.
Is it possible/useful to open a TCP connection between
machines and then transmit XML messages between the systems?
I've used SAX2 under MSXML to parse a file with multiple messages and can't figure out how to restart the parser for the second message.
My current level is just getting up to speed on the basics of using XML. I'm supposed to design an interface for another team to use my product that feels XML is best for them. I'd like to figure out what is reasonable and normal before inventing methods that they will not want to handle.
I'd also welcome any reading material on the subject, I've searched www.xml.org/.com and lots of other places and haven't found the magic keywords that get me to a description for solving the type of problem I'm trying to solve.
Thank you for your help,
David
I'm not up to speed on using XML and could use some help. I get the idea of XML and the various parsers/generators available. I'm used to the concept of TCP/UDP conversations and haven't seen this discussed in an XML concept. I've been asked to put together a medium sized XML interface to one of my products and need to discuss the ideas with someone who has worked with this before.
I'll start by asking if all XML Conversations are presumed to look like simple HTTP Request-Response conversations.
I was aware of this tendancy but when I started to think about my conversations between my products they don't usually fit into the simple request-response category. In several cases the request will really be for a series of ongoing responses, like monitoring status changes in a system. I'm also quite used to opening a minimal number of conversations between computers and queuing multiple request-response conversations along the same channel. It seems wasteful to require a new conversation for every request-response transaction between systems.
Is it possible/useful to open a TCP connection between
machines and then transmit XML messages between the systems?
I've used SAX2 under MSXML to parse a file with multiple messages and can't figure out how to restart the parser for the second message.
My current level is just getting up to speed on the basics of using XML. I'm supposed to design an interface for another team to use my product that feels XML is best for them. I'd like to figure out what is reasonable and normal before inventing methods that they will not want to handle.
I'd also welcome any reading material on the subject, I've searched www.xml.org/.com and lots of other places and haven't found the magic keywords that get me to a description for solving the type of problem I'm trying to solve.
Thank you for your help,
David