Re: [Zope-PAS] plonePAS and JAX-WS

2006-08-25 Thread Jens Vagelpohl

-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


[Zope-PAS] plonePAS and JAX-WS

2006-08-24 Thread Serge Zagorac

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?

My main objective is to integrate our plone cms into our portal site. I
managed to integrate other web apps in the environment by consuming this
web service that provides the applications with the user credentials.
Unfortunately I can't find any documentation how to to this with Plone/Zope.

Any hints or advice would be much appreciated.

Regards

Serge

--
_

Serge Zagorac
Systems Engineer - Java Development
Manukau Institute of Technology
Information Communication Technology Services
Private Bag 94006
Manukau City
Auckland
New Zealand

Phone  : +64 09 968 7616
Fax: +64 09 968 7641
Mobile : +64 27 568 7616

mailto:[EMAIL PROTECTED]

http://www.manukau.ac.nz

__



___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas