Re: [Zope-dev] WebService package

2001-12-02 Thread sean . bowman

hello,

there's a collector issue at http://collector.zope.org/Zope/62.

thanks,
Sean


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



[Zope-dev] WebService package

2001-12-02 Thread sean . bowman

hello,

I found a couple of problems while I was playing around with the
WebServices package; I think this patch fixes them.  The package looks
very nice, especially the documentation.  Unfortunately, I don't
understand SOAP well enough yet to make any intelligible comments...  

Sean


Index: SOAPMessage.py
===
RCS file: /cvs-repository/Packages/WebService/SOAPMessage.py,v
retrieving revision 1.1
diff -u -r1.1 SOAPMessage.py
--- SOAPMessage.py  26 Nov 2001 16:18:22 -  1.1
+++ SOAPMessage.py  2 Dec 2001 22:35:23 -
@@ -118,7 +118,7 @@
 
 def getParameter(self, name):
 """Return the named message parameter of the SOAP response."""
-for item in self.params:
+for item in self.parameters:
 if item.name == name:
 return item
 return None
Index: Transports.py
===
RCS file: /cvs-repository/Packages/WebService/Transports.py,v
retrieving revision 1.4
diff -u -r1.4 Transports.py
--- Transports.py   29 Nov 2001 22:18:02 -  1.4
+++ Transports.py   2 Dec 2001 22:35:23 -
@@ -51,12 +51,11 @@
 raise ValueError(
 'This Python installation does not have SSL support.'
 )
-conn = TimeoutHTTPS(host, None, self.timeout)
+conn = TimeoutHTTPS(host, None, self.timeout,
+key_file=self.key_file,
+cert_file=self.cert_file)
 else:
-conn = TimeoutHTTP(host, None, self.timeout,
-   key_file = self.key_file,
-   cert_file = self.cert_file
-   )
+conn = TimeoutHTTP(host, None, self.timeout)
 
 conn.putrequest(verb, path)



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



[Zope-dev] StructuredText problem w/ literals & underlining

2001-09-26 Thread sean . bowman

hello,

I'm having a problem with StructuredText on Zope-2_4-branch under python
2.1.1.  Literals with underscores in them get rendered as underlined
rather than literals; for example, '__class_init__' gets rendered as

StructuredTextParagraph(["'_", StructuredTextUnderline('class'),
"init__'"], [
])

rather than 

StructuredTextParagraph(StructuredTextLiteral('__class_init__'), [
])

(which is how ClassicDocumentClass.DocumentClass renders it).

The following patch works for me, but perhaps I'm just confused about the
proper way of doing things with the StructuredTextNG package?  

regards,
Sean

--- DocumentClass.pyWed Sep 26 11:49:43 2001
+++ DocumentClassNew.py Wed Sep 26 11:48:55 2001
@@ -371,8 +371,8 @@
 'doc_href',
 'doc_strong',
 'doc_emphasize',
-'doc_underline',
 'doc_literal',
+'doc_underline',
 'doc_sgml',
 'doc_xref',
 ]



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