[omaha] Python SOAP and Apache
Mike Hostetler
mike at hostetlerhome.com
Mon May 19 17:45:14 CEST 2008
Once upon a time, I did the opposite of what you are doing -- I wrote some
Python web service clients to test Java and .Net Web Services.
The ZSI package has great support for both server and client. I
remember thinking that it was pretty server-centric when I messed with
it:
http://pywebsvcs.sourceforge.net/
If I remember
correctly, the client worked better against Java than .Net, tho I never
really understood why.
You may also want to use Push To
Test, in which you give it a WSDL and it makes a test for you.
You can customize the script via jython:
http://www.pushtotest.com/Docs/downloads/pushtotest-for-developers
freeav8r wrote:
> Hi Jeff and all,
>
> Thanks for the response. The WSGI mod appears to be
> what
we're looking for to connect to Apache. We need
> true connection
pooling though since we won't know
> which of many databases to
connect to until the
> individual request is processed.
>
> If we are to run the CherryPy application as WSGI in
>
apache without requiring the internal CherryPy engine
> to be run
(this appears to be the most efficent
> setup), any suggestions on
implementing connection
> pooling with apache and mysql so that
the python
> application has access to the connections?
>
>
>
> -freeav8r
>
>
>
--- Jeff Hinrichs - DM&T <jeffh at dundeemt.com> wrote:
>
>> While I haven't done any SOAP with python, here are
>> some of the things
>> that I know.
>>
>> CherryPy can run under apache via mod_wsgi
>>
> http://code.google.com/p/modwsgi/wiki/IntegrationWithCherryPy
>> so you
>> should be able to get yourself all the
goodness of
>> apache with pretty
>> much no code
modification.
>>
>> Connection Pooling: depends on
the database you are
>> using. Is it
>>
thread-safe? See
>> http://tools.cherrypy.org/wiki/Databases
for more
>> insight.
>>
>> regards,
>>
>> Jeff
>>
>> On Mon, May 19,
2008 at 9:53 AM, freeav8r
>> <freeav8r at yahoo.com>
wrote:
>> > Hi All,
>> >
>> > I
need to implement a number of SOAP web services
>> in
>> > Python for an enterprise level system (lots of
>> > traffic). Prototypes are up and running on
>>
cherrypy's
>> > WSGI server without any form of connection
pooling
>> for
>> > the database connections.
>> >
>> > Any suggestions on what technologies
and
>> frameworks
>> > that will allow the
following:
>> >
>> > 1. Ability to utilize
existing apache web servers
>> > 2. Connection pooling to a
database for the
>> database
>> > connections
that the web services will consume
>> > 3. Generation of
WSDL for (and compatibility
>> with)
>> > Python,
Java, and Microsoft .net clients.
>> >
>> >
Any suggestions? Anyone on the list already doing
>> >
this?
>> >
>> > -freeav8r
>>
>
>> >
>> >
>> >
>> >
>> >
_______________________________________________
>> > Omaha
Python Users Group mailing list
>> > Omaha at python.org
>> > http://mail.python.org/mailman/listinfo/omaha
>> > http://www.OmahaPython.org
>> >
>>
>>
>>
>> --
>> Jeff
Hinrichs
>> Dundee Media & Technology, Inc
>>
jeffh at dundeemt.com
>> 402.218.1473
>> web:
www.dundeemt.com
>> blog: inre.dundeemt.com
>>
_______________________________________________
>> Omaha Python
Users Group mailing list
>> Omaha at python.org
>>
http://mail.python.org/mailman/listinfo/omaha
>>
http://www.OmahaPython.org
>>
>
>
>
>
> _______________________________________________
> Omaha Python Users Group mailing list
> Omaha at python.org
> http://mail.python.org/mailman/listinfo/omaha
>
http://www.OmahaPython.org
>
More information about the Omaha
mailing list