473,782 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XML-RPC, SOAP, and data persistence

I had a play with XML-RPC the other day, and it seemed really simple
to use; which really made an impression on me. But you can't make data
persist on the server (not without rolling your own mechanism, at any
rate). I'm thinking here about thin clients, where the main process
runs on a server.

Is there any free solution to this problem? Is SOAP the answer?
Jul 18 '05 #1
6 2074
On 13 Oct 2003 03:34:47 -0700,
Mark Carter <ca**********@u kmail.com> wrote:
to use; which really made an impression on me. But you can't make data
persist on the server (not without rolling your own mechanism, at any
rate). I'm thinking here about thin clients, where the main process
runs on a server.


I don't follow the connection you're trying to make here. XML-RPC and SOAP
are network protocols used for communication between a client and a server;
what the server or client *do* with the data they receive is up to them and
not part of the protocol definition. You simply have to roll your own
mechanism, or use an existing module such as pickle, ZODB, or an RDBMS.

--amk

Jul 18 '05 #2
ca**********@uk mail.com (Mark Carter) wrote in message news:<d3******* *************** ***@posting.goo gle.com>...
I had a play with XML-RPC the other day, and it seemed really simple
to use; which really made an impression on me. But you can't make data
persist on the server (not without rolling your own mechanism, at any
rate). I'm thinking here about thin clients, where the main process
runs on a server.

Is there any free solution to this problem? Is SOAP the answer?


You can use Pickle or look at Twistedmatrix.c om for a full featured solution.

RodrigoB.
Jul 18 '05 #3
"A.M. Kuchling" <am*@amk.ca> wrote in message news:<Rt******* *************@s peakeasy.net>.. .
On 13 Oct 2003 03:34:47 -0700,
Mark Carter <ca**********@u kmail.com> wrote:
to use; which really made an impression on me. But you can't make data
persist on the server (not without rolling your own mechanism, at any
rate). I'm thinking here about thin clients, where the main process
runs on a server.


I don't follow the connection you're trying to make here. XML-RPC and SOAP
are network protocols used for communication between a client and a server;
what the server or client *do* with the data they receive is up to them and
not part of the protocol definition. You simply have to roll your own
mechanism, or use an existing module such as pickle, ZODB, or an RDBMS.

--amk


I was thinking in terms of thin clients, where you have to deal with
processes which persist after the call. Maybe you have computationally
intensive simulation software which runs on the server. The client is
a simple GUI that sends events to a process that runs on the server.
Pickling and databases don't really help here - although I suppose
that the server process could periodically dump some useful results
for the client to pick up.

XML-RPC appears to deal with remote procedure calls, but doesn't
address process persistence issues. It has a missing piece in the
"distribute d computing" puzzle. Maybe SOAP can do better, because it
has objects. That's mu question.
Jul 18 '05 #4
Mark Carter wrote:
XML-RPC appears to deal with remote procedure calls, but doesn't
address process persistence issues. It has a missing piece in the
"distribute d computing" puzzle. Maybe SOAP can do better, because it
has objects. That's mu question.


I strongly recommend you to takea look at Pyro,
http://pyro.sourceforge.net

With a few extra lines of code you can make Python
objects in your application remotely accessible as
if they were just regular local objects.

Pyro server objects are long running processes that
sit there and wait till someone invokes methods on
them. You can create per-user objects instances too.

Have a look!

--Irmen de Jong

PS Pyro is only suitable for a 100% python environment.
(both client and server are written in Python).

Jul 18 '05 #5
On 14 Oct 2003 03:20:29 -0700,
Mark Carter <ca**********@u kmail.com> wrote:
XML-RPC appears to deal with remote procedure calls, but doesn't
address process persistence issues. It has a missing piece in the
"distribute d computing" puzzle. Maybe SOAP can do better, because it
has objects. That's mu question.


No, SOAP doesn't address persistence any more than XML-RPC does; both
implement remote procedure calls with more or fewer bells and whistles. SOAP
has the additional disadvantage that the spec is very complicated, making it
hard for Python implementations to be up-to-date.

--amk
Jul 18 '05 #6
"A.M. Kuchling" <am*@amk.ca> wrote in message
No, SOAP doesn't address persistence any more than XML-RPC does; both
implement remote procedure calls with more or fewer bells and whistles. SOAP
has the additional disadvantage that the spec is very complicated, making it
hard for Python implementations to be up-to-date.


Thanks. I once saw a thick book on XML at the office, but soon put it
back as there was an aweful lot to it. But looking at XML-RPC, I saw
how easy it was to implement RPCs. It's so fuss-free and generic that
its difficult to imagine wanting to use any other mechanism.

Kinda makes you wonder what the whole point of .Net is.

The above comments are, of course, off-the-cuff remarks.
Jul 18 '05 #7

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

Similar topics

1
2169
by: felipe_azv | last post by:
a got this code in asp to construct a xml , to export it to a url this is de asp code: <% SQL = "Select * from User where CodeUser in ("& request.form("C1" &")" set rs = server.CreateObject("ADODB.Recordset") rs.CursorType = 3
2
2767
by: Simon Strandgaard | last post by:
I am trying to understand how to create a 'catalog.xml' file for my docbook-xml documents. If I understand correct a local catalog.xml file can both avoid hardcoding in makefiles (portability), plus speed up if the stylesheet+dtds is located on the local machine. Question #1: How do I create a catagory.xml file, which works?
0
1558
by: MarionEll | last post by:
Premier XML Industry Event Slated for Dec. 7-12 in Philadelphia; Presenters Include Adobe, BEA, Microsoft, IBM, Sun, Hewlett-Packard, Oracle Alexandria, Va. Sept. 30, 2003 - IDEAlliance, a leading trade association dedicated to fostering XML and other information technology standards, today announced the full program for XML Conference and Exposition 2003, being held Dec. 7-12, at the Pennsylvania Convention Center in Philadelphia,...
6
6787
by: yzzzzz | last post by:
Hi, In which cases is the <?xml version="1.0" encoding="UTF-8"?> processing instruction required at the beginning of an XML document, for the document to be valid? e.g. does it depend on the encoding used in the document, of the version of XML being used... Thanks.
0
1436
by: MarionEll | last post by:
XML 2003 Exposition Draws Leading XML Vendors Trade Show, Presentations Allow Companies to Showcase Cutting-edge Solutions Alexandria, Va. - Dec. 1, 2003 - XML 2003, the world's largest XML conference and exposition, will feature a trade show floor filled with key XML vendors including Adobe Systems, Inc. (NASDAQ: ADBE), ArborText, BEA Systems, Inc. (NASDAQ: BEAS), Document Management Solutions, Inc. (DMSI), Microsoft (NASDAQ: MSFT),...
0
1635
by: Steve Whitlatch | last post by:
It may be me, or it may be the Linux implementation of XML Catalogs on slackware. Whichever, please shed some light on this XML Catalog problem. When using the --catalogs option, xmllint resolves all system entities to local copies. No problem, for example: ********** %:~/docbook-testdocs-1.1/tests> xmllint --noout --nonet --valid --catalogs book.001.xml **********
0
1209
by: MarionEll | last post by:
XML 2004 to Focus on Government XML Applications Expanded Government Track to Highlight XML Applications in U.S. and Abroad; XML.gov, KM.gov, CIO Council, and SICoP to Co-Host Event Alexandria, Va. – Oct. 6, 2004 – IDEAlliance, a leading industry association dedicated to fostering XML and other information technology standards, today announced that XML Conference and Exposition 2004 will feature a full track of presentations and...
5
4212
by: laks | last post by:
Hi I have the following xsl stmt. <xsl:for-each select="JOB_POSTINGS/JOB_POSTING \"> <xsl:sort select="JOB_TITLE" order="ascending"/> This works fine when I use it. But when using multiple values in the where clause as below
0
2240
by: UncleRic | last post by:
Environment: Mac OS X (10.4.10) on MacBook Pro I'm a Perl Neophyte. I've downloaded the XML::Parser module and am attempting to install it in my working directory (referenced via PERL5LIB env): PERL5LIB=/Users/Ric/Library/Perl/ ls XML-Parser-2.34/ XML-Parser-2.34.tar
9
2482
by: Lie | last post by:
Why this generates AttributeError, then not? Python 2.5.2 (r252:60911, Apr 21 2008, 11:17:30) on linux2 Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'dom' <module 'xml.dom' from '/usr/lib/python2.5/xml/dom/__init__.pyc'>
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10146
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9944
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6735
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.