-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 25 Aug 2006, at 05:47, Serge Zagorac wrote:
Hi All
Is there any way or example how to configure plonePAS to consume a
web
service (in my case JAX-WS via SOAP ) in order to get user details?
This won't be a configuration issue, it will be a coding issue. You
don't mention specifically what consume a web service means, but
you might be able to put together a Scriptable Multiplugin or write
your own filesystem-based plugin to do the job.
However, there is one big caveat. Making HTTP calls (or almost any
other network request) out of Zope code during the execution of a web
request is risky. The executing thread will wait until the external
request has been answered, and if for whatever reason no answer is
received it will hang forever. There are four threads available in a
normal Zope configuration, the fourth time this happens your website
will be unavailable and Zope must be restarted. A lot of care needs
to be taken to ensure there are sensible timeouts on these external
calls to prevent hangs.
jens
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFE7sWDRAx5nvEhZLIRAlG6AJ9sSjNcg2aeMpAkFjVEFyX/ACoTEACfRTh+
fJ8VKl3cXDKf7L+o0xCcqBs=
=LwGy
-END PGP SIGNATURE-
___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas