[Repoze-dev] repoze, zope, soaplib Integration

Christian Klinger cklinger at novareto.de
Wed Oct 31 17:43:27 UTC 2007


Hi,

yes this helps me a lot in understanding the hole stack 
little bit better. Thanks for this detailed information.
I will look deeper in this topic in the next weeks.

Again thanks for your fast answers, and bringing
repoze on the rails.

Cheers

Christian

>Using the wsgi_soap.SimpleWSGISoapApp class, you can make a WSGI
>application that allows itself to be invoked via SOAP.  And with a
>clever enough Paste configuration (e.g. via egg:Paste#urlmap), you
>could cause this application to be run alongside Zope within the same
>process.  But this wouldn't by itself help you return Zope data from
>the SOAP methods.  You'd either have to open up a ZODB database
>connection from within the SimpleWSGISoapApp subclass to get the
>data, or you'd need to create more "Zopey" bindings (e.g. using the
>component architecture rather than WSGI to do the serialization) that
>fit into Zope proper.
>
>HTH,
>
>- C
>
>On Oct 31, 2007, at 10:13 AM, Christian Klinger wrote:
>
>> Hi repozers,
>>
>> a short question from a newbie in the world of eggs, wsgi
>> and others. :-)
>>
>> After reading the blogs and playing a bit with repoze,
>> there comes some question in my mind. If i understand
>> everything correct one of the goals is to mix and match different wsgi
>> applications together.
>>
>> Is it now possible with repoze to integrate soaplib
>> http://trac.optio.webfactional.com/ with zope?
>>
>> Can i use soaplib in a kind of a browser view?
>>
>> Maybe someone has some ideas for me.
>>
>> Thanks
>> Christian
>>
>>
>> This works but i can´t access zope in this configuration.
>> ----------------------------------------------------------------------
>> -------
>> use = egg:Paste#urlmap
>> / = grok
>> /soap = soap
>>
>> [app:soap]
>> paste.app_factory = nva.simplesoap:app_factory
>>
>> [DEFAULT]
>> debug = True
>>
>> [filter:suppressZopeErrorHandling]
>> paste.filter_app_factory = repoze.grok.bbb:SuppressZopeErrorHandling
>>
>> [app:bbb]
>> paste.app_factory = repoze.grok.bbb:make_grokapp
>> zope.conf = %(here)s/zope.conf
>>
>> [pipeline:grok]
>> pipeline = egg:Paste#cgitb
>> egg:Paste#httpexceptions
>> suppressZopeErrorHandling
>> bbb
>>
>> [server:main]
>> use = egg:repoze.grok#zserver
>> host = 192.168.2.23
>> port = 8080
>>
>> _______________________________________________
>> Repoze-dev mailing list
>> Repoze-dev at lists.repoze.org
>> http://lists.repoze.org/listinfo/repoze-dev
>
>


More information about the Repoze-dev mailing list