-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 26 Apr 2007, at 06:37, Ben Bangert wrote:

> I'll see about getting the optio SOAP thing in the cookbook tomorrow,
> tonight I've added using WSGI applications as Pylons controllers to
> the cookbook here:
> http://docs.pythonweb.org/display/pylonscookbook/Attaching+WSGI+apps
> +under+Pylons

A few nitpicking points:

1. That *path_info map trick turns the content of PATH_INFO into a  
unicode object. My reading of PEP-0333 suggests that this runs  
contrary to the spec:

http://www.python.org/dev/peps/pep-0333/#unicode-issues

certainly MoinMoin seems a bit suprised to be given a unicode object  
instead of a string.

2. There seems to be a known problem that, on occasion, requires one  
to reconstitute wsgi.input from the content of paste.parsed_formvars.  
I followed Ian Bicking's perennially useful advice:

http://pylonshq.com/irclogs/%23pylons/%23pylons.2007-02-17.log.html

3. The optio SOAP lib hides the standard WGSI interface behind a  
wrapper so it isn't a simple attachment, unfortunately. I spent a  
couple of hours last night pushing the code around but  didn't make  
much headway. Might be better off adapting tgwebservices but OTOH see:

http://wanderingbarque.com/nonintersecting/2006/11/15/the-s-stands- 
for-simple/

http://lists.community.tummy.com/pipermail/frpythoneers/2007-April/ 
001342.html

http://groups.google.co.uk/group/turbogears/browse_thread/thread/ 
67d973faf3810173/96d6ecdd3a52dac3

and

http://cleverdevil.org/computing/53/

"I’m sure that anyone who has had to work directly with the SOAP  
protocol can attest that it’s not the kind of thing you want to  
develop and maintain.
― Kevin Dangoor"

for why it might not be worth the effort given that Pylons has in- 
depth support for REST.

> I've gone through it somewhat roughly, so if anyone can help flesh it
> out, perhaps add some more linkage to relevant background knowledge,
> etc. that'd be great. I'll be happy to put up more rough cookbook
> recipe's if I see people flesh out the rough ones I post (hint hint :)

Slavedriver. ;-)

Cheers,

Graham.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iQCVAgUBRjCIPFnrWVZ7aXD1AQKF0QQAuTF+E3dkMQpqKSrUyclSt2ZeTs6JLwjS
sqarR1YxoAquNEB/S+AppVTCIHlSfkhGInlUPsuR8rsI1tlPuWdMNHf6o1NaV4Fq
1X/Oie/T/7mKV+3hz+hY96dm5Zj4e1GfufAxTA1qAhIKdS4jRCPBjuc28AFwatQV
wGnAtSfh/KA=
=fxI9
-----END PGP SIGNATURE-----


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to