What did you have in mind?
pySoap any good?
Chapter 12 of "RESTful Web Services" (O'Reilly) has an example of a
web service implementation in Python (using the Django web framework).
http://oreilly.com/catalog/9780596529260/
Even if you don't buy the book, you can download the sample code for
the chapter.
Also, you could host your web-service on Google App Engine.
A couple of how-to articles, using XML-RPC and JSON-RPC:
http://appengine-cookbook.appspot.com/recipe/xml-rpc-server-using-google-app-engine/
http://code.google.com/appengine/articles/rpc.html
And a code sample with JSON-RPC:
http://code.google.com/p/gae-jsonrpc-example/
I hope the above helps!
Kevin.
If you're following one of the articles and using Google App Engine,
you'll be leaving your Apache, your current server hosting and
database behind and adopting Google's infrastructure--in that case,
see the docs at http://appengine.google.com to get going.
That may be too radical an option...
If you're just using Django, you can set up Django with Apache (on
your own server, with whatever database you're using now). See the
extensive docs on www.djangoproject.com.
Here's another example of using Django with XML-RPC, which will output
XML using SimpleXMLRPCDispatcher:
http://code.djangoproject.com/wiki/XML-RPC
Good luck!
Kevin.
You can setup apache to run files that end in .py as cgi scripts but
there is a big overhead in starting the python interpreter every time
a page is requested. This can be overcome by using mod_python or
fastcgi, Django for instance has support for both of these methods and
might be simpler than writing your own mod_python handler.
If you're deploying to shared hosting this might also affect what you pick.
Michael
> ...our clients should be able to access our methods from any application,
> like VC++ or .NET etc. How would we ensure that this webservice will
> work for all environments?
Testing. Lots of testing. Write once, test everywhere!
Good luck,
Kevin.