Re: [Zope3-dev] SOAP support?

2007-02-08 Thread Jeff Shell

On 1/7/07, Andreas Jung [EMAIL PROTECTED] wrote:

Hi,

I am actually looking at options for bringing SOAP support into Zope 2.
Is there some SOAP infrastructure available in Zope 3 (or some add-ons)
and might be re-used in a reasonable way?


FWIW, I managed to bang out a brute force RPC style SOAP publisher,
based on the XML-RPC one in Zope 3. I used ZSI to handle the parsing /
writing, and expect my views / published methods to do the same -
ie, I can't just return a dictionary or list and have it all get
bundled up correctly. This is because SOAP, as far as I can understand
it, suuucks.

ZSI - http://pywebsvcs.sf.net/

I had to bang this implementation together because a customer has an
old flash applet that retrieved some data from a ColdFusion Component
exposed as a web service. They apparently don't have the Flash source
any more, and we've been unable to get much help from their developers
or anyone in regards to what this Flash tool expects. All we have is
the cold fusion component source - and we don't even know what data is
actually being returned! At most we can see the columns / keys. Ugh.

I'm glad that Zope 3 has a built-in place to attach a SOAP request
factory/handler/thing, but I definitely wouldn't expect or want any
more than that. I had to pull some nasty hacks to get the generated
SOAP response to be handled properly by the Flash client - what ZSI
generated was probably close to some kind of spec, but just didn't
behave in the same manner as these two Macromedia, er, Adobe tools.

It feels like the best chances of any kind of interoperability come
from servers and clients built by the same provider. What a mess.

I've attached the publisher side of what I've managed to cobble
together so far in case anyone is interested. I'm probably not going
to take this thing any further as it basically provides just enough
functionality to allow us to communicate with the Flash client. The
Zope application side of my project used ZSI's `wsdl2py` and
`wsdl2dispatch` to generate the skeleton code, typecodes, and rough
ideas on how to write a response handler.

The S Stands for Simple is definitely a great read. It's terrifying
because it's true. (At the same time, I can see the appeal of SOAP in
the heavyweight compiled commercial crap tools business - exposing a
ColdFusion Component as a web service is as easy as adding ``?wsdl``
to the URL, and I was able to attach the web service to a table in
Flash 8 Professional and witness data being returned, and I don't know
or use Flash (or ColdFusion) at all. Ugh. Shame it's such a crap
system. Viva AJAX with JSON! Viva View-Source! Viva good old fashioned
GET and POST HTTP requests that don't have additional traversal steps
buried in a body that one could never type by hand!)

- 100 for adding this kind of support to the core. It's way too much
of a mess, and the Python SOAP libraries all seem to be in pretty bad
shape.
--
Jeff Shell


soappublisher-0.0.0.tgz
Description: GNU Zip compressed data
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] SOAP support?

2007-02-08 Thread Kapil Thangavelu
On Thu, 08 Feb 2007 14:31:19 -0500, Jeff Shell [EMAIL PROTECTED]  
wrote:



On 1/7/07, Andreas Jung [EMAIL PROTECTED] wrote:

Hi,

I am actually looking at options for bringing SOAP support into Zope 2.
Is there some SOAP infrastructure available in Zope 3 (or some add-ons)
and might be re-used in a reasonable way?



snip

The S Stands for Simple is definitely a great read. It's terrifying
because it's true. (At the same time, I can see the appeal of SOAP in
the heavyweight compiled commercial crap tools business - exposing a
ColdFusion Component as a web service is as easy as adding ``?wsdl``
to the URL, and I was able to attach the web service to a table in
Flash 8 Professional and witness data being returned, and I don't know
or use Flash (or ColdFusion) at all. Ugh. Shame it's such a crap
system. Viva AJAX with JSON! Viva View-Source! Viva good old fashioned
GET and POST HTTP requests that don't have additional traversal steps
buried in a body that one could never type by hand!)



some additional good reads,

iona chief engineer - REST Eye for the SOAP Guy
http://dsonline.computer.org/portal/pages/dsonline/2007/01/w1tow.xml

gartner vp -
Web Services based on SOAP and WSDL are Web in name only. In fact, they  
are a hostile overlay of the Web based on traditional enterprise  
middleware architectural styles that has fallen far short of expectations  
over the past decade.


protocols and formats such as RSS, Atom, Microformats, and now GData that  
are the best examples of how to enable one software agent to interact with  
another (aka A2A integration).

http://www.w3.org/2007/01/wos-papers/gall

cheers,

kapil
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] SOAP support?

2007-01-07 Thread Christian Theune

Hi,

Andreas Jung wrote:

I am actually looking at options for bringing SOAP support into Zope 2.
Is there some SOAP infrastructure available in Zope 3 (or some add-ons)
and might be re-used in a reasonable way?


I stumbled over a SOAP publisher yesterday, so I guess there is at least 
something you should be able to leverage.


Christian

--
gocept gmbh  co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development

___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com