[Zope-dev] SOAP support?
do3ccqrv at googlemail.com
Sun Jan 7 07:56:07 EST 2007
On 1/7/07, Andreas Jung <lists at zopyx.com> wrote:
> I think it would be time to support SOAP out-of-the-box in some way in
> 2. XMLRPC is still a useful functionality but the whole world speak of
> web-services and Zope should support building web-services at least on the
> SOAP level. I am sure that would bring back some more attention to Zope as
> There are several SOAP related products available on zope.org. Does anyone
> know about their functionality, pros & cons? I know that there is also
> SOAP support available for Plone/Archetypes (I think written by Benjamin
We implemented a soap service one year ago, in the end, I was parsing the
incoming stream, and generated the soap messages by hand. The available
tools at that time were soappy with a zope2 wrapper and zsi <2.0
soappy was already in a stage where the developers said that they dont
maintain it any more, and people should use zsi. At that time zsi was mostly
dead, but some people were writing, there would be a new version soon. That
actually happened, but I never looked into that 2.0 version, because I could
read and write soap requests already. The old zsi looked very complicated,
and threw errors at my wsdl spec.
A bit off topic but I still want to throw it in:
If you have the freedom to decide whether you offer soap services or not,
please read these texts during your evaluation:
Especially the strong typing bites us hard sometimes.
If I had to support a soap interface as a server, I would receive a wsdl
spec file, and would have to implement the message stubs, so for this part,
I would need a wsdl parser that creates method stubs.
If I would be a client, I would receive a wsdl spec file and would need a
wsdl parser that creates method stubs, that actually make type checks of
what I send.
In the real worlds I live in, it would not help to make every method
automatically available as a soap service, because there are ugly and subtle
impendance mismatches, for example, if you would want to transfer sets
instead of lists. It would be serious pita, to write a method so that it
adheres to a complex, given wsdl spec file, and that is probably most often
So maybe, soap support would just mean a good documentation of integration
of zsi generated code in your product code.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Zope-Dev