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 )


Re: [Zope-dev] getUserById

2004-12-14 Thread Florent Guillaume
Chris McDonough wrote:
On Tue, 2004-12-14 at 12:37 +0100, Florent Guillaume wrote:
def getUserById(self, id, default=None):
   user = self.getUser(id)
   if user is not None:
   return user
   return default

or even:
def getUserById(self, id, default=None):
   return self.getUser(id) or default

FWIW, I assume it's understood that neither of these will do the right
thing for anything except the default Zope user folder (aka
"UserFolder"), so it's arguable that these implementations probably
shouldn't go into the BasicUserFolder base class (which is a base class
for "UserFolder" and maybe a lot of other user folders).  That said, I
think every other user folder implementation on the planet overrides
these methods.
Well if for them id != name, they have to override them.
FWIW, the user folder API is a complete mess (there
really is no sane API).  It might be best to just step away slowly from
this unless you want to own it. ;-)
No argument there :)
Stefan wanted some cleanup, why not. Defining the precise semantics is 
the first step anyway.

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] getUserById

2004-12-14 Thread Chris McDonough
On Tue, 2004-12-14 at 12:37 +0100, Florent Guillaume wrote:
> def getUserById(self, id, default=None):
> user = self.getUser(id)
> if user is not None:
> return user
> return default

> or even:
> 
> def getUserById(self, id, default=None):
> return self.getUser(id) or default

FWIW, I assume it's understood that neither of these will do the right
thing for anything except the default Zope user folder (aka
"UserFolder"), so it's arguable that these implementations probably
shouldn't go into the BasicUserFolder base class (which is a base class
for "UserFolder" and maybe a lot of other user folders).  That said, I
think every other user folder implementation on the planet overrides
these methods.  FWIW, the user folder API is a complete mess (there
really is no sane API).  It might be best to just step away slowly from
this unless you want to own it. ;-)

- C


___
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] Call for Offers: Zope training during Spring 2005

2004-12-14 Thread Dario Lopez-Kästen
[This is a general call for offers to interested parties. Apologies for 
the cross-post]

Greetings,
my organisation needs to hold one or more sessions of Zope training to 
meet current and future development and deployment needs. We use Zope as 
one of several (Web-)Application frameworks, and we typically need to 
interface and cooperate with external data sources (for example, User 
Management with Kerberos and other external User Sources providing user 
data - meaning we cannot base our UserFolders' data on Zope alone).

We will have a group of 8-12 people, most - if not all - experienced 
developers who will need to learn how to develop Applications on Zope, 
CMF, Plone and CPS. Participants can be assumed to know how to develop 
in Python (we will make sure of that).

We also want to focus on efficient ways to make Zope talk to Oracle, 
LDAP and MySQL (in that order) in an efficient and speedy manner, and 
how to develop high-speed, clusterable (ZEO) solutions with Zope-based 
technology.

At the end of the course(s) we expect the participants to be able to 
have a thorough understanding of what kind of frameworks Zope, CMF, 
Plone and CPS are, what their differences and their similarities are.

We also expect participants to know how to customise, adapt and develop 
applications based on Zope, CMF, CPS and Plone, how to develop add-ons 
to the above and how to develop Products that work with all of CMF, CPS 
and Plone.

To clarify, we also expect participants to be tought development 
techniques with File System based tools - not only on the Product level 
but on a solution level (i.e. all customisations, etc, of a site should 
be script/FS based as well).

The course(s) are scheduled to be held in March-April and possibly May, 
at Chalmers University of technology, Göteborg, Sweden.

We are not exclusively looking for a single party to provide courses for 
all of Zope, CMF, CPS and Plone; for example, you are welcome to offer 
training that only covers Plone or CPS.

While many of our participants can read and write english very well, 
they may be untrained in communicating verbally in English. It is 
therefore a plus if trainers are fluent in Swedish - it is an absolute 
requirement that trainers have good English communicative skills.

Please send your initial proposals per mail to the following address:
[EMAIL PROTECTED]
Please specify the following:
- Acceptable number of particiants
- What parts you are interested in
- A draft description of the training contents
- As estimate of the amount of work required from participants
- Your estiamte on how many sessions are needed
- Preliminary budget
If you have any questions regarding this offer, please contact me 
directly at [EMAIL PROTECTED]

Sincerely,
Dario Lopez-Kästen
IT Systems & Services
Chalmers University of Technology
Göteborg, Sweden
--
-- ---
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 )
From jeff Tue Dec 14 12:51:39 2004
Return-Path: [EMAIL PROTECTED]
Delivery-Date: Tue Dec 14 04:51:39 2004
Return-path: <[EMAIL PROTECTED]>
Envelope-to: archive@jab.org
Delivery-date: Tue, 14 Dec 2004 04:51:39 -0800
Received: from exprod5mx31.postini.com ([64.18.0.186] helo=psmtp.com)
	by toko.jab.org with smtp (Exim 3.36 #1 (Debian))
	id 1CeC9T-00020S-00
	for ; Tue, 14 Dec 2004 04:51:39 -0800
Received: from source ([209.237.227.199]) by exprod5mx31.postini.com ([64.18.4.10]) with SMTP;
	Tue, 14 Dec 2004 07:54:18 EST
Received: (qmail 67624 invoked by uid 500); 14 Dec 2004 12:54:13 -
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: 
List-Subscribe: 
List-Help: 
List-Post: 
List-Id: "Log4J Users List" 
Reply-To: "Log4J Users List" <[EMAIL PROTECTED]>
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 67605 invoked by uid 99); 14 Dec 2004 12:54:13 -
X-ASF-Spam-Status: No, hits=1.5 required=10.0
	tests=DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (hermes.apache.org: domain of [EMAIL PROTECTED] designates 64.4.61.32 as permitted sender)
Received: from bay102-f22.bay102.hotmail.com (HELO hotmail.com) (64.4.61.32)
 by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Dec 2004 04:54:09 -0800
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Tue, 14 Dec 2004 04:54:07 -0800
Message-ID: <[EMAIL PROTECTED]>
Received: from 213.38.69.82 by by102fd.bay102.hotmail.msn.com with HTTP;