Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old June 4th, 2003, 12:04 PM
HarryF's Avatar
HarryF HarryF is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 14 HarryF User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Status of Python Web Services

Finally have a good reason to use Python as I'm working on a small project to allow system information from a Windows NT server to be displayed on a web page.

General plan is to have Python act as a SOAP server, running on the Windows NT server, and use the Win32API extensions to gather system information.

Choice of Python is partly because I want a good reason to use it and partly because I may want to do the same with a Linux server later (which means I can just adapt the Win32 calls rather than starting from scratch).

Anyway, been playing around with ZSI which looks really good so far.

Some questions;

Are there any implementations that help with generating WSDL for a server? So far all I've found are client side readers.

Is ZSI the "best / right" implementation to choose? My Python skills are work in progress so ease of use is a factor but happy to sacrifice that for a reliable implementation. One thing that bothered me slightly about ZSI is the lack (I think) of being able to define a namespace for a set of exposed methods (to distinguish one service from another) although that won't effect this project.

Would I be better off with XML-RPC for the time being, given that it's a fairly simple remote API I want to build. If so, what Python XML-RCP implementation would you recommend?

Many thanks.

Reply With Quote
  #2  
Old June 6th, 2003, 02:34 PM
ZeUs's Avatar
ZeUs ZeUs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: St. George, Utah
Posts: 63 ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 31
If you are doing something simple, I would highly recommend XML-RPC instead of SOAP.

A really good XML-RPC implementation is actually the one that is part of the Python standard library - xmlrpclib

Reply With Quote
  #3  
Old June 11th, 2003, 05:11 AM
HarryF's Avatar
HarryF HarryF is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 14 HarryF User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the tip off.

Had a play with xmlrpclib and it seems to be a client only but it led me to the SimpleXMLRPCServer module which looks like all I need.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > Status of Python Web Services


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway