From gajendraph at gmail.com Mon Nov 8 13:05:22 2010 From: gajendraph at gmail.com (Gajendra PH) Date: Mon, 8 Nov 2010 17:35:22 +0530 Subject: [Soap-Python] how to add wsse security header In-Reply-To: References: <201010281159.06645.joshua@eeinternet.com> Message-ID: Thanks All, for your valuable replies. Finally, I used ZSI for my soap client program. We can set UsernameToken in ZSI and this is working fine. Regards, Gajendra On Fri, Oct 29, 2010 at 2:43 AM, Devin Venable wrote: > Suds wsse works, but it is lightweight. If you only need UsernameToken, > and you don't need your password to be in digest form, it works. If you > need to sign or encrypt elements in your body, you are still out of luck. I > tried using a suds plugin to do my own signing using xmlsec, but having to > switch between DOM implementations is a pain, as SUDS uses its own and > xmlsec uses another. In any case, good luck and be sure to point it out if > you find a robust solution. For now, I've had to jump over to the JAVA side > and use WSS4J which is really mature. We need an equivalent for Python. > > On Thu, Oct 28, 2010 at 2:59 PM, Joshua J. Kugler > wrote: > >> On Tuesday 26 October 2010, Gajendra PH elucidated thus: >> > Hi, >> > >> > I am new to SOAP client programming. I want to add wsse security >> > header in my SOAP header. >> > >> > I found that suds is providing this (suds.wsse) but not in SOAP WSDL >> > Proxy. >> > >> > Can any one help me how to do this in SOAP client using soaplib? >> > >> > security=Security() >> > token=UsernameToken(username,password) >> > security.tokens.append(token) >> > client.set_options(wsse=security) >> >> As Burak mentioned, soaplib does not support WSSE, but another Python >> SOAP client does. Take a look at https://fedorahosted.org/suds/ I can >> verify from first hand experience that its WSSE implementation works >> (at least with the Yahoo Marketing API). >> >> j >> >> -- >> Joshua Kugler >> Part-Time System Admin/Programmer >> http://www.eeinternet.com - Fairbanks, AK >> PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A >> _______________________________________________ >> Soap mailing list >> Soap at python.org >> http://mail.python.org/mailman/listinfo/soap >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jspies at sun.ac.za Tue Nov 9 13:35:49 2010 From: jspies at sun.ac.za (Johann Spies) Date: Tue, 9 Nov 2010 14:35:49 +0200 Subject: [Soap-Python] http-headers and soappy Message-ID: <20101109123548.GJ6543@sun.ac.za> I am new to Soap and will appreciate help on the following please. Using the following code (up to the ====) I could successfully get a session_id which should be included in further queries in the http headers. >From the documentation: Header name: Cookie Header value: [SID="the session identifier"] What would be the most simple way to include the session_id (SID) as header in further queries? ----------------------------------------------------------------- import warning warnings.simplefilter('ignore',DeprecationWarning) from SOAPpy import HeaderHandler from SOAPpy import WSDL from SOAPpy import URLopener url= 'http://search.isiknowledge.com/esti/wokmws/ws/WOKMWSAuthenticate?wsdl' url1 = URLopener.URLopener(username='xy',passwd='xy') server=WSDL.Proxy(url1.open(url)) import os if os.environ.has_key('http_proxy'): http_proxy_conf = os.environ['http_proxy'].replace('http://', '') elif os.environ.has_key('HTTP_PROXY'): http_proxy_conf = os.environ['HTTP_PROXY'].replace('http://', '') else: http_proxy_conf = 'proxy.sun.ac.za:3128' server.soapproxy.http_proxy = http_proxy_conf session_id = server.authenticate('http://auth.cxf.wokmws.thomsonreuters.com', 'authenticateResponse') print "Session id: %s" % session_id ============================== I have tried the following code (did not find much documentation that I could understand) but I have to add another argument to HeaderHandler() and I don't know what: kopstukke = {'Name': 'Cookie', 'Value': 'SID = %s' % session_id} hd = HeaderHandler(kopstukke) hd.InteropTestHeader = session_id hd._setMustUnderstand ('InteropTestHeader', 0) hd._setActor ('InteropTestHeader','http://schemas.xmlsoap.org/soap/actor/next') server = server._hd (hd) respons = server.authenticate('http://auth.cxf.wokmws.thomsonreuters.com', 'closeSession') print server.authenticate('http://auth.cxf.wokmws.thomsonreuters.com', 'closeSesisonResponse') 41 kopstukke = {'Name': 'Cookie', 'Value': 'SID = %s' % session_id} ---> 42 hd = HeaderHandler(kopstukke) 43 hd.InteropTestHeader = session_id 44 hd._setMustUnderstand ('InteropTestHeader', 0) TypeError: __init__() takes exactly 3 arguments (2 given) Regards Johann -- Johann Spies Telefoon: 021-808 4699 Databestuurder / Data manager Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie Centre for Research on Evaluation, Science and Technology Universiteit Stellenbosch. "O death, where is thy sting? O grave, where is thy victory?" 1 Corinthians 15:55 From bradallen137 at gmail.com Thu Nov 11 03:55:31 2010 From: bradallen137 at gmail.com (Brad Allen) Date: Wed, 10 Nov 2010 20:55:31 -0600 Subject: [Soap-Python] http-headers and soappy In-Reply-To: <20101109123548.GJ6543@sun.ac.za> References: <20101109123548.GJ6543@sun.ac.za> Message-ID: I'm sorry you haven't gotten any help on this so far, Johann. I am not sure if anybody out there still supports SOAPpy. There is another soap-related mailing list where you might find others using SOAPpy: https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk These days for Python SOAP clients most are using suds which has pretty good community support. For server side soaplib is a pretty good choice; a lot of good work has been going into the upcoming 2.0 release and at this point the master branch is very usable. On Tue, Nov 9, 2010 at 6:35 AM, Johann Spies wrote: > > I am new to Soap and will appreciate help on the following please. > > Using the following code (up to the ====) I could successfully get a > session_id which should be included in further queries in the http > headers. > > >From the documentation: > > ? ? ? ?Header name: ?Cookie > ? ? ? ?Header value: ?[SID="the session identifier"] > > > What would be the most simple way to include the session_id (SID) as > header in further queries? > > ----------------------------------------------------------------- > import warning > warnings.simplefilter('ignore',DeprecationWarning) > from SOAPpy import HeaderHandler > from SOAPpy import WSDL > from SOAPpy import URLopener > url= 'http://search.isiknowledge.com/esti/wokmws/ws/WOKMWSAuthenticate?wsdl' > url1 = URLopener.URLopener(username='xy',passwd='xy') > server=WSDL.Proxy(url1.open(url)) > import os > if os.environ.has_key('http_proxy'): > ? ?http_proxy_conf = os.environ['http_proxy'].replace('http://', '') > elif os.environ.has_key('HTTP_PROXY'): > ? ?http_proxy_conf = os.environ['HTTP_PROXY'].replace('http://', '') > else: > ? ?http_proxy_conf = 'proxy.sun.ac.za:3128' > > server.soapproxy.http_proxy = http_proxy_conf > > session_id = server.authenticate('http://auth.cxf.wokmws.thomsonreuters.com', 'authenticateResponse') > print "Session id: %s" % session_id > > ============================== > > I have tried the following code (did not find much documentation that I > could understand) but I have to add another argument to HeaderHandler() > and I don't know what: > > kopstukke = {'Name': 'Cookie', 'Value': 'SID = %s' % session_id} > hd = HeaderHandler(kopstukke) > hd.InteropTestHeader = session_id > hd._setMustUnderstand ('InteropTestHeader', 0) > hd._setActor ('InteropTestHeader','http://schemas.xmlsoap.org/soap/actor/next') > server = server._hd (hd) > respons = server.authenticate('http://auth.cxf.wokmws.thomsonreuters.com', 'closeSession') > > print server.authenticate('http://auth.cxf.wokmws.thomsonreuters.com', 'closeSesisonResponse') > > ? ? 41 kopstukke = {'Name': 'Cookie', 'Value': 'SID = %s' % session_id} > ---> 42 hd = HeaderHandler(kopstukke) > ? ? 43 hd.InteropTestHeader = session_id > ? ? 44 hd._setMustUnderstand ('InteropTestHeader', 0) > > TypeError: __init__() takes exactly 3 arguments (2 given) > > > Regards > Johann > > -- > Johann Spies ? ? ? ? ? ? ? ? ? ? ? ? ? ?Telefoon: 021-808 4699 > Databestuurder / ?Data manager > > Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie > Centre for Research on Evaluation, Science and Technology > Universiteit Stellenbosch. > > ? ? "O death, where is thy sting? O grave, where is > ? ? ?thy victory?" ? ? ? ? ? ? 1 Corinthians 15:55 > _______________________________________________ > Soap mailing list > Soap at python.org > http://mail.python.org/mailman/listinfo/soap > From dieter at handshake.de Fri Nov 12 08:18:06 2010 From: dieter at handshake.de (Dieter Maurer) Date: Fri, 12 Nov 2010 08:18:06 +0100 Subject: [Soap-Python] http-headers and soappy In-Reply-To: References: Message-ID: <19676.59950.24929.459324@gargle.gargle.HOWL> Brad Allen wrote at 2010-11-10 20:55 -0600: >I'm sorry you haven't gotten any help on this so far, Johann. I am not >sure if anybody out there still supports SOAPpy. There is another >soap-related mailing list where you might find others using SOAPpy: > > https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk > >These days for Python SOAP clients most are using suds which has >pretty good community support. > >For server side soaplib is a pretty good choice; a lot of good work >has been going into the upcoming 2.0 release and at this point the >master branch is very usable. For server side use, ZSI, too, might be an option. While it is actively developed and support provided in the mailing list above, the developers are less interested in release management with the consequence that "PyPI" contains an outdated version and current sources must be fetched from the source code repository. I, too, recommend "suds" for client side use (which you seem to be primarily interested in). It is very easy to use (far easier than ZSI) and well maintained. -- Dieter From bradallen137 at gmail.com Fri Nov 12 14:34:01 2010 From: bradallen137 at gmail.com (Brad Allen) Date: Fri, 12 Nov 2010 07:34:01 -0600 Subject: [Soap-Python] http-headers and soappy In-Reply-To: <19676.59950.24929.459324@gargle.gargle.HOWL> References: <19676.59950.24929.459324@gargle.gargle.HOWL> Message-ID: On Fri, Nov 12, 2010 at 1:18 AM, Dieter Maurer wrote: > For server side use, ZSI, too, might be an option. > > While it is actively developed and support provided in the mailing list > above, the developers are less interested in release management > with the consequence that "PyPI" contains an outdated version > and current sources must be fetched from the source code repository. I think sustainable release management has also been an issue on the soaplib side, but I think you'll see good progress on that front with the upcoming releases. From Sergey.Bozhenkov at ipp.mpg.de Mon Nov 15 18:00:24 2010 From: Sergey.Bozhenkov at ipp.mpg.de (Sergey Bozhenkov) Date: Mon, 15 Nov 2010 18:00:24 +0100 Subject: [Soap-Python] test for issue 58 Message-ID: <20101115180024.5282e356@boz-laptop> -------------- next part -------------- A non-text attachment was scrubbed... Name: test.py Type: text/x-python Size: 1095 bytes Desc: not available URL: From tseaver at palladion.com Fri Nov 19 00:43:48 2010 From: tseaver at palladion.com (Tres Seaver) Date: Thu, 18 Nov 2010 18:43:48 -0500 Subject: [Soap-Python] Importing archive into gmane Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Any objection from Brad or the list for importing the list archive into gmane.org? Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver at palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzlujQACgkQ+gerLs4ltQ5g3gCcDWdOJCPx5VR3i3liUNjea9dR Ec0An3mZIl9fv/NC+h6lkX/8xSvt9n5J =hzL0 -----END PGP SIGNATURE----- From bradallen137 at gmail.com Fri Nov 19 01:00:02 2010 From: bradallen137 at gmail.com (Brad Allen) Date: Thu, 18 Nov 2010 18:00:02 -0600 Subject: [Soap-Python] Importing archive into gmane In-Reply-To: References: Message-ID: No, I think that's a good idea. On Thu, Nov 18, 2010 at 5:43 PM, Tres Seaver wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Any objection from Brad or the list for importing the list archive into > gmane.org? > > > Tres. > - -- > =================================================================== > Tres Seaver ? ? ? ? ?+1 540-429-0999 ? ? ? ? ?tseaver at palladion.com > Palladion Software ? "Excellence by Design" ? ?http://palladion.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkzlujQACgkQ+gerLs4ltQ5g3gCcDWdOJCPx5VR3i3liUNjea9dR > Ec0An3mZIl9fv/NC+h6lkX/8xSvt9n5J > =hzL0 > -----END PGP SIGNATURE----- > > _______________________________________________ > Soap mailing list > Soap at python.org > http://mail.python.org/mailman/listinfo/soap > From tseaver at palladion.com Fri Nov 19 15:10:04 2010 From: tseaver at palladion.com (Tres Seaver) Date: Fri, 19 Nov 2010 09:10:04 -0500 Subject: [Soap-Python] Importing archive into gmane In-Reply-To: References: Message-ID: <4CE6853C.8030308@palladion.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/18/2010 07:00 PM, Brad Allen wrote: > No, I think that's a good idea. Hmmm, I just tried downloading the monthly archives, intending to concatenate them together for the Gmane admin. I downloaded each month's "gzipped text file" from: http://mail.python.org/pipermail/soap/ but the gzipped text files appear scrambled. Are they encrypted somehow? Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver at palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzmhTwACgkQ+gerLs4ltQ63sQCgw5wqxBzWeSuMloFyZRCeGIyd ixMAniWt278EYows15M7czq5QruVRlgH =lKuc -----END PGP SIGNATURE----- From bradallen137 at gmail.com Fri Nov 19 17:21:03 2010 From: bradallen137 at gmail.com (Brad Allen) Date: Fri, 19 Nov 2010 10:21:03 -0600 Subject: [Soap-Python] Importing archive into gmane In-Reply-To: <4CE6853C.8030308@palladion.com> References: <4CE6853C.8030308@palladion.com> Message-ID: On Fri, Nov 19, 2010 at 8:10 AM, Tres Seaver wrote: > I downloaded each month's "gzipped text file" from: > > ?http://mail.python.org/pipermail/soap/ > > but the gzipped text files appear scrambled. ?Are they encrypted somehow? These are the files produced by the Mailman set up for the python.org mailing lists, and are not encrypted. I didn't have the same problem with the first two I tried decompressing: 2010-November.txt.gz.gz 2010-October.txt.gz.gz Oddly, my Chrome browser on Mac added an extra .gz at the end. The Mac GUI had no problem decompressing into plain text which appeared to be non-scrambled. I tried using the command line "tar" to decompress them but it appears they are not "tar" archives. When I tried gunzip I saw the garbled text, which must be the same thing you saw. Weird. From dsuch at gefira.pl Fri Nov 19 17:41:25 2010 From: dsuch at gefira.pl (Dariusz Suchojad) Date: Fri, 19 Nov 2010 17:41:25 +0100 Subject: [Soap-Python] Importing archive into gmane In-Reply-To: References: <4CE6853C.8030308@palladion.com> Message-ID: <4CE6A8B5.9050609@gefira.pl> Brad Allen wrote: > I didn't have the same problem with the first two I tried decompressing: > > 2010-November.txt.gz.gz > 2010-October.txt.gz.gz > > Oddly, my Chrome browser on Mac added an extra .gz at the end. The Mac > GUI had no problem decompressing into plain text which appeared to be > non-scrambled. > > I tried using the command line "tar" to decompress them but it appears > they are not "tar" archives. When I tried gunzip I saw the garbled > text, which must be the same thing you saw. Weird. Heh, the files appear to be doubly compressed with gzip so depending on your shell, window manager or what-have-you the files may seem to be garbled or not. Using the 'file' command will show their proper types though (that's how I figured out they were a .gz inside a .gz). -- Dariusz Suchojad From burak.arslan at arskom.com.tr Fri Nov 19 19:42:08 2010 From: burak.arslan at arskom.com.tr (Burak Arslan) Date: Fri, 19 Nov 2010 20:42:08 +0200 Subject: [Soap-Python] soaplib's new maintainer Message-ID: <4CE6C500.1030400@arskom.com.tr> hi, i'll be afk until further notice starting december due to some new life commitments. brad allen has agreed to assume the responsibility of soaplib maintenance in my absence. i hear he already has announcements to make :) i wish you all the best. goodbye burak From burak.arslan at arskom.com.tr Fri Nov 19 20:15:25 2010 From: burak.arslan at arskom.com.tr (Burak Arslan) Date: Fri, 19 Nov 2010 21:15:25 +0200 Subject: [Soap-Python] soaplib's new maintainer In-Reply-To: <4CE6C500.1030400@arskom.com.tr> References: <4CE6C500.1030400@arskom.com.tr> Message-ID: <4CE6CCCD.8070108@arskom.com.tr> On 11/19/10 20:42, Burak Arslan wrote: > hi, > > i'll be afk until further notice starting december due to some new life > commitments. brad allen has agreed to assume the responsibility of > soaplib maintenance in my absence. > > i hear he already has announcements to make :) > > i wish you all the best. > > oh and for the record, here's how to do a new release: 1) update version in setup.cfg or setup.py or both. 2) git commit -a -m "new release: done this and that" 3) git tag 4) git push; git push --tags # github release 5) python setup.py sdist upload # pypi release burak From bradallen137 at gmail.com Fri Nov 19 22:37:16 2010 From: bradallen137 at gmail.com (Brad Allen) Date: Fri, 19 Nov 2010 15:37:16 -0600 Subject: [Soap-Python] soaplib's new maintainer In-Reply-To: <4CE6C500.1030400@arskom.com.tr> References: <4CE6C500.1030400@arskom.com.tr> Message-ID: On Fri, Nov 19, 2010 at 12:42 PM, Burak Arslan wrote: > ?hi, > > i'll be afk until further notice starting december due to some new life > commitments. brad allen has agreed to assume the responsibility of > soaplib maintenance in my absence. > > i hear he already has announcements to make :) Yes, we're ready to release the 2.0 beta, and we'll send out a more detailed announcement soon. Thanks for the massive contributions pushing soaplib forward, Burak. The CONTRIBUTORS file could use some updating to list all the things you did. You'll also be missed on this list because of the support you provided for soaplib users. My co-worker Chris Austin has also contributed significantly to soaplib in recent weeks, and will continue to do so in the future as the need arises. At this point I think he has a good grasp of soaplib internals and architecture so that he can carry the torch forward as well as teach others. Since this package is important to us at work we have a strong interest in maintaining it going forward and hope to foster a growing community of users and contributors. From tseaver at palladion.com Sat Nov 20 04:36:49 2010 From: tseaver at palladion.com (Tres Seaver) Date: Fri, 19 Nov 2010 22:36:49 -0500 Subject: [Soap-Python] soaplib's new maintainer In-Reply-To: <4CE6CCCD.8070108@arskom.com.tr> References: <4CE6C500.1030400@arskom.com.tr> <4CE6CCCD.8070108@arskom.com.tr> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/19/2010 02:15 PM, Burak Arslan wrote: > On 11/19/10 20:42, Burak Arslan wrote: >> i'll be afk until further notice starting december due to some new life >> commitments. brad allen has agreed to assume the responsibility of >> soaplib maintenance in my absence. Thank your for the work you have done to date, and best wishes for your new endeavors. >> i hear he already has announcements to make :) >> >> i wish you all the best. >> >> > > oh and for the record, here's how to do a new release: > > 1) update version in setup.cfg or setup.py or both. > 2) git commit -a -m "new release: done this and that" > 3) git tag > 4) git push; git push --tags # github release > 5) python setup.py sdist upload # pypi release I think that last should be: 'python setup.py sdist register upload' to get the metadata pushed to PyPI as well as the tarball. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver at palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkznQlEACgkQ+gerLs4ltQ4lKQCfUuTnkaw4B98LfE6PHnksjxG/ CF4AoKoAnS0vcAdwMbJCID3F2EgXqosI =Xowq -----END PGP SIGNATURE----- From bradallen137 at gmail.com Tue Nov 23 02:42:47 2010 From: bradallen137 at gmail.com (Brad Allen) Date: Mon, 22 Nov 2010 19:42:47 -0600 Subject: [Soap-Python] soaplib's new maintainer In-Reply-To: References: <4CE6C500.1030400@arskom.com.tr> <4CE6CCCD.8070108@arskom.com.tr> Message-ID: We've gotten a bit delayed on the beta release; the main holdup right now is getting the GitHub issues migrated over to the new GitHub repo. We wanted the "official" repo to be owned by an organization instead of an individual; the name we came up with is slightly silly but should serve the purpose. If you want to become a core contributor, you'll be joining the "soapapistas" group on Github. :-) If anyone comes up with a better name, let me know. The new repo is here: https://github.com/soapapistas/soaplib (the to be released beta is in the 2_0 branch). Btw, the 2.0 beta announcement text is a work in progress here; feel free to modify. It still needs a little work before the actual release announcement. https://github.com/soapapistas/soaplib/wiki/CurrentReleaseAnnouncement The Sphinx docs for soaplib 2.0 are here: http://soapapistas.github.com/soaplib/2_0/ From burak.arslan at arskom.com.tr Tue Nov 23 03:09:23 2010 From: burak.arslan at arskom.com.tr (Burak Arslan) Date: Tue, 23 Nov 2010 04:09:23 +0200 Subject: [Soap-Python] soaplib's new maintainer In-Reply-To: References: <4CE6C500.1030400@arskom.com.tr> <4CE6CCCD.8070108@arskom.com.tr> Message-ID: <4CEB2253.6040909@arskom.com.tr> On 11/23/10 03:42, Brad Allen wrote: > We've gotten a bit delayed on the beta release; the main holdup right > now is getting the GitHub issues migrated over to the new GitHub repo. > We wanted the "official" repo to be owned by an organization instead > of an individual; the name we came up with is slightly silly but > should serve the purpose. > > If you want to become a core contributor, you'll be joining the > "soapapistas" group on Github. :-) If anyone comes up with a better > name, let me know. hi brad, i'm afraid i'm a bit disappointed in this announcement. i don't see why you'd need to have a new organization, especially when it's so much of a hassle. soaplib was, before migration to arskom/soaplib organization, watched by more than 50 people. we're yet to reach that number. and that migration happened because 1) it was jkp's personal repo and not a proper organization, 2) i had to rewrite git history to deal with previous screw-ups, so we needed a new repo anyway. so please explain why you absolutely need to migrate to a new organization. the way i see it, it brings nothing positive to the table and hinders what little traction the project has. that said, i own both github.com/rpclib and github.com/soaplib organizations. so if you're adamant on migration, can come up with a proper excuse, and you're after a less ridiculous name, i can grant you rights on those addresses. best regards, burak From burak.arslan at arskom.com.tr Tue Nov 23 03:27:20 2010 From: burak.arslan at arskom.com.tr (Burak Arslan) Date: Tue, 23 Nov 2010 04:27:20 +0200 Subject: [Soap-Python] soaplib's new maintainer In-Reply-To: References: <4CE6C500.1030400@arskom.com.tr> <4CE6CCCD.8070108@arskom.com.tr> Message-ID: <4CEB2688.1080208@arskom.com.tr> On 11/23/10 03:42, Brad Allen wrote: > Btw, the 2.0 beta announcement text is a work in progress here; feel > free to modify. It still needs a little work before the actual release > announcement. > > https://github.com/soapapistas/soaplib/wiki/CurrentReleaseAnnouncement > > > Soaplib is fast: it relies on lxml for performance intensive aspects > such as XML parsing, validation, and namespace maps. > minor nit: mapping between namespaces and prefixes is done in the python side. the nsmap is passed to lxml when serializing the xml etree structure. From bradallen137 at gmail.com Tue Nov 23 03:55:15 2010 From: bradallen137 at gmail.com (Brad Allen) Date: Mon, 22 Nov 2010 20:55:15 -0600 Subject: [Soap-Python] soaplib's new maintainer In-Reply-To: <4CEB2253.6040909@arskom.com.tr> References: <4CE6C500.1030400@arskom.com.tr> <4CE6CCCD.8070108@arskom.com.tr> <4CEB2253.6040909@arskom.com.tr> Message-ID: On Mon, Nov 22, 2010 at 8:09 PM, Burak Arslan wrote: > ?On 11/23/10 03:42, Brad Allen wrote: >> We've gotten a bit delayed on the beta release; the main holdup right >> now is getting the GitHub issues migrated over to the new GitHub repo. >> We wanted the "official" repo to be owned by an organization instead >> of an individual; the name we came up with is slightly silly but >> should serve the purpose. >> >> If you want to become a core contributor, you'll be joining the >> "soapapistas" group on Github. :-) ?If anyone comes up with a better >> name, let me know. > > hi brad, > > i'm afraid i'm a bit disappointed in this announcement. > > i don't see why you'd need to have a new organization, especially when > it's so much of a hassle. soaplib was, before migration to > arskom/soaplib organization, watched by more than 50 people. we're yet > to reach that number. and that migration happened because 1) it was > jkp's personal repo and not a proper organization, 2) i had to rewrite > git history to deal with previous screw-ups, so we needed a new repo anyway. > > so please explain why you absolutely need to migrate to a new > organization. the way i see it, it brings nothing positive to the table > and hinders what little traction the project has. > > that said, i own both github.com/rpclib and github.com/soaplib > organizations. so if you're adamant on migration, can come up with a > proper excuse, and you're after a less ridiculous name, i can grant you > rights on those addresses. github.com/soaplib seems like a good choice, though that gives us a lot of urls that contain "soaplib/soaplib" which seems awkward. "soapapista" was supposed to be a play on sopapilla + Pythonista, but I guess it does come off as ridiculous. Does anyone have a better suggestion for an organization name? Chris suggested "soaplibbers"... I would strongly prefer for soaplib to exist under a GitHub organization rather than an individual, for some of the reasons listed here: https://github.com/blog/674-introducing-organizations The most important is multiple administrators; I need the ability delegate access privileges to others. Also, currently you are the only owner of arksom/soaplib, and you will be inaccessible in the near future. If we need administrative capabilities, such as adding other core contributors, we'll be stuck. Additionally, I expect to see multiple related repos tied to the soaplib project, which can fall under the same organization. For example, we may decide that support for particular servers such as Zope, CherryPy, Twisted, etc., be put into separate packages outside soaplib. Another possibility is spinning off soaplib.model because it's useful outside a SOAP context. We're not doing that for now because we want to get out the release ASAP, and that kind of decision needs to be vetted with the community. Another advantage of using a GitHub organization: the next change of maintainers will have a smooth transition path and won't have to worry about this. I think the number of GitHub followers can be regenerated at the new repo location. Good docs, beautiful APIs, robust functionality, thorough test coverage, and an inclusive community process will do wonders for adoption. We do need to figure out how to migrate the issues, though. I've spotted Github support tickets where this has been done by Github administrators, so we're planning to seek support on that tomorrow. From burak.arslan at arskom.com.tr Tue Nov 23 04:11:15 2010 From: burak.arslan at arskom.com.tr (Burak Arslan) Date: Tue, 23 Nov 2010 05:11:15 +0200 Subject: [Soap-Python] soaplib's new maintainer In-Reply-To: References: <4CE6C500.1030400@arskom.com.tr> <4CE6CCCD.8070108@arskom.com.tr> <4CEB2253.6040909@arskom.com.tr> Message-ID: <4CEB30D3.3080306@arskom.com.tr> On 11/23/10 04:55, Brad Allen wrote: > The most important is multiple administrators; I need the ability > delegate access privileges to others. Also, currently you are the only > owner of arksom/soaplib, and you will be inaccessible in the near > future. If we need administrative capabilities, such as adding other > core contributors, we'll be stuck. > > i was quite sure giving you administrative rights over soaplib repo let you add collaborators to that repo as well. but apparently it doesn't. oh well. but how do we proceed about the name? rpclib? soaplib? i think this should be the last time this repository is moved. what do you think? From bradallen137 at gmail.com Tue Nov 23 04:20:50 2010 From: bradallen137 at gmail.com (Brad Allen) Date: Mon, 22 Nov 2010 21:20:50 -0600 Subject: [Soap-Python] soaplib's new maintainer In-Reply-To: <4CEB30D3.3080306@arskom.com.tr> References: <4CE6C500.1030400@arskom.com.tr> <4CE6CCCD.8070108@arskom.com.tr> <4CEB2253.6040909@arskom.com.tr> <4CEB30D3.3080306@arskom.com.tr> Message-ID: On Mon, Nov 22, 2010 at 9:11 PM, Burak Arslan wrote: > but how do we proceed about the name? rpclib? soaplib? Let's get more community input on possible names. > i think this should be the last time this repository is moved. what do you think? That would be my hope as well; using an organization should allow for easier changing of the guard. It should also enable rotating release manager responsibilities. From ovnicraft at gmail.com Tue Nov 23 04:30:48 2010 From: ovnicraft at gmail.com (Ovnicraft) Date: Mon, 22 Nov 2010 22:30:48 -0500 Subject: [Soap-Python] soaplib's new maintainer In-Reply-To: References: <4CE6C500.1030400@arskom.com.tr> <4CE6CCCD.8070108@arskom.com.tr> <4CEB2253.6040909@arskom.com.tr> <4CEB30D3.3080306@arskom.com.tr> Message-ID: On Mon, Nov 22, 2010 at 10:20 PM, Brad Allen wrote: > On Mon, Nov 22, 2010 at 9:11 PM, Burak Arslan > wrote: > > > but how do we proceed about the name? rpclib? soaplib? > > Let's get more community input on possible names. > soaplib > > > i think this should be the last time this repository is moved. what do > you think? > > That would be my hope as well; using an organization should allow for > easier changing of the guard. It should also enable rotating release > manager responsibilities. > _______________________________________________ > Soap mailing list > Soap at python.org > http://mail.python.org/mailman/listinfo/soap > -- Cristian Salamea @ovnicraft -------------- next part -------------- An HTML attachment was scrubbed... URL: From bradallen137 at gmail.com Tue Nov 23 17:27:23 2010 From: bradallen137 at gmail.com (Brad Allen) Date: Tue, 23 Nov 2010 10:27:23 -0600 Subject: [Soap-Python] soaplib's new maintainer In-Reply-To: References: <4CE6C500.1030400@arskom.com.tr> <4CE6CCCD.8070108@arskom.com.tr> <4CEB2253.6040909@arskom.com.tr> <4CEB30D3.3080306@arskom.com.tr> Message-ID: On Mon, Nov 22, 2010 at 10:20 PM, Brad Allen wrote: >> >> On Mon, Nov 22, 2010 at 9:11 PM, Burak Arslan >> wrote: >> >> > but how do we proceed about the name? rpclib? soaplib? >> >> Let's get more community input on possible names. > > soaplib Ok, the "soaplib" team it is, then. I realize this was a short voting period but we need to move forward with the release. Burak has granted Chris Austin ownership access to the "soaplib" GitHub organization, and Chris granted me ownership. Now I have full owner privileges, so we know this process works and will make it easier to hand over the reigns in the future without having to move the repo. Chris is pushing the recent changes from the soapapista/soaplib repo to the soaplib/soaplib repo; he is also updating the GitHub support ticket to ask the issues moved over from arksom/soaplib to soaplib/soaplib. I'll move the (two) wiki pages over manually. From roger.hansen at usit.uio.no Wed Nov 24 13:59:20 2010 From: roger.hansen at usit.uio.no (Roger Hansen) Date: Wed, 24 Nov 2010 13:59:20 +0100 Subject: [Soap-Python] soaplib's new maintainer In-Reply-To: References: <4CE6C500.1030400@arskom.com.tr> <4CE6CCCD.8070108@arskom.com.tr> <4CEB2253.6040909@arskom.com.tr> <4CEB30D3.3080306@arskom.com.tr> Message-ID: * Brad Allen > On Mon, Nov 22, 2010 at 10:20 PM, Brad Allen wrote: >>> >>> On Mon, Nov 22, 2010 at 9:11 PM, Burak Arslan >>> wrote: >>> >>> > but how do we proceed about the name? rpclib? soaplib? >>> >>> Let's get more community input on possible names. >> >> soaplib > > Ok, the "soaplib" team it is, then. I realize this was a short voting > period but we need to move forward with the release. FWIW, I'm glad that soaplib is the name, although soapapistas was kind of funny. :) I would also like to thank Burak for the great work he has done for soaplib. Hopefully I will be able to contribute a little bit when I start working on my web service project again. Roger From burak.arslan at arskom.com.tr Wed Nov 24 17:11:40 2010 From: burak.arslan at arskom.com.tr (Burak Arslan) Date: Wed, 24 Nov 2010 18:11:40 +0200 Subject: [Soap-Python] soaplib-0.8.2 and soaplib-1.0.0 were released as stable Message-ID: <4CED393C.3010307@arskom.com.tr> heya, i've just; 1) released soaplib-0.8.2 stable on pypi and github. 2) released soaplib-1.0.0 stable on pypi and github. 3) updated arskom/soaplib's front page with information on the new status of the project 4) have put documentation as static pages on arskom.github.com/soaplib/ 5) merged rpclib changes to arskom/soaplib repo, and removed caustin's commit privileges. i guess we're all set now. take care, burak From bradallen137 at gmail.com Wed Nov 24 18:43:07 2010 From: bradallen137 at gmail.com (Brad Allen) Date: Wed, 24 Nov 2010 11:43:07 -0600 Subject: [Soap-Python] soaplib-0.8.2 and soaplib-1.0.0 were released as stable In-Reply-To: <4CED393C.3010307@arskom.com.tr> References: <4CED393C.3010307@arskom.com.tr> Message-ID: On Wed, Nov 24, 2010 at 10:11 AM, Burak Arslan wrote: > ?heya, > > i've just; > > 1) released soaplib-0.8.2 stable on pypi and github. > 2) released soaplib-1.0.0 stable on pypi and github. > 3) updated arskom/soaplib's front page with information on the new > status of the project > 4) have put documentation as static pages on arskom.github.com/soaplib/ > 5) merged rpclib changes to arskom/soaplib repo, and removed caustin's > commit privileges. Thanks for tying up loose ends. However, I'm still a bit fuzzy on the intent of the 'rpclib' name, which is currently still used as the top level package name and module distribution name (in setup.py). Is there some other RPC protocol you're thinking of adding? What motivated the name change? We'd like to incorporate your most recent changes into soaplib/soaplib, but the rpclib name gets in the way a bit. Is it your intent to stick to that name? From burak.arslan at arskom.com.tr Wed Nov 24 21:58:51 2010 From: burak.arslan at arskom.com.tr (Burak Arslan) Date: Wed, 24 Nov 2010 22:58:51 +0200 (EET) Subject: [Soap-Python] soaplib-0.8.2 and soaplib-1.0.0 were released as stable Message-ID: <11717.88.236.179.76.1290632331.squirrel@78.189.180.67> On Wed, November 24, 2010 19:43, Brad Allen wrote: > On Wed, Nov 24, 2010 at 10:11 AM, Burak Arslan > wrote: >> ?heya, >> >> i've just; >> >> 1) released soaplib-0.8.2 stable on pypi and github. >> 2) released soaplib-1.0.0 stable on pypi and github. >> 3) updated arskom/soaplib's front page with information on the new status of the project >> 4) have put documentation as static pages on arskom.github.com/soaplib/ 5) merged rpclib changes to arskom/soaplib repo, and removed caustin's commit privileges. > > Thanks for tying up loose ends. However, I'm still a bit fuzzy on the intent of the 'rpclib' name, which is currently still used as the top level package name and module distribution name (in setup.py). Is there some other RPC protocol you're thinking of adding? What > motivated the name change? > > We'd like to incorporate your most recent changes into > soaplib/soaplib, but the rpclib name gets in the way a bit. Is it your intent to stick to that name? > yessir, that's what i'm going to work on in the future. i've already implemented what i call HttpRpc, which lets you call methods that take only primitives via regular http get requests. (it's not rest because it ignores http verbs) with that protocol, setting the return value to Attachment, you can return arbitrary http data. and i've also implemented an output protocol that returns the result as a csv file, provided the return value is an array of a class whose member types are only primitives. those were low-hanging fruits that i had an immediate need for. one could implement json-rpc or thrift or soap 1.2 or whatever else you can think of, they're all pluggable. with a bit more effort, it's even possible create a pipeline structure, where say, once could convert json-rpc to a soap request and validate it using the Wsdl11Strict interface, instead of waiting for json-schema to happen (also assuming one has too many cpu cycles to burn :) so yes, for me rpclib is here to stay. best, burak From itssami.gb4u at gmail.com Sat Nov 27 19:45:01 2010 From: itssami.gb4u at gmail.com (sami nathan) Date: Sun, 28 Nov 2010 00:15:01 +0530 Subject: [Soap-Python] Fwd: WEB SERVICE IN DJANGO USING ZSI In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: sami nathan Date: Sun, Nov 28, 2010 at 12:11 AM Subject: Re: WEB SERVICE IN DJANGO USING ZSI To: soap at python.org To generate my server.py i am using following command but its shows error wsdl2dispatch --extended --file=ZonedD;/location/FlyppSms.wsdl.wsdl SyntaxError: unexpected character after line continuation character From itssami.gb4u at gmail.com Mon Nov 29 08:00:11 2010 From: itssami.gb4u at gmail.com (sami nathan) Date: Mon, 29 Nov 2010 12:30:11 +0530 Subject: [Soap-Python] Fwd: WEB SERVICE IN DJANGO USING ZSI In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: sami nathan Date: Sun, Nov 28, 2010 at 12:11 AM Subject: Re: WEB SERVICE IN DJANGO USING ZSI To: soap at python.org To generate my server.py i am using following command but its shows error wsdl2dispatch --extended --file=ZonedD;/location/FlyppSms.wsdl.wsdl SyntaxError: unexpected character after line continuation character From dieter at handshake.de Tue Nov 30 08:02:33 2010 From: dieter at handshake.de (Dieter Maurer) Date: Tue, 30 Nov 2010 08:02:33 +0100 Subject: [Soap-Python] Fwd: WEB SERVICE IN DJANGO USING ZSI In-Reply-To: References: Message-ID: <19700.41353.158098.364727@gargle.gargle.HOWL> sami nathan wrote at 2010-11-29 12:30 +0530: >---------- Forwarded message ---------- >From: sami nathan >Date: Sun, Nov 28, 2010 at 12:11 AM >Subject: Re: WEB SERVICE IN DJANGO USING ZSI >To: soap at python.org > > >To generate my server.py i am using following command but its shows error >wsdl2dispatch --extended --file=ZonedD;/location/FlyppSms.wsdl.wsdl >SyntaxError: unexpected character after line continuation character Strange. The "SyntaxError" may come either from parsing the WSDL or its (potential) referenced documents, from the Python code or from the shell. Neither XML documents nor WSDL or its dependent standards define the concept of a continuation line. Python does define a line continuation character but, to my knowledge, does not check the character after a continuation character. In both cases above, you should get a traceback with details where in the code the "SyntaxError" was detected. Thus, I expect the message comes from the (command line) shell you are using. Apparently, some kind of Windows shell (I am happy that I do not need to know them). Check your shell documentation for "line continuation character" and verify whether your command contains one. -- Dieter