473,382 Members | 1,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Question about XML based conversations

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
Jul 20 '05 #1
4 1274
"David" <Fl************@United.Com> wrote in message news:<rOdGr40LMPU3-pn2-xksHRePlTSRO@localhost>...
I'll start by asking if all XML Conversations are presumed
to look like simple HTTP Request-Response conversations.


I've never heard of "XML Conversations". If you're capitalising this,
is it a proprietary technology ?

It sounds like you're re-inventing SOAP here, which is one part of the
big web-services picture. It's not an "XML topic", because XML is
deliberately a very small-scope protocol and things additional to it
like this are described separately. However your basic idea is right;
XML documents fly about by HTTP. It isn't always HTTP, and sometimes
it might not even be XML, but that's the mainstream.
Jul 20 '05 #2
On Thu, 3 Jun 2004 09:56:52 UTC, di*****@codesmiths.com (Andy Dingley)
wrote:
"David" <Fl************@United.Com> wrote in message news:<rOdGr40LMPU3-pn2-xksHRePlTSRO@localhost>...
I'll start by asking if all XML Conversations are presumed
to look like simple HTTP Request-Response conversations.


I've never heard of "XML Conversations". If you're capitalising this,
is it a proprietary technology ?

It sounds like you're re-inventing SOAP here, which is one part of the
big web-services picture. It's not an "XML topic", because XML is
deliberately a very small-scope protocol and things additional to it
like this are described separately. However your basic idea is right;
XML documents fly about by HTTP. It isn't always HTTP, and sometimes
it might not even be XML, but that's the mainstream.


Thanks Andy.

I've read about XML for years and seen various uses. One used XML
requests in files that were later replaced by XML responses in
similarly named files. I've never, ever seen it mentioned that XML
is generally for use over an HTTP conversation, though I'm aware
that is where it is used most. I'd also not considered that everything
was required to be request-response and stateless by most uses of
XML encoding.

David
Jul 20 '05 #3
Hi David,

One thing you might want to check out is the Jabber/XMPP protocol, this
is an open instant messaging protocol that uses continuous streams of
XML elements for communication. Several people have used it as the
transport protocol for other projects. It may give you some ideas on
how to implement a non request-response protocol. Or maybe just grab
one of the existing XMPP libraries and use it to send your own XML data :-)

The main Jabber Site:
http://www.jabber.org

The core XMPP protocol spec (see the XML Streams section 4):
http://www.jabber.org/ietf/draft-ietf-xmpp-core-23.txt

The instant messaging part is here:
http://www.jabber.org/ietf/draft-ietf-xmpp-im-22.txt

Hope this helps.

--
Jesse Hager
Jul 20 '05 #4
On Fri, 4 Jun 2004 16:50:16 UTC, Jesse Hager
<xm*****************@spamgourmet.com> wrote:
Hi David,

One thing you might want to check out is the Jabber/XMPP protocol, this
is an open instant messaging protocol that uses continuous streams of
XML elements for communication. Several people have used it as the
transport protocol for other projects. It may give you some ideas on
how to implement a non request-response protocol. Or maybe just grab
one of the existing XMPP libraries and use it to send your own XML data :-)

The main Jabber Site:
http://www.jabber.org

The core XMPP protocol spec (see the XML Streams section 4):
http://www.jabber.org/ietf/draft-ietf-xmpp-core-23.txt

The instant messaging part is here:
http://www.jabber.org/ietf/draft-ietf-xmpp-im-22.txt

Hope this helps.


Thanks Jesse. That sounds like what I was thinking of.
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Daniel Chartier | last post by:
Hello. I work in the paper industry and we recently had someone (the original author) from within the company make a program for preventive maintenance. However, it had some bugs and we wanted...
8
by: Maximus | last post by:
Hi, I was doing like nothing in front of my screen when I suddenly had the misterious question : why when you do somthing like this: int a = 5 * 5; .... a dosen't return 35 ? considering that...
4
by: Geoff Cox | last post by:
Hello, I wonder if anyone has any ideas on this? I am using prototype-1.3.1.js and formmail-nms.cgi to send some data and find that the format of the data received by Outlook 2000 is...
62
by: ROSY | last post by:
hello experts plz answer following questions::: thanks in advance. 1. Out of fgets() and gets() which function is safe to use and why? 2. What is a far pointer? where we use it? 3. What does the...
2
by: Justin Rich | last post by:
I am making a fairly simple help desk program. when a new ticket is created it is sent in to two tables. TICKETS and CONVERSATIONS the username, computer, topic and subject go in to TICKETS...
29
by: MP | last post by:
Greets, context: vb6/ado/.mdb/jet 4.0 (no access)/sql beginning learner, first database, planning stages (I think the underlying question here is whether to normalize or not to normalize this...
10
by: DBC User | last post by:
Hi All, Someone shed some light in to this strong name signing issue I have. My assembly uses a 3rd party controls so I end up distributing their dlls along with my assembly. I put this app in...
8
by: Tim Patrick | last post by:
Friends and MVPs, I have enjoyed taking part in these public forums. For years I lurked on the sidelines, scavanging the technical information I required for my own projects. Perhaps my own fear...
1
by: Steve | last post by:
Hi, I currently display all the data on a website using tableadaptors and objectdatasources. Would it be significantly faster if I was to display the data by writing the code for a datareader...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.