473,320 Members | 1,991 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,320 software developers and data experts.

help with subscription to a process

Hi

I am new to python and hence need some help

i have a process A that posts events as XML docs.
I need to create a listener to this process that subscribes to the
process A and as and when a XML doc is posted parse it.
I have creted an interface where if I specify the port number on which
the listener is running the process A will automatically start posting
events.

The place I need help is to create a listener and a way of parsing the
XML docs. If you can give me some starting points or docs/resources
that will be great..

Thanks

Jan 27 '07 #1
1 933
The Python socket module, although lightweight, can be used to quickly
establish a socket between client and server for the purpose of feeding
data. I've done this once or twice with XML. If you are looking for
something a bit more robust, might I suggest reading up on the Twisted
libraries?

Paul

el*********@gmail.com wrote:
Hi

I am new to python and hence need some help

i have a process A that posts events as XML docs.
I need to create a listener to this process that subscribes to the
process A and as and when a XML doc is posted parse it.
I have creted an interface where if I specify the port number on which
the listener is running the process A will automatically start posting
events.

The place I need help is to create a listener and a way of parsing the
XML docs. If you can give me some starting points or docs/resources
that will be great..

Thanks

Jan 27 '07 #2

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

Similar topics

4
by: Guido van Rossum | last post by:
I'm pleased to announce that the Python Software Foundation (PSF) is now accepting donations from individuals and companies interested in supporting our mission to improve the Python programming...
3
by: Max A. Bündchen | last post by:
My enterprise is a Registered Microsoft Partner and we would to acquire a MSDN Universal subscription under the Empower ISV Program to start a new project in .Net (today we dev under VFP 7). ...
4
by: matt | last post by:
I am trying to compare a two segments of XML from two seperate files. The two XML files are 1)a message pulled from my private Queue and 2)an XML file that is loaded as an XmlDocument object. So...
0
by: Peter | last post by:
Hi, I use part of ComPlusMon sample in my monitoring application. I use only adjusted ComMethodEvent subscriber (OnMethodCall2, OnMethodReturn2 and OnMethodException2). All is functional when I...
3
by: renil | last post by:
I have a repeater control that displays info. from a datatable. Each row in the repeater has a checkbox. Also, I have a delete linkbutton outside the repeater control. What I'm trying to do when...
2
by: -D- | last post by:
I'm taking my first stab at using xml, so please bear with my novice questions and understanding of xml. I'm trying to create an xml file that holds all my website navigation. If I understand...
2
by: demboos | last post by:
Hi, I've been recently trying to set up a replicated environment. The problem is my database has over 500 tables (complicated business domain), with many foreign keys. At first I had problems...
1
by: 9jaman | last post by:
Can anyone help me find a solution to this problem.I need a desktop-based software or system for news alert service.I want to start a news alert subscription service based on recharge cards. The...
3
by: vsailas | last post by:
Hi all, I am a novice at SQL programming, I am in a fix with a new requirement… I want a query that will fetch me username( from users table), Ip_start and ip_end (from ip_range table) and...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.