Re: [Zope-dev] SOAP support?

2007-01-07 Thread Patrick Gerken

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


Hi,

I think it would be time to support SOAP out-of-the-box in some way in
Zope
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
application-server.

There are several SOAP related products available on zope.org. Does anyone
know about their functionality, pros & cons? I know that there is also
some
SOAP support available for Plone/Archetypes (I think written by Benjamin
Saller).

Thoughts?



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:
http://wanderingbarque.com/nonintersecting/2006/11/15/the-s-stands-for-simple/
http://www.somebits.com/weblog/tech/bad/whySoapSucks.html

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
the case.
So maybe, soap support would just mean a good documentation of integration
of zsi generated code in your product code.

Best regards,

   Patrick Gerken
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] SOAP support?

2007-01-07 Thread robert rottermann
Andreas Jung wrote:
> Hi,
>
> I think it would be time to support SOAP out-of-the-box in some way in
> Zope 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 application-server.
>
> There are several SOAP related products available on zope.org. Does
> anyone know about their functionality, pros & cons? I know that there
> is also some SOAP support available for Plone/Archetypes (I think
> written by Benjamin Saller).
>
i like the idea ver much,

we have been doing a number of projects  that needed SOAP connectivity.
we always used pythons HTTP/URL-libs to connect to the services. therefore
I can not comment  available Zope/Plone based tools.
Using SOAP implementing these project not only might have been more
straight forward 
but would have left the client (even) more confident to have chosen the
right tool.

robert
begin:vcard
fn:robert  rottermann
n:rottermann;robert 
email;internet:[EMAIL PROTECTED]
tel;work:031 333 10 20
tel;fax:031 333 10 23
tel;home:031 333 36 03
x-mozilla-html:FALSE
version:2.1
end:vcard

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] SOAP support?

2007-01-07 Thread Andreas Jung

Hi,

I think it would be time to support SOAP out-of-the-box in some way in Zope 
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 
application-server.


There are several SOAP related products available on zope.org. Does anyone 
know about their functionality, pros & cons? I know that there is also some 
SOAP support available for Plone/Archetypes (I think written by Benjamin 
Saller).


Thoughts?

Andreas

pgp9qlY9TNM6w.pgp
Description: PGP signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] SOAP Support for ZOPE

2004-12-15 Thread Lennart Regebro
Dario Lopez-Kästen wrote:
Richard Jones wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 15 Dec 2004 06:54 am, Aruna Kathiria wrote:
I did some work regarding SOAP support on ZOPE and published this
document on zope.org.

Is there really no interest in getting SOAP support into the Zope core?
I've got a guy working on some Microsoft Word stuff at the moment, and 
he was dumbfounded when he discovered that Zope doesn't support SOAP. 
In his words, "everyone supports SOAP". Sigh :)

Are there any objections to getting Aruna's patches into the 2.8 
codebase? I'd be willing to do the work - but note I know practically 
nothing about SOAP - I just want to be able to use it.

I would like to have SOAP support in the Zope core (both z2 and z3). We 
are probably going to be forced to interface with Java based SOAP 
enabled software next year, and I for one would feel more comfortable 
being able to say that Zope supports SOAP out of the box... think 
"important selling point".
Ha! That's because you are located in Microsoftistan. Also known as 
"Sweden". :P

But I agree, it would be nice with SOAP support out of the box. However, 
that means including several third-party libraries, which either is a 
bit complicated, or may be hard due to licensing.

One possible way is to add a module (similar to the soapByCignex.py 
module) to the ZPublisher and use "try/except ImportError" to import it. 
The third party python modules could then be downloaded and installed 
and the server restarted, to add SOAP support.

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] SOAP Support for ZOPE

2004-12-15 Thread Florent Guillaume
Richard wrote:
> On Wed, 15 Dec 2004 06:54 am, Aruna Kathiria wrote:
> > I did some work regarding SOAP support on ZOPE and published this
> > document on zope.org.
> 
> Is there really no interest in getting SOAP support into the Zope
> core? I've got a guy working on some Microsoft Word stuff at the
> moment, and he was dumbfounded when he discovered that Zope doesn't
> support SOAP. In his words, "everyone supports SOAP". Sigh :)

There is probably interest, but it needs motivated people like Aruna and
you to push it.

> Are there any objections to getting Aruna's patches into the 2.8
> codebase? I'd be willing to do the work - but note I know practically
> nothing about SOAP - I just want to be able to use it.

One problem is that Aruna's approach introduces dependencies to external
modules: fpconst, and a patched SOAPy. If these can be resolved, why
not.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] SOAP Support for ZOPE

2004-12-15 Thread Dario Lopez-Kästen
Richard Jones wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 15 Dec 2004 06:54 am, Aruna Kathiria wrote:
I did some work regarding SOAP support on ZOPE and published this
document on zope.org.

Is there really no interest in getting SOAP support into the Zope core?
I've got a guy working on some Microsoft Word stuff at the moment, and he was 
dumbfounded when he discovered that Zope doesn't support SOAP. In his words, 
"everyone supports SOAP". Sigh :)

Are there any objections to getting Aruna's patches into the 2.8 codebase? I'd 
be willing to do the work - but note I know practically nothing about SOAP - 
I just want to be able to use it.
I would like to have SOAP support in the Zope core (both z2 and z3). We 
are probably going to be forced to interface with Java based SOAP 
enabled software next year, and I for one would feel more comfortable 
being able to say that Zope supports SOAP out of the box... think 
"important selling point".

/dario
--
-- ---
Dario Lopez-Kästen, IT Systems & Services Chalmers University of Tech.
"...and click? damn, I need to kill -9 Word again..." - b using macosx
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] SOAP Support for ZOPE

2004-12-14 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 15 Dec 2004 06:54 am, Aruna Kathiria wrote:
> I did some work regarding SOAP support on ZOPE and published this
> document on zope.org.

Is there really no interest in getting SOAP support into the Zope core?

I've got a guy working on some Microsoft Word stuff at the moment, and he was 
dumbfounded when he discovered that Zope doesn't support SOAP. In his words, 
"everyone supports SOAP". Sigh :)

Are there any objections to getting Aruna's patches into the 2.8 codebase? I'd 
be willing to do the work - but note I know practically nothing about SOAP - 
I just want to be able to use it.


Richard
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBv2oRrGisBEHG6TARAgCuAJ0fVQoVsme1ShzPYT3rpw6mE6etXgCfb6Uf
sp8baNmBJP1rV7yF/CfikMQ=
=olB3
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] SOAP Support for ZOPE

2004-12-14 Thread John Ziniti
Aruna Kathiria wrote:
I did some work regarding SOAP support on ZOPE and published this
document on zope.org.
The link for this document is 
http://zope.org/Members/arunacgx/SOAP%20Support%20on%20Zope/file_view

I would like to get feedback/suggestion regarding this document.
One preliminary suggestion:
In the section entitled "3.2.4 Correcting HTTPRequest.py", I would
suggest that instead of having users edit the file, you could
instead distribute your product as a "Monkey Patch" Zope Product
that overrides the HTTPRequest.processInputs method with your
altered version.
You can see an example of this in the XmlFix Product attached
to the followign mailing-list item:
http://mail.zope.org/pipermail/zope/2004-June/151497.html
Basically you would do this:

### Import the HTTPRequest object we want to alter
from ZPublisher.HTTPRequest import HTTPRequest
### Save the *old* processInputs method
def initialize(context):
HTTPRequest._realProcessInputs = HTTPRequest.processInputs
HTTPRequest.processInputs = processInputs
### Write a new processInputs method that does what we want
def processInputs(self, *args, **kw):
 if myProductShouldHandleThisRequest:
 do_stuff()
 else:
 ### Hand over to the original processInputs
 return self._realProcessInputs(*args, **kw)
 

Since this is a Zope Product, the above code would run once
every time you started Zope, and is much more "portable" between
Zope installations than having the admin edit code.
Hope that helps,
John Ziniti
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] SOAP support on ZOPE (small correction)

2004-12-14 Thread Aruna Kathiria
Title: SOAP support on ZOPE (small correction)






Hello everyone:


I found one small mistake on this document and it is in SoapByCignex.py


Pl comment out following line before testing.


Import wsdllib


Thanks,

Aruna Kathiriya




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] SOAP Support for ZOPE

2004-12-14 Thread Aruna Kathiria
Title: SOAP Support for ZOPE






Hello:

I did some work regarding SOAP support on ZOPE and published this document on zope.org.

The link for this document is 

http://zope.org/Members/arunacgx/SOAP%20Support%20on%20Zope/file_view


I would like to get feedback/suggestion regarding this document.


With Regards,

Aruna Kathiriya

Sr.Consultant,

CIGNEX Technologies, Inc

T:    408.327.9900 x 314

F:    408.273.6785

C:    408.896.1330

E:    [EMAIL PROTECTED]

U:    www.cignex.com

"Implement IT Right"





___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )