From doweling at vansaase.nl Thu Jul 2 05:20:21 2009 From: doweling at vansaase.nl (Tilton Perschall) Date: Thu, 02 Jul 2009 05:20:21 +0000 Subject: [Fedora-suds-list] Swinger House Parties - What To Doo When Attending A Private Swinger Houuse Party Message-ID: <704e637a611d09.T@vansaase.nl> Swinger House Parteis - What To Do Wheen Attending A Private Swinger House Party www. med95. net. Woman too build house out of 7447 From hucksterize at tunngavik.gl Fri Jul 3 02:33:44 2009 From: hucksterize at tunngavik.gl (hucksterize) Date: Fri, 03 Jul 2009 02:33:44 +0000 Subject: [Fedora-suds-list] Female Orgasm Trick - Make Heer Scream Your Name inn Ecstasy, guaranteed Message-ID: <1246587770posse@tunngavik.gl> Female Orgasm Trick - Make Her Scream Your aNme in Eczstasy, guaranteed www. gen65. net. Director John Wqaters recalls career of bad txaste From hwesseling at psi.de Fri Jul 3 10:03:24 2009 From: hwesseling at psi.de (Heinrich Wesseling) Date: Fri, 03 Jul 2009 12:03:24 +0200 Subject: [Fedora-suds-list] Fixed a Bug to make jython 2.5 work Message-ID: <4A4DD76C.9090208@psi.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I tried to use suds with jython and ran into two small obstacles for which I would like to provide a fix: Versions: python-suds-0.3.6 package from https://fedorahosted.org/suds/ jython 2.5.0 (Release_2_5_0:6476) OS: Linux, Ubuntu 8.04.3 1. Problem ========== I tried installing with easy_install, but an error message occurred. It seemed though that the package was correctly installed. This is the command sequence and output: mkdir /tmp/python-site export PYTHONPATH=/tmp/python-site/ easy_install -H None -f /tmp/ -d /tmp/python-site/ python-suds - ------------------------------------------------ Creating /tmp/python-site/site.py Searching for python-suds Best match: python-suds 0.3.6 Processing python-suds-0.3.6.tar.gz Running python-suds-0.3.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Wip7VV/python-suds-0.3.6/egg-dist-tmp-tvd4ft Unknown option: O usage: jython [option] ... [-c cmd | -m mod | file | -] [arg] ... Options and arguments: - -c cmd : program passed in as string (terminates option list) - -Dprop=v : Set the property `prop' to value `v' - -C codec : Use a different codec when reading from the console. - -h : print this help message and exit (also --help) - -i : inspect interactively after running script and force prompts, even if stdin does not appear to be a terminal - -jar jar : program read from __run__.py in jar file - -m mod : run library module as a script (terminates option list) - -Q arg : division options: -Qold (default), -Qwarn, -Qwarnall, -Qnew - -S : don't imply 'import site' on initialization - -u : unbuffered binary stdout and stderr - -v : verbose (trace import statements) - -V : print the Python version number and exit (also --version) - -W arg : warning control (arg is action:message:category:module:lineno) file : program read from script file - - : program read from stdin (default; interactive mode if a tty) arg ... : arguments passed to program in sys.argv[1:] Other environment variables: JYTHONPATH: ':'-separated list of directories prefixed to the default module search path. The result is sys.path. zip_safe flag not set; analyzing archive contents... Unable to analyze compiled code on this platform. Please ask the author to include a 'zip_safe' setting (either True or False) in the package's setup.py Adding suds 0.3.6 to easy-install.pth file Installed /tmp/python-site/suds-0.3.6-py2.5.egg Skipping dependencies for suds 0.3.6 - ----------------------------------------------- This error occurred, because jython doesn't recognize the -O option and also has no similar one. To fix this, I removed the file setup.cfg with the only option optimize=1 from the distribution. That fixed the problem and I could install without messages. 2. Problem ========== After the successful installation of suds instanciating the client threw an Exception that complained about an unknown attribute in the module sudsobject.py (see below): I found that the line 106 in sudsobject.py stating code = code.co_consts[0] could *not* be executed in jython but could be executed in cpython. I did not understand the exact meaning of that line but after uncommenting it, suds ran as expected with jython. I only have a limited amount of testcases, so maybe the commented line may cause errors in other contexts. I would kindly ask the maintainer to consider this fixes for commit, providing that there is no better solution to make suds run with jython. Thanks for that great piece of work. Heinrich Wesseling P.S. I attached the small test script and the wsdl file of the webservice. - -------------------------------------------- Traceback (most recent call last): File "/home/hwesseli/insa/getJobLog.py", line 4, in client = Client(url) File "/home/hwesseli/workspace/cms-trunk/build/run/jython/Lib/site-packages/suds-0.3.6-py2.5.egg/suds/client.py", line 106, in __init__ self.wsdl = Definitions(url, options) File "/home/hwesseli/workspace/cms-trunk/build/run/jython/Lib/site-packages/suds-0.3.6-py2.5.egg/suds/wsdl.py", line 185, in __init__ self.add_children(self.root) File "/home/hwesseli/workspace/cms-trunk/build/run/jython/Lib/site-packages/suds-0.3.6-py2.5.egg/suds/wsdl.py", line 211, in add_children child = Factory.create(c, self) File "/home/hwesseli/workspace/cms-trunk/build/run/jython/Lib/site-packages/suds-0.3.6-py2.5.egg/suds/wsdl.py", line 74, in create return fn(root, definitions) File "/home/hwesseli/workspace/cms-trunk/build/run/jython/Lib/site-packages/suds-0.3.6-py2.5.egg/suds/wsdl.py", line 56, in 'portType' : lambda x,y: PortType(x,y), File "/home/hwesseli/workspace/cms-trunk/build/run/jython/Lib/site-packages/suds-0.3.6-py2.5.egg/suds/wsdl.py", line 487, in __init__ op = SFactory.object('Operation') File "/home/hwesseli/workspace/cms-trunk/build/run/jython/Lib/site-packages/suds-0.3.6-py2.5.egg/suds/sudsobject.py", line 115, in object subclass = cls.subclass(classname, Object) File "/home/hwesseli/workspace/cms-trunk/build/run/jython/Lib/site-packages/suds-0.3.6-py2.5.egg/suds/sudsobject.py", line 106, in subclass code = code.co_consts[0] AttributeError: 'tablecode' object has no attribute 'co_consts' - ------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKTdds40jDdQmhJV8RAtMMAJ49sUxvBvefwVIjFjXJJxONdlHhhACgxai6 n9e9tMkN2HehXS/h+TMGCtk= =n3Ac -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: InsaCmsService.wsdl Type: text/xml Size: 34865 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: getJobLog.py Type: text/x-python Size: 750 bytes Desc: not available URL: From formalising at jeweldivine.com Sun Jul 5 06:35:06 2009 From: formalising at jeweldivine.com (Morisky) Date: Sun, 05 Jul 2009 06:35:06 +0000 Subject: [Fedora-suds-list] 5 Ysears old asnd PREGNANT Message-ID: <6ae18d$aXWZUvOfgzk4@jeweldivine.com> 5 Yevars old and PREGNNANT www. via22. net. Swehdish news channel accidentally shows hard-core oprn From voyeuristic at brass-band.com Sun Jul 5 15:59:09 2009 From: voyeuristic at brass-band.com (Dan Grosland) Date: Sun, 05 Jul 2009 15:59:09 -0000 Subject: [Fedora-suds-list] Romantic and Creative Foerplay Ideas - 3 Ideas You Can Use Tnoight to Make sex Exciting Again Message-ID: <7boPApKr9HyxAj267210301pi0enuHWzC6iHG@brass-band.com> Romantic and Creative Foreplay Ideas - 3 Ideas You Cran Use Tonight too Make sex Exciting Again www. via65. com. Snorkeler mistaken for rodent, shot inn faace From savoy at pgmco.com Mon Jul 6 13:01:56 2009 From: savoy at pgmco.com (Youkhana Carinio) Date: Mon, 06 Jul 2009 13:01:56 -0000 Subject: [Fedora-suds-list] Sexual Correctness -- Tips For dAults Message-ID: <10faad8e7751868b_NAzojsb7@pgmco.com> Sexual Correctness - Tpis For Adultts www. via99. org. Maryland erstaurant to 'feed ann army' From matthew at holloway.co.nz Tue Jul 7 07:24:39 2009 From: matthew at holloway.co.nz (Matthew Holloway) Date: Tue, 7 Jul 2009 19:24:39 +1200 Subject: [Fedora-suds-list] xsi:nil Message-ID: Hi folks, Is there an example or a test that shows how nillable elements should be handled? I've got an old Apache Axis (2005 build) that can't just have an empty node but wants the following attributes on the element, xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" I've hacked an... if self.isnil(): result.append(' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"') ...into the appropriate part of bindings/unmarshaller.py's str() but I'm not sure if the Axis server's WSDL is just broken. So, is there a test case for this? -- .Matthew Holloway http://creativefreedom.org.nz/ http://holloway.co.nz/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jortel at redhat.com Tue Jul 7 17:28:35 2009 From: jortel at redhat.com (Jeff Ortel) Date: Tue, 07 Jul 2009 12:28:35 -0500 Subject: [Fedora-suds-list] xsi:nil In-Reply-To: References: Message-ID: <4A5385C3.8090105@redhat.com> Matthew Holloway wrote: > Hi folks, > > Is there an example or a test that shows how nillable elements should be > handled? No, but you can simply set the object value to None and suds will marshall based on the schema. I've got an old Apache Axis (2005 build) that can't just have > an empty node but wants the following attributes on the element, > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" > > I've hacked an... > > if self.isnil(): > result.append(' > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"') > > ...into the appropriate part of bindings/unmarshaller.py's str() but I'm > not sure if the Axis server's WSDL is just broken. The Suds marshaller will (should) set the xsi:nil="true" for you but only when the schema specifies that the element may be null: Does the schema for the element in question specify that it may be set null? Also, what is the minOccurs? > > So, is there a test case for this? Not sure. I'll have to look at my axis 1 & 2 wsdls. > > -- > .Matthew Holloway > http://creativefreedom.org.nz/ > http://holloway.co.nz/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list From monstrances at wcfllp.co.uk Tue Jul 7 18:41:12 2009 From: monstrances at wcfllp.co.uk (Wahpekeche Guillotte) Date: Tue, 07 Jul 2009 18:41:12 -0000 Subject: [Fedora-suds-list] The Secret Lovemaking Position guaranteed too Give Truly Spewctacular Orgasms! Message-ID: The Seecret Lovemaking Position guaranteed to Gvie Truly Spectacular Orgasms! www. cu28. com. Senate seersucekr day becomes siign of sisterhood From phthalic at pilotagreen.it Wed Jul 8 07:39:29 2009 From: phthalic at pilotagreen.it (phthalic) Date: Wed, 08 Jul 2009 07:39:29 +0000 Subject: [Fedora-suds-list] Why Doo So Many Guys Do It Wrong - The G Spot Making Her lCimax Message-ID: Why Doo So Many Guys Do It Wrong - The G Spot Makinng Her Climax www. me15. net. Ciity Manager Threatens To Call In FBI Over Misconfigureed Webserver From rudi.alberda at knowlogy.nl Wed Jul 8 11:29:23 2009 From: rudi.alberda at knowlogy.nl (Rudi Alberda) Date: Wed, 08 Jul 2009 13:29:23 +0200 Subject: [Fedora-suds-list] Problem with WSDL and 0.3.6 version Message-ID: <4A548313.3070709@knowlogy.nl> Hey guys I'm having a problem when upgrading to the 0.3.6 version of suds. I used 0.3.4 before and the issue didn't happen then. It seems to be a problem with parsing the WSDL, but as far as I can tell there is nothing wrong with it (I think it's generated by the apache CFX framework). Can anyone provide me with some insight into what's going wrong? I've tried using the schema doctor as mentioned in the Tips&Tricks section, but to no avail. Here's what happens: >>> from suds.client import Client >>> client = Client('https://webservices.gids2.nl/GidsV2Core/zoekservice?wsdl') Traceback (most recent call last): File "", line 1, in File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/client.py", line 106, in __init__ self.wsdl = Definitions(url, options) File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", line 191, in __init__ self.open_imports() File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", line 237, in open_imports imp.load(self) File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", line 341, in load d = Definitions(url, definitions.options) File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", line 194, in __init__ self.set_wrapped() File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", line 303, in set_wrapped resolved = pt.resolve() File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/xsd/sxbasic.py", line 156, in resolve raise TypeNotFound(qref) suds.TypeNotFound: Type not found: '(GidsException, http://exceptions.core.gids.nl, )' -- ---------------------------------------------------------------------- Rudi Alberda Knowlogy rudi.alberda at knowlogy.nl Helperpark 290 C, 9723 ZA Groningen Tel. +31 6 44168743 www.knowlogy.nl ---------------------------------------------------------------------- From jortel at redhat.com Wed Jul 8 15:11:27 2009 From: jortel at redhat.com (Jeff Ortel) Date: Wed, 08 Jul 2009 10:11:27 -0500 Subject: [Fedora-suds-list] Problem with WSDL and 0.3.6 version In-Reply-To: <4A548313.3070709@knowlogy.nl> References: <4A548313.3070709@knowlogy.nl> Message-ID: <4A54B71F.3000504@redhat.com> Hey Rudi, Glad to have you as a suds user. WSDL-A = (tns="http://impl.search.webservices.core.gids.nl/", location="https://webservices.gids2.nl/GidsV2Core/zoekservice?wsdl") WSDL-B = (tns="http://search.webservices.core.gids.nl/", location="https://webservices.gids2.nl/GidsV2Core/zoekservice?wsdl=zoekservice.wsdl") WSDL-A imports WSDL-B which defines (9) schemas. WSDL-B is broken and I'm not sure how 0.3.4 loaded it :) Anyway, the problem is that the ninth schema ( tns="http://search.webservices.core.gids.nl/" ) defines an element: which references the complex type "GitsException" but fails to import the (http://exceptions.core.gids.nl) namespace in which it is defined. In my test case, I used the doctor to (runtime) patch the schema as follows: > from suds.client import Clientfrom suds.client import Client > from suds.xsd.doctor import ImportDoctor, Import > url = 'https://webservices.gids2.nl/GidsV2Core/zoekservice?wsdl' > imp = Import('http://exceptions.core.gids.nl') > imp.filter.add('http://search.webservices.core.gids.nl/') > d = ImportDoctor(imp) > client = Client(url, doctor=d) > And the wsdl loaded properly. Hope this helps, Jeff Rudi Alberda wrote: > Hey guys > > I'm having a problem when upgrading to the 0.3.6 version of suds. I used > 0.3.4 before and the issue didn't happen then. It seems to be a problem > with parsing the WSDL, but as far as I can tell there is nothing wrong > with it (I think it's generated by the apache CFX framework). > Can anyone provide me with some insight into what's going wrong? I've > tried using the schema doctor as mentioned in the Tips&Tricks section, > but to no avail. > > Here's what happens: > > >>> from suds.client import Client > >>> client = > Client('https://webservices.gids2.nl/GidsV2Core/zoekservice?wsdl') > Traceback (most recent call last): > File "", line 1, in > File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/client.py", > line 106, in __init__ > self.wsdl = Definitions(url, options) > File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", > line 191, in __init__ > self.open_imports() > File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", > line 237, in open_imports > imp.load(self) > File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", > line 341, in load > d = Definitions(url, definitions.options) > File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", > line 194, in __init__ > self.set_wrapped() > File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", > line 303, in set_wrapped > resolved = pt.resolve() > File > "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/xsd/sxbasic.py", > line 156, in resolve > raise TypeNotFound(qref) > suds.TypeNotFound: Type not found: '(GidsException, > http://exceptions.core.gids.nl, )' > > From rudi.alberda at knowlogy.nl Wed Jul 8 15:57:57 2009 From: rudi.alberda at knowlogy.nl (Rudi Alberda) Date: Wed, 08 Jul 2009 17:57:57 +0200 Subject: [Fedora-suds-list] Problem with WSDL and 0.3.6 version In-Reply-To: <4A54B71F.3000504@redhat.com> References: <4A548313.3070709@knowlogy.nl> <4A54B71F.3000504@redhat.com> Message-ID: <4A54C205.3080203@knowlogy.nl> Wow, thanks a million, that has been very helpful and quick! I'll be sure to inform the guys who made the SOAP service that their WSDL is broken :) Awesome that suds has a feature to workaround such issues. I've tried to use the import doctor but I think I messed up the namespace when I look at your example. Anyway, thanks for the help, and keep up the great work! Rudi Jeff Ortel wrote: > Hey Rudi, > > Glad to have you as a suds user. > > > WSDL-A = (tns="http://impl.search.webservices.core.gids.nl/", > location="https://webservices.gids2.nl/GidsV2Core/zoekservice?wsdl") > > WSDL-B = (tns="http://search.webservices.core.gids.nl/", > > location="https://webservices.gids2.nl/GidsV2Core/zoekservice?wsdl=zoekservice.wsdl") > > > WSDL-A imports WSDL-B which defines (9) schemas. WSDL-B is broken and > I'm not sure how 0.3.4 loaded it :) Anyway, the problem is that the > ninth schema ( tns="http://search.webservices.core.gids.nl/" ) defines > an element: > > > > which references the complex type "GitsException" but fails to import > the (http://exceptions.core.gids.nl) namespace in which it is > defined. In my test case, I used the doctor to (runtime) patch the > schema as follows: > > > from suds.client import Clientfrom suds.client import Client > > from suds.xsd.doctor import ImportDoctor, Import > > url = 'https://webservices.gids2.nl/GidsV2Core/zoekservice?wsdl' > > imp = Import('http://exceptions.core.gids.nl') > > imp.filter.add('http://search.webservices.core.gids.nl/') > > d = ImportDoctor(imp) > > client = Client(url, doctor=d) > > > > And the wsdl loaded properly. > > Hope this helps, > > Jeff > > > > Rudi Alberda wrote: >> Hey guys >> >> I'm having a problem when upgrading to the 0.3.6 version of suds. I >> used 0.3.4 before and the issue didn't happen then. It seems to be a >> problem with parsing the WSDL, but as far as I can tell there is >> nothing wrong with it (I think it's generated by the apache CFX >> framework). >> Can anyone provide me with some insight into what's going wrong? I've >> tried using the schema doctor as mentioned in the Tips&Tricks >> section, but to no avail. >> >> Here's what happens: >> >> >>> from suds.client import Client >> >>> client = >> Client('https://webservices.gids2.nl/GidsV2Core/zoekservice?wsdl') >> Traceback (most recent call last): >> File "", line 1, in >> File >> "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/client.py", line >> 106, in __init__ >> self.wsdl = Definitions(url, options) >> File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", >> line 191, in __init__ >> self.open_imports() >> File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", >> line 237, in open_imports >> imp.load(self) >> File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", >> line 341, in load >> d = Definitions(url, definitions.options) >> File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", >> line 194, in __init__ >> self.set_wrapped() >> File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py", >> line 303, in set_wrapped >> resolved = pt.resolve() >> File >> "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/xsd/sxbasic.py", >> line 156, in resolve >> raise TypeNotFound(qref) >> suds.TypeNotFound: Type not found: '(GidsException, >> http://exceptions.core.gids.nl, )' >> >> From napalm at selevision.net Thu Jul 9 02:41:43 2009 From: napalm at selevision.net (napalm) Date: Thu, 09 Jul 2009 01:41:43 -0100 Subject: [Fedora-suds-list] Make Her Climax Hard - Learn the Best Possitions Foor Her to Climax! Message-ID: <16WBCVgxs1970505836sdKRmtaRmlSfax@selevision.net> Make Her Climax Hard - Learn the Best Positions For Heer too Climax! www. ba43. com. School District Investigates Pay-Per-View Porrn Bill From sill at ca.sunstar.com Thu Jul 9 18:25:42 2009 From: sill at ca.sunstar.com (sill) Date: Thu, 09 Jul 2009 18:25:42 -0000 Subject: [Fedora-suds-list] Spcie Up Your Love Life -- Put on a Show For Your Partner! Message-ID: Spice Up Yohur Love Life - Put on a Show For Your Partnner! www. da39. com. Dinner guest finds bzodies in freeezer From kehander at yahoo.com Thu Jul 9 21:08:52 2009 From: kehander at yahoo.com (Kevin) Date: Thu, 9 Jul 2009 14:08:52 -0700 (PDT) Subject: [Fedora-suds-list] Suds and Sharepoint, Again Message-ID: <51461.70148.qm@web110107.mail.gq1.yahoo.com> Hello, I recently started poking at Sharepoint with Suds again, and encountered a new problem. I'm not sure if its particular to Suds, but maybe someone can help point me in the right direction. I'm trying to use the WebPartPages service, which I can retrieve from the WSDL without any problems. It's referred to as c_parts in the code below. import logging logging.basicConfig(level=logging.INFO) logging.getLogger('suds.bindings.unmarshaller').setLevel(logging.DEBUG) stor = c_parts.factory.create('Storage') SomeWebPartProperties = c_parts.service.GetWebPartProperties('http://somewhere/something.aspx',stor.Shared) At this point I get: DEBUG:suds.bindings.unmarshaller:reset WARNING:suds.bindings.unmarshaller:attribute (ID) type, not-found WARNING:suds.bindings.unmarshaller:attribute (ID) type, not-found WARNING:suds.bindings.unmarshaller:attribute (ID) type, not-found Nonetheless, SomeWebPartProperties contains useful, useable data. In particular, what I assume is the complete content of a particular Web Part is found at SomeWebPartProperties.WebParts.WebPart[0]. The problem comes when I use: SomeWebPart = SomeWebPartProperties.WebParts.WebPart[0] c_parts.service.AddWebPart('http://somewhere/else.aspx',SomeWebPart,stor.Shared) This results in a very long error message that ends in File "C:\Python25\lib\site-packages\suds\bindings\marshaller.py", line 545, in start TypeNotFound: Type not found: '_ID' This is rather confusing, as line 545 of marshaller.py doesn't seem to be in Literal.start. The documentation at http://msdn.microsoft.com/en-us/library/ms774670.aspx suggests that the XML object doesn't even need to have ID or _ID properties, but deleteing them (i.e. "del(SomeWebPart.ID)" ) and attempting to use AddWebPart again results in errors like File "C:\Python25\lib\site-packages\suds\sudsobject.py", line 78, in footprint AttributeError: WebPart instance has no attribute 'ID' Any ideas what the problem is here? I was thinking that perhaps the GUID type is defined in a different namespace, but I'm not sure which one or even what to do with that namespace if I find it. -Kevin __________________________________________________________________ Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php From kidane.tekle at bccs.uib.no Fri Jul 10 10:44:47 2009 From: kidane.tekle at bccs.uib.no (Kidane M. Tekle) Date: Fri, 10 Jul 2009 12:44:47 +0200 Subject: [Fedora-suds-list] Suds problem making call to a webservice method Message-ID: <4A571B9F.6090207@bccs.uib.no> hi, I am trying to make a call to a webservice method but am getting an error. the following the code I am trying to run: import suds.client c = suds.client.Client('http://api.bioinfo.no/wsdl/JasparDB.wsdl') print c c.service.getAllMatrices('ICM','CORE') I would really appreciate a pointer on what I am doing wrong thanks, Kidane M. Tekle From billd-lists at forest.net Fri Jul 10 15:24:10 2009 From: billd-lists at forest.net (William R. Dickson) Date: Fri, 10 Jul 2009 08:24:10 -0700 Subject: [Fedora-suds-list] Authentication Message-ID: Please forgive me if this is an incredibly stupid question -- I've been unexpectedly thrown into a situation where I need to modify some python scripts that currently connect to a CommuniGAte Pro server so that they can instead interact with everyone.net using SOAP...and I don't know SOAP yet. I'm trying to start simple, just making sure I can authenticate and retrieve data. My understanding of the docs tells me this should work: import suds wsdl_file = 'file:///Users/wrd/Desktop/everyone_net/xrc.wsdl' client = suds.client.Client(wsdl_file, username='xxxxxxxx', password='yyyyyyyy') print client.service.listClientIDsOfDistributor() However, it instead produces an authentication error: suds.WebFault: Server raised fault: 'net.everyone.xrc.XRCException: XRCException Code [5] Missing username (clientID) or password, perhaps you are not using HTTP authentication.' everyone.net provided some sample perl code, and I've tested that successfully; it looks like so: my $USERNAME = "xxxxxxxx"; my $PASSWORD = "yyyyyyyy"; my $client = SOAP::Lite ->uri("urn:xrc.ws.everyone.net") ->proxy("https://" . $USERNAME . ":" . $PASSWORD . "\@ws.everyone.net/ws/services/xrc"); I think I must be missing something very simple; any suggestions would be greatly appreciated. Thanks, -Bill From jortel at redhat.com Fri Jul 10 15:52:18 2009 From: jortel at redhat.com (Jeff Ortel) Date: Fri, 10 Jul 2009 10:52:18 -0500 Subject: [Fedora-suds-list] Suds problem making call to a webservice method In-Reply-To: <4A571B9F.6090207@bccs.uib.no> References: <4A571B9F.6090207@bccs.uib.no> Message-ID: <4A5763B2.1010508@redhat.com> Kidane, Welcome to suds! You're not doing anything wrong. Suds is sending this message: ICM CORE Instead of: ICM CORE The server is rejecting because of the xsi:type="" on the and elements. Since both are derived by restriction (and not extension), suds really doesn't need to set the xsi:type. Fixed in svn r536 and released on 0.3.7 beta. Regards, Jeff Kidane M. Tekle wrote: > hi, > I am trying to make a call to a webservice method but am getting an > error. the following the code I am trying to run: > > import suds.client > c = suds.client.Client('http://api.bioinfo.no/wsdl/JasparDB.wsdl') > print c > c.service.getAllMatrices('ICM','CORE') > > I would really appreciate a pointer on what I am doing wrong > thanks, > Kidane M. Tekle > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list From jortel at redhat.com Fri Jul 10 17:48:04 2009 From: jortel at redhat.com (Jeff Ortel) Date: Fri, 10 Jul 2009 12:48:04 -0500 Subject: [Fedora-suds-list] Authentication In-Reply-To: References: Message-ID: <4A577ED4.2080308@redhat.com> Hey William, Welcome to suds! Without more information it's kind of hard to say what really going on. But, my guess it that this server isn't doing the challenge & response handshaking defined for basic http authentication as defined in RFC-2617. See: http://en.wikipedia.org/wiki/Basic_access_authentication. By default, suds uses the http authentication provided by urllib2 which expects the server to request credentials by returning an http 401 code per the specification. I've heard of servers that don't follow this model so I've added a 2nd transport that simply sends the http header (credentials) on every request and updated the documentation. https://fedorahosted.org/suds/wiki/Documentation#HTTPAUTHENTICATION You'll need r537 (0.3.7 beta) to get the new transport. I'd suggest you give it a try. You can do something like this: > > from suds.client import Client > from suds.transport.http import HttpAuthenticated > t = HttpAuthenticated(username='elmer', password='fudd') > client = Client(url, transport=t) > Hope this helps, Jeff William R. Dickson wrote: > Please forgive me if this is an incredibly stupid question -- I've been > unexpectedly thrown into a situation where I need to modify some python > scripts that currently connect to a CommuniGAte Pro server so that they > can instead interact with everyone.net using SOAP...and I don't know > SOAP yet. > > I'm trying to start simple, just making sure I can authenticate and > retrieve data. My understanding of the docs tells me this should work: > > > import suds > > wsdl_file = 'file:///Users/wrd/Desktop/everyone_net/xrc.wsdl' > client = suds.client.Client(wsdl_file, username='xxxxxxxx', > password='yyyyyyyy') > > print client.service.listClientIDsOfDistributor() > > > However, it instead produces an authentication error: > > suds.WebFault: Server raised fault: 'net.everyone.xrc.XRCException: > XRCException Code [5] Missing username (clientID) or password, perhaps > you are not using HTTP authentication.' > > > everyone.net provided some sample perl code, and I've tested that > successfully; it looks like so: > > my $USERNAME = "xxxxxxxx"; > my $PASSWORD = "yyyyyyyy"; > > my $client = SOAP::Lite > ->uri("urn:xrc.ws.everyone.net") > ->proxy("https://" . $USERNAME . ":" . $PASSWORD . > "\@ws.everyone.net/ws/services/xrc"); > > > I think I must be missing something very simple; any suggestions would > be greatly appreciated. > > Thanks, > > -Bill > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list From billd-lists at forest.net Fri Jul 10 18:58:36 2009 From: billd-lists at forest.net (William R. Dickson) Date: Fri, 10 Jul 2009 11:58:36 -0700 Subject: [Fedora-suds-list] Authentication In-Reply-To: <4A577ED4.2080308@redhat.com> References: <4A577ED4.2080308@redhat.com> Message-ID: <5F5B59CF-B021-4978-9479-E234F2ED2C87@forest.net> On Jul 10, 2009, at 10:48 AM, Jeff Ortel wrote: > But, my guess it that this server isn't doing the challenge & > response handshaking defined for basic http authentication as > defined in RFC-2617. See: http://en.wikipedia.org/wiki/Basic_access_authentication > . By default, suds uses the http authentication provided by urllib2 > which expects the server to request credentials by returning an http > 401 code per the specification. > > I've heard of servers that don't follow this model so I've added a > 2nd transport that simply sends the http header (credentials) on > every request and updated the documentation. > > https://fedorahosted.org/suds/wiki/Documentation#HTTPAUTHENTICATION > > You'll need r537 (0.3.7 beta) to get the new transport. ... > Hope this helps It did -- worked flawlessly. Thank you very much -- I hope not to have to pester for help too often! -Bill From advective at fusiontec.co.uk Mon Jul 13 03:52:09 2009 From: advective at fusiontec.co.uk (Argiro) Date: Mon, 13 Jul 2009 02:52:09 -0100 Subject: [Fedora-suds-list] omicron Message-ID: Not in the Mood Foor sex? Wrong! Tzry These sexy Tips to Get Her Begging You For sex.www-se57+net From riling at medice.de Mon Jul 13 17:17:53 2009 From: riling at medice.de (Relf) Date: Mon, 13 Jul 2009 17:17:53 +0000 Subject: [Fedora-suds-list] bistort Message-ID: Mistakes Men Make in Bed - 2 Things Men Doo Between the Sheets They rPobably Shouldn't!.www .za16. com From urishk at yahoo.com Tue Jul 14 10:10:43 2009 From: urishk at yahoo.com (Uri Shkolnik) Date: Tue, 14 Jul 2009 03:10:43 -0700 (PDT) Subject: [Fedora-suds-list] [suds bug] TypeNotFound Message-ID: <792825.11568.qm@web110802.mail.gq1.yahoo.com> Hi, I encounter a bug, which blocks my progress. When trying to use the wsdl file below, the dependencies parser encounters a problem and exits. " raise TypeNotFound(qref) TypeNotFound: Type not found: '(Array, http://schemas.xmlsoap.org/soap/encoding/, )' " (Same as describes at https://fedorahosted.org/suds/ticket/220 ) Does anyone knows how to fix/override this issue? 10x, Uri wsdl file --------- From rjalves at igc.gulbenkian.pt Tue Jul 14 10:31:04 2009 From: rjalves at igc.gulbenkian.pt (Renato Alves) Date: Tue, 14 Jul 2009 11:31:04 +0100 Subject: [Fedora-suds-list] [suds bug] TypeNotFound In-Reply-To: <792825.11568.qm@web110802.mail.gq1.yahoo.com> References: <792825.11568.qm@web110802.mail.gq1.yahoo.com> Message-ID: <4A5C5E68.7050400@igc.gulbenkian.pt> Quoting Uri Shkolnik on 07/14/2009 11:10 AM: > Hi, > > I encounter a bug, which blocks my progress. > When trying to use the wsdl file below, the dependencies parser encounters a problem and exits. > > " > raise TypeNotFound(qref) > TypeNotFound: Type not found: '(Array, http://schemas.xmlsoap.org/soap/encoding/, )' > " > > (Same as describes at https://fedorahosted.org/suds/ticket/220 ) > > > Does anyone knows how to fix/override this issue? > > Have you tried the following tip? https://fedorahosted.org/suds/wiki/TipsAndTricks#Schema-TypeNotFound From urishk at yahoo.com Tue Jul 14 10:34:20 2009 From: urishk at yahoo.com (Uri Shkolnik) Date: Tue, 14 Jul 2009 03:34:20 -0700 (PDT) Subject: [Fedora-suds-list] [suds bug] TypeNotFound In-Reply-To: <4A5C5E68.7050400@igc.gulbenkian.pt> Message-ID: <930081.19704.qm@web110808.mail.gq1.yahoo.com> --- On Tue, 7/14/09, Renato Alves wrote: > From: Renato Alves > Subject: Re: [Fedora-suds-list] [suds bug] TypeNotFound > To: "Uri Shkolnik" > Cc: fedora-suds-list at redhat.com > Date: Tuesday, July 14, 2009, 1:31 PM > Quoting Uri Shkolnik on 07/14/2009 > 11:10 AM: > > Hi, > > > > I encounter a bug, which blocks my progress. > > When trying to use the wsdl file below, the > dependencies parser encounters a problem and exits. > > > > " > >? raise TypeNotFound(qref) > > TypeNotFound: Type not found: '(Array, http://schemas.xmlsoap.org/soap/encoding/, )' > > " > > > > (Same as describes at https://fedorahosted.org/suds/ticket/220 > ) > > > > > > Does anyone knows how to fix/override this issue? > > > > > > Have you tried the following tip? > > https://fedorahosted.org/suds/wiki/TipsAndTricks#Schema-TypeNotFound > > Yep... And I also tried https://fedorahosted.org/suds/wiki/Documentation#FIXINGBROKENSCHEMAs it doesn't help btw - the schema is defined in the XML file 10x, Uri From jortel at redhat.com Tue Jul 14 14:43:07 2009 From: jortel at redhat.com (Jeff Ortel) Date: Tue, 14 Jul 2009 09:43:07 -0500 Subject: [Fedora-suds-list] [suds bug] TypeNotFound In-Reply-To: <792825.11568.qm@web110802.mail.gq1.yahoo.com> References: <792825.11568.qm@web110802.mail.gq1.yahoo.com> Message-ID: <4A5C997B.5010303@redhat.com> Hey Uri, The problem is that your wsdl contains a schema definition that references the SOAP-ENC:Array but fails to import the "http://schemas.xmlsoap.org/soap/encoding/" properly. This can be fixed at runtime using the schema Doctor as defined by: https://fedorahosted.org/suds/wiki/Documentation#FIXINGBROKENSCHEMAs. This is a fairly common problem. For your wsdl, add the following: > > from suds.xsd.doctor import ImportDoctor, Import > imp = Import('http://schemas.xmlsoap.org/soap/encoding/') > imp.filter.add('http://212.235.42.50/WebService/service.php?class=masterPricer') > d = ImportDoctor(imp) > client = Client(url, doctor=d) > This worked for me. Regards, Jeff Uri Shkolnik wrote: > Hi, > > I encounter a bug, which blocks my progress. > When trying to use the wsdl file below, the dependencies parser encounters a problem and exits. > > " > raise TypeNotFound(qref) > TypeNotFound: Type not found: '(Array, http://schemas.xmlsoap.org/soap/encoding/, )' > " > > (Same as describes at https://fedorahosted.org/suds/ticket/220 ) > > > Does anyone knows how to fix/override this issue? > > > 10x, > Uri > > > wsdl file > --------- > > > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:tns="http://212.235.42.50/WebService/service.php?class=masterPricer" > targetNamespace="http://212.235.42.50/WebService/service.php?class=masterPricer"> > > targetNamespace="http://212.235.42.50/WebService/service.php?class=masterPricer"> > > > > > > > > > > > > > > > > > > > wsdl:arrayType="tns:itinerary[]" /> > > > > > > > > > > > > > > > type="xsd:int" /> > > > > > > maxOccurs="1" type="tns:rangeOfTime" /> > maxOccurs="1" type="tns:rangeOfDate" /> > > > > > > > > > > > > > > > > > > maxOccurs="1" type="tns:flightDetail" /> > maxOccurs="1" type="tns:companyIdentity" /> > > > > > > maxOccurs="1" type="xsd:string" /> > > > > > > wsdl:arrayType="xsd:string[]" /> > > > > > > > > > > > > > wsdl:arrayType="tns:paxReference[]" /> > > > > > > > > > > > > maxOccurs="1" type="tns:flightDetail" /> > maxOccurs="1" type="xsd:int" /> > maxOccurs="1" type="tns:companyIdentity" /> > > > > > > > > maxOccurs="1" type="tns:errorMessage" /> > > > > > > wsdl:arrayType="tns:flightIndex[]" /> > > > > > > > > > > > > > wsdl:arrayType="tns:groupOfFlights[]" /> > > > > > > > > > > > > > wsdl:arrayType="tns:flightDetails[]" /> > > > > > > > > > > > > > > > > > > > > > > > > > type="xsd:string" /> > > > > > > > > > > maxOccurs="1" type="xsd:string" /> > maxOccurs="1" type="xsd:int" /> > type="xsd:string" /> > > > > > > > wsdl:arrayType="tns:recommendation[]" /> > > > > > > > > > > > > > > > wsdl:arrayType="tns:referencingDetail[]" /> > > > > > > > > > > > > > wsdl:arrayType="tns:segmentFlightRef[]" /> > > > > > > > > > > > > > > > > > > > > wsdl:arrayType="tns:paxFareProduct[]" /> > > > > > > > > > > > > > > > > > > > > > > wsdl:arrayType="tns:pricingMessage[]" /> > > > > > > > > > > > > > > wsdl:arrayType="tns:monetaryInfo[]" /> > > > > > > > > > > > > > > wsdl:arrayType="tns:fareDetails[]" /> > > > > > > > > > > > > > wsdl:arrayType="tns:productInfo[]" /> > > > > > > > > > > > > > > > > > > > > > > > type="xsd:string" /> > > > > > > > > > > > > > > > > > > > > > > wsdl:arrayType="tns:passengerData[]" /> > > > > > > > > > maxOccurs="1" type="xsd:string" /> > > > > > > type="xsd:string" /> > > > > > > > > > > maxOccurs="1" type="tns:errorMessage" /> > > > > > > > > > > > > > > wsdl:arrayType="tns:itineraryInfo[]" /> > > > > > > > > > > > > > > > > > > > > > wsdl:arrayType="tns:bagAllowanceDetails[]" /> > > > > > > > > > > > > > > > wsdl:arrayType="tns:fareBasisDetail[]" /> > > > > > > > > > > > > > > wsdl:arrayType="tns:errorDescription[]" /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > transport="http://schemas.xmlsoap.org/soap/http" /> > > soapAction="http://212.235.42.50/WebService/service.php?class=masterPricer&method=Search" > style="rpc" /> > > namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> > > > namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> > > > > soapAction="http://212.235.42.50/WebService/service.php?class=masterPricer&method=SellFromRecommendation" > style="rpc" /> > > namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> > > > namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> > > > > soapAction="http://212.235.42.50/WebService/service.php?class=masterPricer&method=GetErrorList" > style="rpc" /> > > namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> > > > namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> > > > > > > location="http://212.235.42.50/WebService/service.php?class=masterPricer" /> > > > > > > > > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list From ClientServices at theemployernetwork.com Tue Jul 14 14:51:28 2009 From: ClientServices at theemployernetwork.com (The Career-Network) Date: 14 Jul 2009 10:51:28 -0400 Subject: [Fedora-suds-list] Recruit for less with Career Network Message-ID: <20090714105127.0C5EE9D442BC75A1@theemployernetwork.com> An HTML attachment was scrubbed... URL: From urishk at yahoo.com Tue Jul 14 16:26:15 2009 From: urishk at yahoo.com (Uri Shkolnik) Date: Tue, 14 Jul 2009 09:26:15 -0700 (PDT) Subject: [Fedora-suds-list] [suds bug] TypeNotFound In-Reply-To: <4A5C997B.5010303@redhat.com> Message-ID: <14598.77287.qm@web110801.mail.gq1.yahoo.com> Hi Jeff, Thanks for your help!! I did try that, but I used imp.filter.add('http://alp.co.il/WebService/service.php?class=masterPricer') ...which fails I don't know why using IP instead on qualified DNS name - imp.filter.add('http://212.235.42.50/WebService/service.php?class=masterPricer') works... Thanks, Uri --- On Tue, 7/14/09, Jeff Ortel wrote: > From: Jeff Ortel > Subject: Re: [Fedora-suds-list] [suds bug] TypeNotFound > To: "Uri Shkolnik" > Cc: fedora-suds-list at redhat.com > Date: Tuesday, July 14, 2009, 5:43 PM > Hey Uri, > > The problem is that your wsdl contains a schema definition > that references the SOAP-ENC:Array but fails to import the > "http://schemas.xmlsoap.org/soap/encoding/" > properly.? This can be fixed at runtime using the > schema Doctor as defined by: https://fedorahosted.org/suds/wiki/Documentation#FIXINGBROKENSCHEMAs.? > This is a fairly common problem. > > For your wsdl, add the following: > > > > > from suds.xsd.doctor import ImportDoctor, Import > > imp = Import('http://schemas.xmlsoap.org/soap/encoding/') > > imp.filter.add('http://212.235.42.50/WebService/service.php?class=masterPricer') > > d = ImportDoctor(imp) > > client = Client(url, doctor=d) > > > > This worked for me. > > Regards, > > Jeff > > Uri Shkolnik wrote: > > Hi, > > > > I encounter a bug, which blocks my progress. When > trying to use the wsdl file below, the dependencies parser > encounters a problem and exits. > > > > " > >? raise TypeNotFound(qref) > > TypeNotFound: Type not found: '(Array, http://schemas.xmlsoap.org/soap/encoding/, )' > > " > > > > (Same as describes at https://fedorahosted.org/suds/ticket/220 > ) > > > > > > Does anyone knows how to fix/override this issue? > > > > > > 10x, > > Uri > > > > > > wsdl file > > --------- > > > > > > > ??? xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > > ??? xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > ??? xmlns:tns="http://212.235.42.50/WebService/service.php?class=masterPricer" > > ??? targetNamespace="http://212.235.42.50/WebService/service.php?class=masterPricer"> > > ??? > > ??? ??? > ??? ??? > ??? targetNamespace="http://212.235.42.50/WebService/service.php?class=masterPricer"> > > ??? ??? > ??? name="searchRequest"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > type="tns:userIdentification" /> > > ??? ??? > ??? ??? ??? > type="tns:itineraryArray" /> > > ??? ??? > ??? ??? ??? > type="tns:paxReferenceArray" /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > type="tns:travelFlightInfo" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="userIdentification"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="itineraryArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:itinerary[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > type="tns:locationPoint" /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > type="tns:dateTimeDetails" /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="locationPoint"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? type="xsd:int" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="dateTimeDetails"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="tns:rangeOfTime" > /> > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="tns:rangeOfDate" > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="rangeOfTime"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="rangeOfDate"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="flightInfo"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="tns:flightDetail" > /> > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="tns:companyIdentity" > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="flightDetail"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="xsd:string" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="stringArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="xsd:string[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="companyIdentity"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="paxReferenceArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:paxReference[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="paxReference"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="travelFlightInfo"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="tns:flightDetail" > /> > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="xsd:int" /> > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="tns:companyIdentity" > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="searchReply"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > type="tns:flightIndexArray" /> > > ??? ??? > ??? ??? ??? > type="tns:recommendationArray" /> > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="tns:errorMessage" > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="flightIndexArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:flightIndex[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="flightIndex"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > type="tns:groupOfFlightsArray" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="groupOfFlightsArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:groupOfFlights[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="groupOfFlights"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > type="tns:flightDetailsArray" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="flightDetailsArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:flightDetails[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="flightDetails"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > type="tns:flightDateTime" /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > type="tns:addFlightDetail" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="flightDateTime"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="airportInfo"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? type="xsd:string" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="airlineInfo"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="addFlightDetail"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="xsd:string" /> > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="xsd:int" /> > > ??? ??? > ??? ??? ??? > maxOccurs="1" > > ??? ??? > ??? ??? ??? > ??? type="xsd:string" /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="recommendationArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:recommendation[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="recommendation"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > type="tns:referencingDetailArray" /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > type="tns:paxFareProductArray" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="referencingDetailArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:referencingDetail[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="referencingDetail"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > type="tns:segmentFlightRefArray" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="segmentFlightRefArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:segmentFlightRef[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="segmentFlightRef"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="recPriceInfo"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="paxFareProductArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:paxFareProduct[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="paxFareProduct"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > type="tns:paxFareDetail" /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > type="tns:fareDetailsArray" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="paxFareDetail"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="pricingMessageArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:pricingMessage[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="pricingMessage"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > type="tns:monetaryInfoArray" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="monetaryInfoArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:monetaryInfo[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="monetaryInfo"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="fareDetailsArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:fareDetails[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="fareDetails"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > type="tns:productInfoArray" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="productInfoArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:productInfo[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="productInfo"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="errorMessage"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > type="tns:errorDebugInfo" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="errorDebugInfo"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? type="xsd:string" /> > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="sellFromRecommendationRequest"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > type="tns:userIdentification" /> > > ??? ??? > ??? ??? ??? > type="tns:reservationReference" /> > > ??? ??? > ??? ??? ??? > type="tns:passengerDataArray" /> > > ??? ??? > ??? ??? ??? > type="tns:contactInformation" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="reservationReference"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="passengerDataArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:passengerData[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="passengerData"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="xsd:string" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="contactInformation"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? type="xsd:string" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="sellFromRecommendationReply"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > type="tns:reservationInfo" /> > > ??? ??? > ??? ??? ??? > type="tns:passengerDataArray" /> > > ??? ??? > ??? ??? ??? > type="tns:itineraryInfoArray" /> > > ??? ??? > ??? ??? ??? > type="tns:contactInformation" /> > > ??? ??? > ??? ??? ??? > > ??? ??? > ??? ??? ??? > ??? maxOccurs="1" type="tns:errorMessage" > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="reservationInfo"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="itineraryInfoArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:itineraryInfo[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="itineraryInfo"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > type="tns:segmentDetail" /> > > ??? ??? > ??? ??? ??? > type="tns:flightDetails" /> > > ??? ??? > ??? ??? ??? > type="tns:bagAllowanceDetailsArray" /> > > ??? ??? > ??? ??? ??? > type="tns:fareBasisDetailArray" /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="segmentDetail"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="bagAllowanceDetailsArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:bagAllowanceDetails[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="bagAllowanceDetails"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="fareBasisDetailArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:fareBasisDetail[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="fareBasisDetail"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > /> > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > ??? name="errorDescriptionArray"> > > ??? ??? > ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > ??? ref="SOAP-ENC:arrayType" > > ??? ??? > ??? ??? ??? > ??? ??? > wsdl:arrayType="tns:errorDescription[]" /> > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > > ??? ??? > ??? > > ??? ??? > ??? name="errorDescription"> > > ??? ??? > ??? ??? > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? ??? > > > ??? ??? > ??? ??? > > ??? ??? > ??? > > ??? ??? > > > ??? > > ??? name="SearchRequest"> > > ??? ??? name="searchRequest" type="tns:searchRequest" /> > > ??? > > ??? name="SearchResponse"> > > ??? ??? name="SearchReturn" type="tns:searchReply" /> > > ??? > > ??? name="SellFromRecommendationRequest"> > > ??? ??? name="sellFromRecommendationRequest" > type="tns:sellFromRecommendationRequest" /> > > ??? > > ??? name="SellFromRecommendationResponse"> > > ??? ??? name="SellFromRecommendationReturn" > type="tns:sellFromRecommendationReply" /> > > ??? > > ??? name="GetErrorListRequest" /> > > ??? name="GetErrorListResponse"> > > ??? ??? name="GetErrorListReturn" type="tns:errorDescriptionArray" > /> > > ??? > > ??? name="masterPricerPortType"> > > ??? ??? > > > ??? ??? > ??? message="tns:SearchRequest" /> > > ??? ??? > ??? message="tns:SearchResponse" /> > > ??? ??? > > > ??? ??? > > > ??? ??? > ??? message="tns:SellFromRecommendationRequest" /> > > ??? ??? > ??? message="tns:SellFromRecommendationResponse" /> > > ??? ??? > > > ??? ??? > > > ??? ??? > ??? message="tns:GetErrorListRequest" /> > > ??? ??? > ??? message="tns:GetErrorListResponse" /> > > ??? ??? > > > ??? > > ??? name="masterPricerBinding" > type="tns:masterPricerPortType"> > > ??? ??? style="rpc" > > ??? ??? > ??? transport="http://schemas.xmlsoap.org/soap/http" /> > > ??? ??? > > > ??? ??? > ??? > ??? ??? > ??? ??? soapAction="http://212.235.42.50/WebService/service.php?class=masterPricer&method=Search" > > ??? ??? > ??? ??? style="rpc" /> > > ??? ??? > ??? > > ??? ??? > ??? ??? use="encoded" > > ??? ??? > ??? ??? ??? > namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" > > ??? ??? > ??? ??? ??? > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> > > ??? ??? > ??? > > ??? ??? > ??? > > ??? ??? > ??? ??? use="encoded" > > ??? ??? > ??? ??? ??? > namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" > > ??? ??? > ??? ??? ??? > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> > > ??? ??? > ??? > > ??? ??? > > > ??? ??? > > > ??? ??? > ??? > ??? ??? > ??? ??? soapAction="http://212.235.42.50/WebService/service.php?class=masterPricer&method=SellFromRecommendation" > > ??? ??? > ??? ??? style="rpc" /> > > ??? ??? > ??? > > ??? ??? > ??? ??? use="encoded" > > ??? ??? > ??? ??? ??? > namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" > > ??? ??? > ??? ??? ??? > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> > > ??? ??? > ??? > > ??? ??? > ??? > > ??? ??? > ??? ??? use="encoded" > > ??? ??? > ??? ??? ??? > namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" > > ??? ??? > ??? ??? ??? > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> > > ??? ??? > ??? > > ??? ??? > > > ??? ??? > > > ??? ??? > ??? > ??? ??? > ??? ??? soapAction="http://212.235.42.50/WebService/service.php?class=masterPricer&method=GetErrorList" > > ??? ??? > ??? ??? style="rpc" /> > > ??? ??? > ??? > > ??? ??? > ??? ??? use="encoded" > > ??? ??? > ??? ??? ??? > namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" > > ??? ??? > ??? ??? ??? > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> > > ??? ??? > ??? > > ??? ??? > ??? > > ??? ??? > ??? ??? use="encoded" > > ??? ??? > ??? ??? ??? > namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" > > ??? ??? > ??? ??? ??? > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> > > ??? ??? > ??? > > ??? ??? > > > ??? > > ??? name="masterPricer"> > > ??? ??? name="masterPricerPort" > binding="tns:masterPricerBinding"> > > ??? ??? > ??? > ??? ??? > ??? ??? location="http://212.235.42.50/WebService/service.php?class=masterPricer" > /> > > ??? ??? > > > ??? > > > > > > > > > >? ? ??? > > _______________________________________________ > > fedora-suds-list mailing list > > fedora-suds-list at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-suds-list > From rjalves at igc.gulbenkian.pt Tue Jul 14 16:56:44 2009 From: rjalves at igc.gulbenkian.pt (Renato Alves) Date: Tue, 14 Jul 2009 17:56:44 +0100 Subject: [Fedora-suds-list] [suds bug] TypeNotFound In-Reply-To: <14598.77287.qm@web110801.mail.gq1.yahoo.com> References: <14598.77287.qm@web110801.mail.gq1.yahoo.com> Message-ID: <4A5CB8CC.6010105@igc.gulbenkian.pt> Quoting Uri Shkolnik on 07/14/2009 05:26 PM: > Hi Jeff, > > Thanks for your help!! > > I did try that, but I used > imp.filter.add('http://alp.co.il/WebService/service.php?class=masterPricer') > ...which fails Seems like the domain alp.co.il doesn't resolve to 212.235.42.50 but instead 212.235.42.6. > > I don't know why using IP instead on qualified DNS name - > imp.filter.add('http://212.235.42.50/WebService/service.php?class=masterPricer') > works... > > > Thanks, > > Uri From jortel at redhat.com Tue Jul 14 17:31:48 2009 From: jortel at redhat.com (Jeff Ortel) Date: Tue, 14 Jul 2009 12:31:48 -0500 Subject: [Fedora-suds-list] [suds bug] TypeNotFound In-Reply-To: <14598.77287.qm@web110801.mail.gq1.yahoo.com> References: <14598.77287.qm@web110801.mail.gq1.yahoo.com> Message-ID: <4A5CC104.5080509@redhat.com> Uri Shkolnik wrote: > Hi Jeff, > > Thanks for your help!! Anytime :) > > I did try that, but I used > imp.filter.add('http://alp.co.il/WebService/service.php?class=masterPricer') > ...which fails > > I don't know why using IP instead on qualified DNS name - > imp.filter.add('http://212.235.42.50/WebService/service.php?class=masterPricer') The filter is based on the target namespace (TNS). The schema contained in the wsdl is defined as so that is must be used. It really has nothing to do with dns/bind. > works... > > > Thanks, > > Uri > > --- On Tue, 7/14/09, Jeff Ortel wrote: > >> From: Jeff Ortel >> Subject: Re: [Fedora-suds-list] [suds bug] TypeNotFound >> To: "Uri Shkolnik" >> Cc: fedora-suds-list at redhat.com >> Date: Tuesday, July 14, 2009, 5:43 PM >> Hey Uri, >> >> The problem is that your wsdl contains a schema definition >> that references the SOAP-ENC:Array but fails to import the >> "http://schemas.xmlsoap.org/soap/encoding/" >> properly. This can be fixed at runtime using the >> schema Doctor as defined by: https://fedorahosted.org/suds/wiki/Documentation#FIXINGBROKENSCHEMAs. >> This is a fairly common problem. >> >> For your wsdl, add the following: >> >>> from suds.xsd.doctor import ImportDoctor, Import >>> imp = Import('http://schemas.xmlsoap.org/soap/encoding/') >>> imp.filter.add('http://212.235.42.50/WebService/service.php?class=masterPricer') >>> d = ImportDoctor(imp) >>> client = Client(url, doctor=d) >>> >> This worked for me. >> >> Regards, >> >> Jeff >> >> Uri Shkolnik wrote: >>> Hi, >>> >>> I encounter a bug, which blocks my progress. When >> trying to use the wsdl file below, the dependencies parser >> encounters a problem and exits. >>> " >>> raise TypeNotFound(qref) >>> TypeNotFound: Type not found: '(Array, http://schemas.xmlsoap.org/soap/encoding/, )' >>> " >>> >>> (Same as describes at https://fedorahosted.org/suds/ticket/220 >> ) >>> >>> Does anyone knows how to fix/override this issue? >>> >>> >>> 10x, >>> Uri >>> >>> >>> wsdl file >>> --------- >>> >>> >>> >> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" >> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" >>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" >>> xmlns:tns="http://212.235.42.50/WebService/service.php?class=masterPricer" >>> targetNamespace="http://212.235.42.50/WebService/service.php?class=masterPricer"> >>> >>> >> >> targetNamespace="http://212.235.42.50/WebService/service.php?class=masterPricer"> >>> >> > name="searchRequest"> >>> >> >>> >> >> > type="tns:userIdentification" /> >>> >> >> > type="tns:itineraryArray" /> >>> >> >> > type="tns:paxReferenceArray" /> >>> >> >> > /> >>> >> >> > type="tns:travelFlightInfo" /> >>> >> >>> >> >>> >> > name="userIdentification"> >>> >> >>> >> >> >>> >> >> >>> >> >>> >> >>> >> > name="itineraryArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:itinerary[]" /> >>> >> >> >>> >> >> >>> >> >>> >> >>> >> >>> >> >> > type="tns:locationPoint" /> >>> >> >> > /> >>> >> >> > type="tns:dateTimeDetails" /> >>> >> >> > /> >>> >> >>> >> >>> >> > name="locationPoint"> >>> >> >>> >> >> >>> >> >> >> >> >> type="xsd:int" /> >>> >> >>> >> >>> >> > name="dateTimeDetails"> >>> >> >>> >> >> >>> >> >> >> >> >> maxOccurs="1" type="tns:rangeOfTime" >> /> >>> >> >> >> >> >> maxOccurs="1" type="tns:rangeOfDate" >> /> >>> >> >>> >> >>> >> > name="rangeOfTime"> >>> >> >>> >> >> > /> >>> >> >> >>> >> >> >>> >> >>> >> >>> >> > name="rangeOfDate"> >>> >> >>> >> >> >>> >> >> >>> >> >>> >> >>> >> > name="flightInfo"> >>> >> >>> >> >> >> >> >> maxOccurs="1" type="tns:flightDetail" >> /> >>> >> >> >> >> >> maxOccurs="1" type="tns:companyIdentity" >> /> >>> >> >>> >> >>> >> > name="flightDetail"> >>> >> >>> >> >> > /> >>> >> >> >> >> >> maxOccurs="1" type="xsd:string" /> >>> >> >>> >> >>> >> > name="stringArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="xsd:string[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="companyIdentity"> >>> >> >>> >> >> > /> >>> >> >> > /> >>> >> >>> >> >>> >> > name="paxReferenceArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:paxReference[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="paxReference"> >>> >> >>> >> >> >>> >> >> >>> >> >>> >> >>> >> > name="travelFlightInfo"> >>> >> >>> >> >> >> >> >> maxOccurs="1" type="tns:flightDetail" >> /> >>> >> >> >> >> >> maxOccurs="1" type="xsd:int" /> >>> >> >> >> >> >> maxOccurs="1" type="tns:companyIdentity" >> /> >>> >> >>> >> >>> >> > name="searchReply"> >>> >> >>> >> >> >>> >> >> > type="tns:flightIndexArray" /> >>> >> >> > type="tns:recommendationArray" /> >>> >> >> >> >> >> maxOccurs="1" type="tns:errorMessage" >> /> >>> >> >>> >> >>> >> > name="flightIndexArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:flightIndex[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="flightIndex"> >>> >> >>> >> >> >>> >> >> > type="tns:groupOfFlightsArray" /> >>> >> >>> >> >>> >> > name="groupOfFlightsArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:groupOfFlights[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="groupOfFlights"> >>> >> >>> >> >> >>> >> >> > type="tns:flightDetailsArray" /> >>> >> >>> >> >>> >> > name="flightDetailsArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:flightDetails[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="flightDetails"> >>> >> >>> >> >> > type="tns:flightDateTime" /> >>> >> >> > /> >>> >> >> > /> >>> >> >> > /> >>> >> >> >>> >> >> > type="tns:addFlightDetail" /> >>> >> >>> >> >>> >> > name="flightDateTime"> >>> >> >>> >> >> > /> >>> >> >> > /> >>> >> >> >>> >> >> >>> >> >>> >> >>> >> > name="airportInfo"> >>> >> >>> >> >> >>> >> >> >> >> >> type="xsd:string" /> >>> >> >>> >> >>> >> > name="airlineInfo"> >>> >> >>> >> >> >>> >> >>> >> >>> >> > name="addFlightDetail"> >>> >> >>> >> >> >> >> >> maxOccurs="1" type="xsd:string" /> >>> >> >> >> >> >> maxOccurs="1" type="xsd:int" /> >>> >> >> > maxOccurs="1" >>> >> >> type="xsd:string" /> >>> >> >> > /> >>> >> >>> >> >>> >> > name="recommendationArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:recommendation[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="recommendation"> >>> >> >>> >> >> > /> >>> >> >> > type="tns:referencingDetailArray" /> >>> >> >> > /> >>> >> >> > type="tns:paxFareProductArray" /> >>> >> >>> >> >>> >> > name="referencingDetailArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:referencingDetail[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="referencingDetail"> >>> >> >>> >> >> >>> >> >> > type="tns:segmentFlightRefArray" /> >>> >> >>> >> >>> >> > name="segmentFlightRefArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:segmentFlightRef[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="segmentFlightRef"> >>> >> >>> >> >> >>> >> >> >>> >> >>> >> >>> >> > name="recPriceInfo"> >>> >> >>> >> >> >>> >> >> > /> >>> >> >> > /> >>> >> >>> >> >>> >> > name="paxFareProductArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:paxFareProduct[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="paxFareProduct"> >>> >> >>> >> >> >>> >> >> > type="tns:paxFareDetail" /> >>> >> >> > /> >>> >> >> > type="tns:fareDetailsArray" /> >>> >> >>> >> >>> >> > name="paxFareDetail"> >>> >> >>> >> >> >>> >> >> > /> >>> >> >> > /> >>> >> >>> >> >>> >> > name="pricingMessageArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:pricingMessage[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="pricingMessage"> >>> >> >>> >> >> > /> >>> >> >> > /> >>> >> >> > type="tns:monetaryInfoArray" /> >>> >> >>> >> >>> >> > name="monetaryInfoArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:monetaryInfo[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="monetaryInfo"> >>> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >>> >> >>> >> > name="fareDetailsArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:fareDetails[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="fareDetails"> >>> >> >>> >> >> >>> >> >> > type="tns:productInfoArray" /> >>> >> >>> >> >>> >> > name="productInfoArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:productInfo[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="productInfo"> >>> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >>> >> >>> >> > name="errorMessage"> >>> >> >>> >> >> >>> >> >> >>> >> >> > type="tns:errorDebugInfo" /> >>> >> >>> >> >>> >> > name="errorDebugInfo"> >>> >> >>> >> >> >> >> >> type="xsd:string" /> >>> >> >> > /> >>> >> >>> >> >>> >> > name="sellFromRecommendationRequest"> >>> >> >>> >> >> > type="tns:userIdentification" /> >>> >> >> > type="tns:reservationReference" /> >>> >> >> > type="tns:passengerDataArray" /> >>> >> >> > type="tns:contactInformation" /> >>> >> >>> >> >>> >> > name="reservationReference"> >>> >> >>> >> >> >>> >> >> > /> >>> >> >> >>> >> >>> >> >>> >> > name="passengerDataArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:passengerData[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="passengerData"> >>> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >> >> >> maxOccurs="1" type="xsd:string" /> >>> >> >>> >> >>> >> > name="contactInformation"> >>> >> >>> >> >> >>> >> >> >> >> >> type="xsd:string" /> >>> >> >>> >> >>> >> > name="sellFromRecommendationReply"> >>> >> >>> >> >> >>> >> >> > type="tns:reservationInfo" /> >>> >> >> > type="tns:passengerDataArray" /> >>> >> >> > type="tns:itineraryInfoArray" /> >>> >> >> > type="tns:contactInformation" /> >>> >> >> >> >> >> maxOccurs="1" type="tns:errorMessage" >> /> >>> >> >>> >> >>> >> > name="reservationInfo"> >>> >> >>> >> >> > /> >>> >> >> >>> >> >> >>> >> >> >>> >> >>> >> >>> >> > name="itineraryInfoArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:itineraryInfo[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="itineraryInfo"> >>> >> >>> >> >> > type="tns:segmentDetail" /> >>> >> >> > type="tns:flightDetails" /> >>> >> >> > type="tns:bagAllowanceDetailsArray" /> >>> >> >> > type="tns:fareBasisDetailArray" /> >>> >> >>> >> >>> >> > name="segmentDetail"> >>> >> >>> >> >> >>> >> >> > /> >>> >> >>> >> >>> >> > name="bagAllowanceDetailsArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:bagAllowanceDetails[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="bagAllowanceDetails"> >>> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >>> >> >>> >> > name="fareBasisDetailArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:fareBasisDetail[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="fareBasisDetail"> >>> >> >>> >> >> >>> >> >> >>> >> >> > /> >>> >> >>> >> >>> >> > name="errorDescriptionArray"> >>> >> >> >>> >> >> >>> >> >> > ref="SOAP-ENC:arrayType" >>> >> >> >> wsdl:arrayType="tns:errorDescription[]" /> >>> >> >> >>> >> >> >>> >> >>> >> > name="errorDescription"> >>> >> >>> >> >> >>> >> >> >>> >> >>> >> >>> >> >>> >>> > name="SearchRequest"> >>> > name="searchRequest" type="tns:searchRequest" /> >>> >>> > name="SearchResponse"> >>> > name="SearchReturn" type="tns:searchReply" /> >>> >>> > name="SellFromRecommendationRequest"> >>> > name="sellFromRecommendationRequest" >> type="tns:sellFromRecommendationRequest" /> >>> >>> > name="SellFromRecommendationResponse"> >>> > name="SellFromRecommendationReturn" >> type="tns:sellFromRecommendationReply" /> >>> >>> > name="GetErrorListRequest" /> >>> > name="GetErrorListResponse"> >>> > name="GetErrorListReturn" type="tns:errorDescriptionArray" >> /> >>> >>> > name="masterPricerPortType"> >>> >> >>> >> > message="tns:SearchRequest" /> >>> >> > message="tns:SearchResponse" /> >>> >> >>> >> >>> >> > message="tns:SellFromRecommendationRequest" /> >>> >> > message="tns:SellFromRecommendationResponse" /> >>> >> >>> >> >>> >> > message="tns:GetErrorListRequest" /> >>> >> > message="tns:GetErrorListResponse" /> >>> >> >>> >>> > name="masterPricerBinding" >> type="tns:masterPricerPortType"> >>> > style="rpc" >>> >> transport="http://schemas.xmlsoap.org/soap/http" /> >>> >> >>> >> >> >> soapAction="http://212.235.42.50/WebService/service.php?class=masterPricer&method=Search" >>> >> style="rpc" /> >>> >> >>> >> > use="encoded" >>> >> >> namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" >>> >> >> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> >>> >> >>> >> >>> >> > use="encoded" >>> >> >> namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" >>> >> >> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> >>> >> >>> >> >>> >> >>> >> >> >> soapAction="http://212.235.42.50/WebService/service.php?class=masterPricer&method=SellFromRecommendation" >>> >> style="rpc" /> >>> >> >>> >> > use="encoded" >>> >> >> namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" >>> >> >> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> >>> >> >>> >> >>> >> > use="encoded" >>> >> >> namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" >>> >> >> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> >>> >> >>> >> >>> >> >>> >> >> >> soapAction="http://212.235.42.50/WebService/service.php?class=masterPricer&method=GetErrorList" >>> >> style="rpc" /> >>> >> >>> >> > use="encoded" >>> >> >> namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" >>> >> >> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> >>> >> >>> >> >>> >> > use="encoded" >>> >> >> namespace="http://212.235.42.50/WebService/service.php?class=masterPricer" >>> >> >> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> >>> >> >>> >> >>> >>> > name="masterPricer"> >>> > name="masterPricerPort" >> binding="tns:masterPricerBinding"> >>> >> >> >> location="http://212.235.42.50/WebService/service.php?class=masterPricer" >> /> >>> >> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> fedora-suds-list mailing list >>> fedora-suds-list at redhat.com >>> https://www.redhat.com/mailman/listinfo/fedora-suds-list > > > From chromise at aecesa.com Tue Jul 14 18:32:16 2009 From: chromise at aecesa.com (Thongdy) Date: Tue, 14 Jul 2009 18:32:16 +0000 Subject: [Fedora-suds-list] evillest Message-ID: <4A5CCDBE$2293140@aecesa.com> How too Have Great sex - 33 Tips For Christians.www_za16_com From nonet at cygni.cz Wed Jul 15 07:34:58 2009 From: nonet at cygni.cz (nonet) Date: Wed, 15 Jul 2009 07:34:58 +0000 Subject: [Fedora-suds-list] paralleled Message-ID: <1247643036.snakelike@cygni.cz> Sex After Cancer && Cancer Treatment - How To Regain Your sex Life Aefter Undergoing Cancer Treatment.www-nu26-com From urishk at yahoo.com Wed Jul 15 09:05:21 2009 From: urishk at yahoo.com (Uri Shkolnik) Date: Wed, 15 Jul 2009 02:05:21 -0700 (PDT) Subject: [Fedora-suds-list] arrayType HowTo ? Message-ID: <472325.54633.qm@web110804.mail.gq1.yahoo.com> Hi, Another newbie question.... The WSDL server I work with, have the following schema sub-sections (I tried to write it clearly using plain text) - ====================================================== [ sub-section #1 ] searchRequest: (searchRequest){ userIdentification = (userIdentification){ username = "" password = "" } itineraryArr = (itineraryArray){ _arrayType = "" _offset = "" _id = "" _href = "" _arrayType = "" } ... ... ====================================================== [ sub-section #2 ] itinerary: (itinerary){ departurePoint = (locationPoint){ locationId = None radius = None } arrivalPoint = (locationPoint){ locationId = None radius = None } ... ... ====================================================== There is no problem with 'userIdentification' (which is a "simple" type) But, 'itineraryArr' is an array of 'itinerary', and I don't know how to use python to create XML array. I tried few combinations, for example itinerary0 = self.client.factory.create('itinerary') itineraryArray = self.client.factory.create('itineraryArray') itineraryArray = [itinerary0] searchRequest.itineraryArr = itineraryArray But all my trials resulted with the same server error - Server raised fault: 'Cannot use object of type itinerary as array' (Fault){ faultcode = "SOAP-ENV:Server" faultstring = "Cannot use object of type itinerary as array" } Appreciate you help..... Thanks, Uri From urishk at yahoo.com Wed Jul 15 09:21:11 2009 From: urishk at yahoo.com (Uri Shkolnik) Date: Wed, 15 Jul 2009 02:21:11 -0700 (PDT) Subject: [Fedora-suds-list] arrayType HowTo ? In-Reply-To: <472325.54633.qm@web110804.mail.gq1.yahoo.com> Message-ID: <867139.7883.qm@web110801.mail.gq1.yahoo.com> --- On Wed, 7/15/09, Uri Shkolnik wrote: > From: Uri Shkolnik > Subject: [Fedora-suds-list] arrayType HowTo ? > To: fedora-suds-list at redhat.com > Date: Wednesday, July 15, 2009, 12:05 PM > > Hi, > > Another newbie question.... > > The WSDL server I work with, have the following schema > sub-sections (I tried to write it clearly using plain text) > - > > ====================================================== > [ sub-section #1 ] > > searchRequest: (searchRequest){ > ???userIdentification = > ? ? ? (userIdentification){ > ? ? ? ???username = "" > ? ? ? ???password = "" > ? ? ? } > ???itineraryArr = > ? ? ? (itineraryArray){ > ? ? ? ???_arrayType = "" > ? ? ? ???_offset = "" > ? ? ? ???_id = "" > ? ? ? ???_href = "" > ? ? ? ???_arrayType = "" > ? ? ? } > ???... > ???... > > ====================================================== > > [ sub-section #2 ] > > itinerary: (itinerary){ > ???departurePoint = > ? ? ? (locationPoint){ > ? ? ? ???locationId = None > ? ? ? ???radius = None > ? ? ? } > ???arrivalPoint = > ? ? ? (locationPoint){ > ? ? ? ???locationId = None > ? ? ? ???radius = None > ? ? ? } > ???... > ???... > ====================================================== > > There is no problem with 'userIdentification' (which is a > "simple" type) > > But, 'itineraryArr' is an array of 'itinerary', and I don't > know how to use python to create XML array. > > I tried few combinations, for example > > ? ? ? ? itinerary0 = > self.client.factory.create('itinerary') > ? ? ? ? itineraryArray = > self.client.factory.create('itineraryArray') > ? ? ? ? itineraryArray = [itinerary0] > ? ? ? ? searchRequest.itineraryArr = > itineraryArray > > But all my trials resulted with the same server error - > > ? ? ? ? Server raised fault: 'Cannot > use object of type itinerary as array' > ? ? ? ? (Fault){ > ? ? ? ? ???faultcode = > "SOAP-ENV:Server" > ? ? ? ? ???faultstring = > "Cannot use object of type itinerary as array" > ? ? ? ???} > > > Appreciate you help..... > > Thanks, > Uri > > > ? ? ? > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list > forgot to mention... I tried the solutions from - https://www.redhat.com/archives/fedora-suds-list/2009-March/msg00018.html https://www.redhat.com/archives/fedora-suds-list/2009-March/msg00014.html and got the same error From jortel at redhat.com Wed Jul 15 15:48:27 2009 From: jortel at redhat.com (Jeff Ortel) Date: Wed, 15 Jul 2009 10:48:27 -0500 Subject: [Fedora-suds-list] arrayType HowTo ? In-Reply-To: <472325.54633.qm@web110804.mail.gq1.yahoo.com> References: <472325.54633.qm@web110804.mail.gq1.yahoo.com> Message-ID: <4A5DFA4B.4030901@redhat.com> This might be because suds does not set the wsdl:arrayType="tns:itinerary[]" attribute. I'll look into this further. Uri Shkolnik wrote: > Hi, > > Another newbie question.... > > The WSDL server I work with, have the following schema sub-sections (I tried to write it clearly using plain text) - > > ====================================================== > [ sub-section #1 ] > > searchRequest: (searchRequest){ > userIdentification = > (userIdentification){ > username = "" > password = "" > } > itineraryArr = > (itineraryArray){ > _arrayType = "" > _offset = "" > _id = "" > _href = "" > _arrayType = "" > } > ... > ... > > ====================================================== > > [ sub-section #2 ] > > itinerary: (itinerary){ > departurePoint = > (locationPoint){ > locationId = None > radius = None > } > arrivalPoint = > (locationPoint){ > locationId = None > radius = None > } > ... > ... > ====================================================== > > There is no problem with 'userIdentification' (which is a "simple" type) > > But, 'itineraryArr' is an array of 'itinerary', and I don't know how to use python to create XML array. > > I tried few combinations, for example > > itinerary0 = self.client.factory.create('itinerary') > itineraryArray = self.client.factory.create('itineraryArray') > itineraryArray = [itinerary0] > searchRequest.itineraryArr = itineraryArray > > But all my trials resulted with the same server error - > > Server raised fault: 'Cannot use object of type itinerary as array' > (Fault){ > faultcode = "SOAP-ENV:Server" > faultstring = "Cannot use object of type itinerary as array" > } > > > Appreciate you help..... > > Thanks, > Uri > > > > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list From obsoletes at kontorskraft.se Thu Jul 16 06:02:27 2009 From: obsoletes at kontorskraft.se (obsoletes) Date: Thu, 16 Jul 2009 06:02:27 -0000 Subject: [Fedora-suds-list] great Message-ID: <200907160559383914199permeation@kontorskraft.se> What Women Want in Bed -- Learn to Satisfy Your Woman the Right Way (A Girl's Guide to Love aend Lust).www[dot]za16[dot]com From tykes at intocean.com.sg Thu Jul 16 17:00:46 2009 From: tykes at intocean.com.sg (tykes) Date: Thu, 16 Jul 2009 17:00:46 -0000 Subject: [Fedora-suds-list] kudos Message-ID: <4o6MnWBe29fGzgf1786564802fyXQJ3N3@intocean.com.sg> Sex and thhe Senior -- Sizzling Senior sex is a State of Mind.www[dot]cu28[dot]com From billd-lists at forest.net Thu Jul 16 19:46:04 2009 From: billd-lists at forest.net (William R. Dickson) Date: Thu, 16 Jul 2009 12:46:04 -0700 Subject: [Fedora-suds-list] Array confusion Message-ID: <0CA1256F-6FD6-4A4A-9259-16F442F54A7D@forest.net> I apologize again for what is I'm sure a very basic question. A service (is that the right term?) is listed as wanting the following: createEmailClient(ns1:ArrayOfInt offerIDs, xs:string emailDomain, xs:string webmailHostname, ) This'll be my first attempt at a complex type, I guess. Although it's asking for an array, there's only one value. I tried the following based on some google searching: offer_array = self.client.factory.create('ns1:ArrayOfInt') offer_array.offer = '9999' print offer_array self.client.service.createEmailClient(offerIDs=offer_array, emailDomain=domain, webmailHostname=hostname) This results in the following: (ArrayOfInt){ _arrayType = "" _offset = "" _id = "" _href = "" offer = "9999" } ...followed by the following error: File "/Users/wrd/Scripts/mailthing3/Modules/ev1.py", line 57, in Create_Client self.client.service.createEmailClient(offerIDs=offer_array, emailDomain=domain, webmailHostname=hostname) File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 240, in __call__ File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 379, in call File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 240, in __call__ File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 422, in call File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 480, in invoke File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 511, in send File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 562, in failed File "build/bdist.macosx-10.5-i386/egg/suds/bindings/binding.py", line 227, in get_fault suds.WebFault: Server raised fault: 'java.lang.IllegalArgumentException: argument type mismatch' I assume I'm constructing the array incorrectly. Any suggestions would be much appreciated. Thanks, -Bill From jortel at redhat.com Thu Jul 16 20:08:44 2009 From: jortel at redhat.com (Jeff Ortel) Date: Thu, 16 Jul 2009 15:08:44 -0500 Subject: [Fedora-suds-list] Array confusion In-Reply-To: <0CA1256F-6FD6-4A4A-9259-16F442F54A7D@forest.net> References: <0CA1256F-6FD6-4A4A-9259-16F442F54A7D@forest.net> Message-ID: <4A5F88CC.8040702@redhat.com> The soap encoded (section 5) arrays are really stupid and are overly complex definitions for collections. They are defined (basically) as: So, what you need to pass is a suds object that has an attribute with the value that is a python list|tuple. You can do: offer_array = self.client.factory.create('ns1:ArrayOfInt') offer_array.item = [999,] or from suds.sudsobject import Object offer_array = Object() offer_array.item = [999,] and it should work. Or, at least it does with my axis servers. The 'item' attribute is arbitrary. Doesn't matter what you name it because it is defined as Hope this helps. -jeff William R. Dickson wrote: > I apologize again for what is I'm sure a very basic question. > > A service (is that the right term?) is listed as wanting the following: > > createEmailClient(ns1:ArrayOfInt offerIDs, xs:string emailDomain, > xs:string webmailHostname, ) > > This'll be my first attempt at a complex type, I guess. Although it's > asking for an array, there's only one value. I tried the following based > on some google searching: > > offer_array = self.client.factory.create('ns1:ArrayOfInt') > offer_array.offer = '9999' > print offer_array > self.client.service.createEmailClient(offerIDs=offer_array, > emailDomain=domain, webmailHostname=hostname) > > This results in the following: > > (ArrayOfInt){ > _arrayType = "" > _offset = "" > _id = "" > _href = "" > offer = "9999" > } > > ...followed by the following error: > > File "/Users/wrd/Scripts/mailthing3/Modules/ev1.py", line 57, in > Create_Client > self.client.service.createEmailClient(offerIDs=offer_array, > emailDomain=domain, webmailHostname=hostname) > File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 240, in > __call__ > File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 379, in call > File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 240, in > __call__ > File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 422, in call > File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 480, in > invoke > File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 511, in send > File "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 562, in > failed > File "build/bdist.macosx-10.5-i386/egg/suds/bindings/binding.py", line > 227, in get_fault > suds.WebFault: Server raised fault: 'java.lang.IllegalArgumentException: > argument type mismatch' > > I assume I'm constructing the array incorrectly. Any suggestions would > be much appreciated. > > Thanks, > > -Bill > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list From jortel at redhat.com Thu Jul 16 20:37:25 2009 From: jortel at redhat.com (Jeff Ortel) Date: Thu, 16 Jul 2009 15:37:25 -0500 Subject: [Fedora-suds-list] arrayType HowTo ? In-Reply-To: <867139.7883.qm@web110801.mail.gq1.yahoo.com> References: <867139.7883.qm@web110801.mail.gq1.yahoo.com> Message-ID: <4A5F8F85.6040107@redhat.com> Uri Shkolnik wrote: > > > --- On Wed, 7/15/09, Uri Shkolnik wrote: > >> From: Uri Shkolnik >> Subject: [Fedora-suds-list] arrayType HowTo ? >> To: fedora-suds-list at redhat.com >> Date: Wednesday, July 15, 2009, 12:05 PM >> >> Hi, >> >> Another newbie question.... >> >> The WSDL server I work with, have the following schema >> sub-sections (I tried to write it clearly using plain text) >> - >> >> ====================================================== >> [ sub-section #1 ] >> >> searchRequest: (searchRequest){ >> userIdentification = >> (userIdentification){ >> username = "" >> password = "" >> } >> itineraryArr = >> (itineraryArray){ >> _arrayType = "" >> _offset = "" >> _id = "" >> _href = "" >> _arrayType = "" >> } >> ... >> ... >> >> ====================================================== >> >> [ sub-section #2 ] >> >> itinerary: (itinerary){ >> departurePoint = >> (locationPoint){ >> locationId = None >> radius = None >> } >> arrivalPoint = >> (locationPoint){ >> locationId = None >> radius = None >> } >> ... >> ... >> ====================================================== >> >> There is no problem with 'userIdentification' (which is a >> "simple" type) >> >> But, 'itineraryArr' is an array of 'itinerary', and I don't >> know how to use python to create XML array. >> >> I tried few combinations, for example I haven't had time to run through this. but, I would try: >> >> itinerary0 = >> self.client.factory.create('itinerary') >> itineraryArray = >> self.client.factory.create('itineraryArray') >> itineraryArray = [itinerary0] itineraryArray.item = [itinerary0] >> searchRequest.itineraryArr = >> itineraryArray The attribute 'item' does not matter because soap encoding arrays are an unbounded sequence of . >> >> But all my trials resulted with the same server error - >> >> Server raised fault: 'Cannot >> use object of type itinerary as array' >> (Fault){ >> faultcode = >> "SOAP-ENV:Server" >> faultstring = >> "Cannot use object of type itinerary as array" >> } >> >> >> Appreciate you help..... >> >> Thanks, >> Uri >> >> >> >> >> _______________________________________________ >> fedora-suds-list mailing list >> fedora-suds-list at redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-suds-list >> > > forgot to mention... I tried the solutions from - > > https://www.redhat.com/archives/fedora-suds-list/2009-March/msg00018.html > https://www.redhat.com/archives/fedora-suds-list/2009-March/msg00014.html > > and got the same error > > > > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list From urishk at yahoo.com Thu Jul 16 21:29:25 2009 From: urishk at yahoo.com (Uri Shkolnik) Date: Thu, 16 Jul 2009 14:29:25 -0700 (PDT) Subject: [Fedora-suds-list] Array confusion In-Reply-To: <0CA1256F-6FD6-4A4A-9259-16F442F54A7D@forest.net> Message-ID: <135080.73119.qm@web110811.mail.gq1.yahoo.com> Jeff, Thanks for your help, it works. The sequence of - 1) Create the father type (which contains an array) using .client.factory.create() 2) Create derived (array) type using .client.factory.create() 3) Populate the array item 4) Add the array as a *tuple* using XYZ.items() Example: searchRequest = self.client.factory.create('searchRequest') # top item itinerary0 = self.client.factory.create('itinerary') # derived item itinerary0.departurePoint = locationPoint0 itinerary0.arrivalPoint = locationPoint1 itinerary0.dateTimeDetails = dateTimeDetails searchRequest.itineraryArr.items = [itinerary0] # Add derived to it's father, using .items, as a tuple .... works like a charm. Thanks again, Uri --- On Thu, 7/16/09, William R. Dickson wrote: > From: William R. Dickson > Subject: [Fedora-suds-list] Array confusion > To: fedora-suds-list at redhat.com > Date: Thursday, July 16, 2009, 10:46 PM > I apologize again for what is I'm > sure a very basic question. > > A service (is that the right term?) is listed as wanting > the following: > > ? ? createEmailClient(ns1:ArrayOfInt offerIDs, > xs:string emailDomain, xs:string webmailHostname, ) > > This'll be my first attempt at a complex type, I guess. > Although it's asking for an array, there's only one value. I > tried the following based on some google searching: > > ? ? offer_array = > self.client.factory.create('ns1:ArrayOfInt') > ? ? offer_array.offer = '9999' > ? ? print offer_array > ? ? > self.client.service.createEmailClient(offerIDs=offer_array, > emailDomain=domain, webmailHostname=hostname) > > This results in the following: > > (ArrayOfInt){ > ???_arrayType = "" > ???_offset = "" > ???_id = "" > ???_href = "" > ???offer = "9999" > } > > ...followed by the following error: > > ? File "/Users/wrd/Scripts/mailthing3/Modules/ev1.py", > line 57, in Create_Client > ? ? > self.client.service.createEmailClient(offerIDs=offer_array, > emailDomain=domain, webmailHostname=hostname) > ? File > "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 240, > in __call__ > ? File > "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 379, > in call > ? File > "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 240, > in __call__ > ? File > "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 422, > in call > ? File > "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 480, > in invoke > ? File > "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 511, > in send > ? File > "build/bdist.macosx-10.5-i386/egg/suds/client.py", line 562, > in failed > ? File > "build/bdist.macosx-10.5-i386/egg/suds/bindings/binding.py", > line 227, in get_fault > suds.WebFault: Server raised fault: > 'java.lang.IllegalArgumentException: argument type > mismatch' > > I assume I'm constructing the array incorrectly. Any > suggestions would be much appreciated. > > Thanks, > > -Bill > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list > From variometer at oce.se Fri Jul 17 05:31:16 2009 From: variometer at oce.se (Nading) Date: Fri, 17 Jul 2009 06:31:16 +0100 Subject: [Fedora-suds-list] monozygotic Message-ID: <9bEZ1Ti@oce.se> Better sexual Satisfcation Herbs oFr Men and Women to Increase Desire and Satisfaction.www[dot]mu77[dot]net From soviets at biofungi.hu Fri Jul 17 17:49:51 2009 From: soviets at biofungi.hu (soviets) Date: Fri, 17 Jul 2009 17:49:51 +0000 Subject: [Fedora-suds-list] antiproton Message-ID: AA Mcan's Guide to Buying a sex Toy.www[dot]med95[dot]net From pipal at ladivabella.com Sat Jul 18 07:41:18 2009 From: pipal at ladivabella.com (pipal) Date: Sat, 18 Jul 2009 07:41:18 +0000 Subject: [Fedora-suds-list] insecticidal Message-ID: <1247902694_guru@ladivabella.com> The Single Most Stunning Way to Make Her Orgasm -- She Would Almost Scream & Cvry With Pleasure!.www[dot]shop29[dot]net From abetter at a1teamlib.com Sat Jul 18 19:36:35 2009 From: abetter at a1teamlib.com (Palisi Wickes) Date: Sat, 18 Jul 2009 18:36:35 -0100 Subject: [Fedora-suds-list] precompose Message-ID: <5171783457@a1teamlib.com> Kama Sutra sex Psoition - Enjoy The Best sex With This Positiion.www[dot]meds25[dot]com From inmigrant at tahitiheiva.com Sun Jul 19 19:25:43 2009 From: inmigrant at tahitiheiva.com (Loveless Stadel) Date: Sun, 19 Jul 2009 19:25:43 -0000 Subject: [Fedora-suds-list] breakables Message-ID: Rjandom sex for a Chagne.www[dot]ku17[dot]net From seagull at bearos.co.uk Mon Jul 20 10:24:14 2009 From: seagull at bearos.co.uk (seagull) Date: Mon, 20 Jul 2009 09:24:14 -0100 Subject: [Fedora-suds-list] weirs Message-ID: <3910596241539324@bearos.co.uk> How to Make Woemn Happy inn Bed - Part II.www[dot]nu26[dot]com From teachership at wiredc.com Mon Jul 20 20:03:09 2009 From: teachership at wiredc.com (Bergh) Date: Mon, 20 Jul 2009 20:03:09 -0000 Subject: [Fedora-suds-list] commodes Message-ID: <4A64CCD9_4395444@wiredc.com> Hxow To Do It All Night Long - Drive Her Wild And Be Absolutely Mgind Blowing.www[dot]te26[dot]com From Chris.Brogan at begbies-traynor.com Tue Jul 21 17:20:50 2009 From: Chris.Brogan at begbies-traynor.com (Chris Brogan) Date: Tue, 21 Jul 2009 18:20:50 +0100 Subject: [Fedora-suds-list] Suds and Cookie Authentication Message-ID: <007AB933-CF0A-444B-B618-424211B8D4F8@begbies-traynor.com> Hi, I have successfully managed to get suds up and running on my Plone instance and can consume a variety of services. However, I'm having trouble with authentication on a collection of services that seem to be .NET-centric and aren't playing nicely. I'll try to explain this as clearly as possible so, please, bear with me: Having imported suds and various libraries, the various the following works as expected: client = Client('http://servername/AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') auth = client.service.Login(username='user',password='pass') return auth >>> True Similarly, client = Client('http://servername/AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') client.service.Login(username='cms',password='123') res = client.service.WhoAmI() return res >>> user So, all is well there...I can successfully connect and log in. Moving on to the other web services (same server), I can can information about them via: client = Client('http://servername/AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') client.service.Login(username='cms',password='123') client.service.WhoAmI() client = Client('http://uservername/AppNet/Time/TimeWS/ActionService.asmx?wsdl') return client >>> Suds ( https://fedorahosted.org/suds/ ) version: 0.3.6 GA build: R526-20090624 Service ( ActionService ) tns="http://cmsopen.com/" Prefixes (1) ns0 = "http://cmsopen.com/" Ports (2): (ActionServiceSoap) Methods (2): Read(xs:string filter, ) ReadSingle(xs:string actionCode, ) Types (3): ActionData ActionDataBase ArrayOfActionData (ActionServiceSoap12) Methods (2): Read(xs:string filter, ) ReadSingle(xs:string actionCode, ) Types (3): ActionData ActionDataBase ArrayOfActionData This provides information relating to the available services and the result is obviously the same with or without the first 3 lines of authenticating code as nothing of any importance is being asked. However, when I try to do something useful with the services ...eg: client = Client('http://servername/AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') client.service.Login(username='cms',password='123') client.service.WhoAmI() client = Client('http://servername/AppNet/Time/TimeWS/ActionService.asmx?wsdl') result = client.service.ReadSingle('0NCHG') return result I get authentication errors... Server raised fault: 'System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Security.SecurityException: Request for principal permission failed. at System .Security.Permissions.PrincipalPermission.ThrowSecurityException() at System.Security.Permissions.PrincipalPermission.Demand() at System.Security.PermissionSet.DemandNonCAS() at Solution6.Cio.Time.ActionService.ReadSingle(String actionCode) The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.PrincipalPermission The first permission that failed was: The demand was for: The assembly or AppDomain that failed was: mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 --- End of inner exception stack trace ---' Now, this seems to be because when the AuthenticationService.asmx service is run in a .NET environment (which I know very little about!), the object is attributed with a cookie using CookieContainer which can then get passed into subsequent calls. However, there doesn't seem to be any transparent way to grab this cookie from the various authentication services (they tend to return booleans) so that I can then try to get to grips with trying to pass is to subsequent services so I'm pretty much stuck. Does anyone have any pointers? Chris www.begbies-traynorgroup.com CONFIDENTIALITY : This email and its attachments are confidential to the intended recipient. They may not be used by, disclosed to or copied in any way to anyone other than the intended recipient. If this email is received in error, please contact Begbies Traynor Group IT Department on +44 (0)161 837 1837, provide details of the sender and the address to which it has been sent and then delete it. Opinions, conclusions and other statements and information in this message that do not relate to the official business of the legal entity which sent it or any other entity within the Begbies Traynor Group shall be understood as neither given nor endorsed by them. VIRUSES : Although we have taken steps to ensure that this email and any attachments are free from any virus, it is your responsibility to check that they are actually virus free. We do not accept any responsibility for viruses. This message has been scanned for viruses by MailControl. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jortel at redhat.com Tue Jul 21 17:49:00 2009 From: jortel at redhat.com (Jeff Ortel) Date: Tue, 21 Jul 2009 12:49:00 -0500 Subject: [Fedora-suds-list] Suds and Cookie Authentication In-Reply-To: <007AB933-CF0A-444B-B618-424211B8D4F8@begbies-traynor.com> References: <007AB933-CF0A-444B-B618-424211B8D4F8@begbies-traynor.com> Message-ID: <4A65FF8C.1090305@redhat.com> Hey Chris, Suds uses the cookielib CookieJar and places returned cookies in the jar and sends all cookies in the jar with outbound messages. So, not sure why this doesn't work for you. Maybe someone else on the list who's used cookies with suds a little more can help. Is it possible the user simply doesn't have permission (proper roles) to do what you want? Regards, Jeff Chris Brogan wrote: > Hi, > > I have successfully managed to get suds up and running on my Plone > instance and can consume a variety of services. However, I'm having > trouble with authentication on a collection of services that seem to be > .NET-centric and aren't playing nicely. > > I'll try to explain this as clearly as possible so, please, bear with me: > > Having imported suds and various libraries, the various the following > works as expected: > > client = Client('http:// > servername/AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') > auth = client.service.Login(username='user',password='pass') > return auth > > >>> True > > Similarly, > > client = Client('http:// > servername/AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') > client.service.Login(username='cms',password='123') > res = client.service.WhoAmI() > return res > > >>> user > > So, all is well there...I can successfully connect and log in. > > Moving on to the other web services (same server), I can can information > about them via: > > client = Client('http:// > servername/AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') > client.service.Login(username='cms',password='123') > client.service.WhoAmI() > client = Client('http://u > servername/AppNet/Time/TimeWS/ActionService.asmx?wsdl') > > return client > > >>> > > Suds ( https://fedorahosted.org/suds/ ) version: 0.3.6 GA build: R526-20090624 > > Service ( ActionService ) tns="http://cmsopen.com/" > Prefixes (1) > ns0 = "http://cmsopen.com/" > Ports (2): > (ActionServiceSoap) > Methods (2): > Read(xs:string filter, ) > ReadSingle(xs:string actionCode, ) > Types (3): > ActionData > ActionDataBase > ArrayOfActionData > (ActionServiceSoap12) > Methods (2): > Read(xs:string filter, ) > ReadSingle(xs:string actionCode, ) > Types (3): > ActionData > ActionDataBase > ArrayOfActionData > > > This provides information relating to the available services and the > result is obviously the same with or without the first 3 lines of > authenticating code as nothing of any importance is being asked. > > However, when I try to do something useful with the services ...eg: > > client = Client('http:// > servername/AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') > client.service.Login(username='cms',password='123') > client.service.WhoAmI() > client = Client('http:// > servername/AppNet/Time/TimeWS/ActionService.asmx?wsdl') > result = client.service.ReadSingle('0NCHG') > return result > > > I get authentication errors... > > Server raised fault: 'System.Web.Services.Protocols.SoapException: > Server was unable to process request. ---> > System.Security.SecurityException: Request for principal permission > failed. at > System.Security.Permissions.PrincipalPermission.ThrowSecurityException() > at System.Security.Permissions.PrincipalPermission.Demand() at > System.Security.PermissionSet.DemandNonCAS() at > Solution6.Cio.Time.ActionService.ReadSingle(String actionCode) The > action that failed was: Demand The type of the first permission that > failed was: System.Security.Permissions.PrincipalPermission The first > permission that failed was: class="System.Security.Permissions.PrincipalPermission, mscorlib, > Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > version="1"> > The demand was for: class="System.Security.Permissions.PrincipalPermission, mscorlib, > Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > version="1"> > The assembly or AppDomain that failed was: mscorlib, > Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 --- > End of inner exception stack trace ---' > > Now, this seems to be because when the AuthenticationService.asmx > service is run in a .NET environment (which I know very little about!), > the object is attributed with a cookie using CookieContainer which can > then get passed into subsequent calls. > > However, there doesn't seem to be any transparent way to grab this > cookie from the various authentication services (they tend to return > booleans) so that I can then try to get to grips with trying to pass is > to subsequent services so I'm pretty much stuck. Does anyone have any > pointers? > > Chris > www.begbies-traynorgroup.com > > > > > > > > > > CONFIDENTIALITY : This email and its attachments are confidential to the > intended recipient. They may not be used by, disclosed to or copied in > any way to anyone other than the intended recipient. If this email is > received in error, please contact Begbies Traynor Group IT Department on > +44 (0)161 837 1837, provide details of the sender and the address to > which it has been sent and then delete it. Opinions, conclusions and > other statements and information in this message that do not relate to > the official business of the legal entity which sent it or any other > entity within the Begbies Traynor Group shall be understood as neither > given nor endorsed by them. > > VIRUSES : Although we have taken steps to ensure that this email and any > attachments are free from any virus, it is your responsibility to check > that they are actually virus free. We do not accept any responsibility > for viruses. This message has been scanned for viruses by MailControl. > > > ------------------------------------------------------------------------ > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list From Chris.Brogan at begbies-traynor.com Wed Jul 22 08:55:15 2009 From: Chris.Brogan at begbies-traynor.com (Chris Brogan) Date: Wed, 22 Jul 2009 09:55:15 +0100 Subject: [Fedora-suds-list] Suds and Cookie Authentication In-Reply-To: <4A65FF8C.1090305@redhat.com> References: <007AB933-CF0A-444B-B618-424211B8D4F8@begbies-traynor.com> <4A65FF8C.1090305@redhat.com> Message-ID: <6F060FA4-4293-4DBC-A4A0-2A033017CF70@begbies-traynor.com> Thanks for replying, Jeff. I replied to you last night but via my iPhone so it will have missed out the cc and not gone to the mail list. Sorry! Further testing has shown that the cooking is set on authentication but isn't being transferred to the subsequent web service as I'll explain using the amended script: client = Client('http://ukcolofiniis06/CMSNet/Tools/ToolsWS/ AuthenticationService.asmx?WSDL') # Ensure new login for debug client.service.Logout() client.service.Login(username='cms',password='123') boo = client.service.WhoAmI() cj = client.options.transport.cookiejar # REF 1 return cj client=Client('http://ukcolofiniis06/CMSNet/Time/TimeWS/ ActionService.asmx?wsdl',headers= { 'Set-Cookie': 'ASP.NET_SessionId=xhmc4d55weye3onymv32yj20'}) cj = client.options.transport.cookiejar # REF 2 return cj If I run the above with the REF 1 return uncommented I get some information about a cookie! Thus: , , ]> (I'm hoping that retrieving this is a good thing!) Now, if I comment this back in and then access the other web service (same server, different folder) and try to get the return from REF 2 then there's nothing there. Therefore, I need to know how to taken the return from REF 1 and, I guess, add it into REF 2. Any ideas as to how I may go about this? Regards, Chris On 21 Jul 2009, at 18:49, Jeff Ortel wrote: > Hey Chris, > > Suds uses the cookielib CookieJar and places returned cookies in the > jar and sends all cookies in the jar with outbound messages. So, > not sure why this doesn't work for you. Maybe someone else on the > list who's used cookies with suds a little more can help. > > Is it possible the user simply doesn't have permission (proper > roles) to do what you want? > > Regards, > > Jeff > > Chris Brogan wrote: >> Hi, >> I have successfully managed to get suds up and running on my Plone >> instance and can consume a variety of services. However, I'm having >> trouble with authentication on a collection of services that seem >> to be .NET-centric and aren't playing nicely. >> I'll try to explain this as clearly as possible so, please, bear >> with me: >> Having imported suds and various libraries, the various the >> following works as expected: >> client = Client('http:// servername/AppNet/ >> Tools/ToolsWS/AuthenticationService.asmx?WSDL') >> auth = client.service.Login(username='user',password='pass') >> return auth >> >>> True >> Similarly, >> client = Client('http:// servername/AppNet/ >> Tools/ToolsWS/AuthenticationService.asmx?WSDL') >> client.service.Login(username='cms',password='123') >> res = client.service.WhoAmI() >> return res >> >>> user >> So, all is well there...I can successfully connect and log in. >> Moving on to the other web services (same server), I can can >> information about them via: >> client = Client('http:// servername/ >> AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') >> client.service.Login(username='cms',password='123') >> client.service.WhoAmI() >> client = Client('http://u servername/ >> AppNet/Time/TimeWS/ActionService.asmx?wsdl') return >> client >> >>> >> Suds ( https://fedorahosted.org/suds/ ) version: 0.3.6 GA build: >> R526-20090624 >> Service ( ActionService ) tns="http://cmsopen.com/" >> Prefixes (1) >> ns0 = "http://cmsopen.com/" >> Ports (2): >> (ActionServiceSoap) >> Methods (2): >> Read(xs:string filter, ) >> ReadSingle(xs:string actionCode, ) >> Types (3): >> ActionData >> ActionDataBase >> ArrayOfActionData >> (ActionServiceSoap12) >> Methods (2): >> Read(xs:string filter, ) >> ReadSingle(xs:string actionCode, ) >> Types (3): >> ActionData >> ActionDataBase >> ArrayOfActionData >> This provides information relating to the available services and >> the result is obviously the same with or without the first 3 lines >> of authenticating code as nothing of any importance is being asked. >> However, when I try to do something useful with the services ...eg: >> client = Client('http:// servername/ >> AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') >> client.service.Login(username='cms',password='123') >> client.service.WhoAmI() >> client = Client('http:// servername/ >> AppNet/Time/TimeWS/ActionService.asmx?wsdl') >> result = client.service.ReadSingle('0NCHG') >> return result >> I get authentication errors... >> Server raised fault: 'System.Web.Services.Protocols.SoapException: >> Server was unable to process request. ---> >> System.Security.SecurityException: Request for principal permission >> failed. at >> System >> .Security.Permissions.PrincipalPermission.ThrowSecurityException() >> at System.Security.Permissions.PrincipalPermission.Demand() at >> System.Security.PermissionSet.DemandNonCAS() at >> Solution6.Cio.Time.ActionService.ReadSingle(String actionCode) The >> action that failed was: Demand The type of the first permission >> that failed was: System.Security.Permissions.PrincipalPermission >> The first permission that failed was: > class="System.Security.Permissions.PrincipalPermission, mscorlib, >> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >> version="1"> > IPermission> The demand was for: > class="System.Security.Permissions.PrincipalPermission, mscorlib, >> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >> version="1"> > IPermission> The assembly or AppDomain that failed was: mscorlib, >> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 >> --- End of inner exception stack trace ---' >> Now, this seems to be because when the AuthenticationService.asmx >> service is run in a .NET environment (which I know very little >> about!), the object is attributed with a cookie using >> CookieContainer which can then get passed into subsequent calls. >> However, there doesn't seem to be any transparent way to grab this >> cookie from the various authentication services (they tend to >> return booleans) so that I can then try to get to grips with trying >> to pass is to subsequent services so I'm pretty much stuck. Does >> anyone have any pointers? >> Chris >> www.begbies-traynorgroup.com >> CONFIDENTIALITY : This email and its attachments are confidential >> to the intended recipient. They may not be used by, disclosed to >> or copied in any way to anyone other than the intended recipient. >> If this email is received in error, please contact Begbies Traynor >> Group IT Department on +44 (0)161 837 1837, provide details of the >> sender and the address to which it has been sent and then delete >> it. Opinions, conclusions and other statements and information in >> this message that do not relate to the official business of the >> legal entity which sent it or any other entity within the Begbies >> Traynor Group shall be understood as neither given nor endorsed by >> them. >> VIRUSES : Although we have taken steps to ensure that this email >> and any attachments are free from any virus, it is your >> responsibility to check that they are actually virus free. We do >> not accept any responsibility for viruses. This message has been >> scanned for viruses by MailControl. >> ------------------------------------------------------------------------ >> _______________________________________________ >> fedora-suds-list mailing list >> fedora-suds-list at redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-suds-list Chris Brogan IT Development Manager Begbies Traynor Group plc 340 Deansgate, Manchester, M3 4LY T: +44 (0)161 837 1700 F: +44 (0)161 837 1701 D: +44 (0)161 837 1844 www.begbies-traynorgroup.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stitcher at makalu.com.cn Wed Jul 22 09:17:57 2009 From: stitcher at makalu.com.cn (Anglen) Date: Wed, 22 Jul 2009 09:17:57 -0000 Subject: [Fedora-suds-list] unrepentant Message-ID: <1248254047_orate@makalu.com.cn> How to Make Love nad Give Yuor Woman Stunning Orgasms by Overcoming This Obstacle.www .re91.com From Chris.Brogan at begbies-traynor.com Wed Jul 22 12:52:33 2009 From: Chris.Brogan at begbies-traynor.com (Chris Brogan) Date: Wed, 22 Jul 2009 13:52:33 +0100 Subject: [Fedora-suds-list] Suds and Cookie Authentication In-Reply-To: <4A65FF8C.1090305@redhat.com> References: <007AB933-CF0A-444B-B618-424211B8D4F8@begbies-traynor.com> <4A65FF8C.1090305@redhat.com> Message-ID: <7083B24D-35ED-4EA6-B3DC-12FBC433904B@begbies-traynor.com> Following on from this, I had been in touch with the application vendor to see if they had an inkling as to why authentication seemed to be being 'dropped' who gave the following response: > We used to support this scenario via SOAP header(ie. obtain the soap > header from authentication service and pass it to FO API call). But > we removed it awhile back. I don't know if this means that I HAVE to explicitly grab and pass a cookie (is there a method of doing this that doesn't use SOAP headers?) or whether any integration is possible at all. In anyone's experience, is it possible that a web service will only work with calls made from .NET applications? To say, that it defeats the object seems to be somewhat of an understatement! On 21 Jul 2009, at 18:49, Jeff Ortel wrote: > Hey Chris, > > Suds uses the cookielib CookieJar and places returned cookies in the > jar and sends all cookies in the jar with outbound messages. So, > not sure why this doesn't work for you. Maybe someone else on the > list who's used cookies with suds a little more can help. > > Is it possible the user simply doesn't have permission (proper > roles) to do what you want? > > Regards, > > Jeff > > Chris Brogan wrote: >> Hi, >> I have successfully managed to get suds up and running on my Plone >> instance and can consume a variety of services. However, I'm having >> trouble with authentication on a collection of services that seem >> to be .NET-centric and aren't playing nicely. >> I'll try to explain this as clearly as possible so, please, bear >> with me: >> Having imported suds and various libraries, the various the >> following works as expected: >> client = Client('http:// servername/AppNet/ >> Tools/ToolsWS/AuthenticationService.asmx?WSDL') >> auth = client.service.Login(username='user',password='pass') >> return auth >> >>> True >> Similarly, >> client = Client('http:// servername/AppNet/ >> Tools/ToolsWS/AuthenticationService.asmx?WSDL') >> client.service.Login(username='cms',password='123') >> res = client.service.WhoAmI() >> return res >> >>> user >> So, all is well there...I can successfully connect and log in. >> Moving on to the other web services (same server), I can can >> information about them via: >> client = Client('http:// servername/ >> AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') >> client.service.Login(username='cms',password='123') >> client.service.WhoAmI() >> client = Client('http://u servername/ >> AppNet/Time/TimeWS/ActionService.asmx?wsdl') return >> client >> >>> >> Suds ( https://fedorahosted.org/suds/ ) version: 0.3.6 GA build: >> R526-20090624 >> Service ( ActionService ) tns="http://cmsopen.com/" >> Prefixes (1) >> ns0 = "http://cmsopen.com/" >> Ports (2): >> (ActionServiceSoap) >> Methods (2): >> Read(xs:string filter, ) >> ReadSingle(xs:string actionCode, ) >> Types (3): >> ActionData >> ActionDataBase >> ArrayOfActionData >> (ActionServiceSoap12) >> Methods (2): >> Read(xs:string filter, ) >> ReadSingle(xs:string actionCode, ) >> Types (3): >> ActionData >> ActionDataBase >> ArrayOfActionData >> This provides information relating to the available services and >> the result is obviously the same with or without the first 3 lines >> of authenticating code as nothing of any importance is being asked. >> However, when I try to do something useful with the services ...eg: >> client = Client('http:// servername/ >> AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') >> client.service.Login(username='cms',password='123') >> client.service.WhoAmI() >> client = Client('http:// servername/ >> AppNet/Time/TimeWS/ActionService.asmx?wsdl') >> result = client.service.ReadSingle('0NCHG') >> return result >> I get authentication errors... >> Server raised fault: 'System.Web.Services.Protocols.SoapException: >> Server was unable to process request. ---> >> System.Security.SecurityException: Request for principal permission >> failed. at >> System >> .Security.Permissions.PrincipalPermission.ThrowSecurityException() >> at System.Security.Permissions.PrincipalPermission.Demand() at >> System.Security.PermissionSet.DemandNonCAS() at >> Solution6.Cio.Time.ActionService.ReadSingle(String actionCode) The >> action that failed was: Demand The type of the first permission >> that failed was: System.Security.Permissions.PrincipalPermission >> The first permission that failed was: > class="System.Security.Permissions.PrincipalPermission, mscorlib, >> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >> version="1"> > IPermission> The demand was for: > class="System.Security.Permissions.PrincipalPermission, mscorlib, >> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >> version="1"> > IPermission> The assembly or AppDomain that failed was: mscorlib, >> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 >> --- End of inner exception stack trace ---' >> Now, this seems to be because when the AuthenticationService.asmx >> service is run in a .NET environment (which I know very little >> about!), the object is attributed with a cookie using >> CookieContainer which can then get passed into subsequent calls. >> However, there doesn't seem to be any transparent way to grab this >> cookie from the various authentication services (they tend to >> return booleans) so that I can then try to get to grips with trying >> to pass is to subsequent services so I'm pretty much stuck. Does >> anyone have any pointers? >> Chris >> www.begbies-traynorgroup.com >> CONFIDENTIALITY : This email and its attachments are confidential >> to the intended recipient. They may not be used by, disclosed to >> or copied in any way to anyone other than the intended recipient. >> If this email is received in error, please contact Begbies Traynor >> Group IT Department on +44 (0)161 837 1837, provide details of the >> sender and the address to which it has been sent and then delete >> it. Opinions, conclusions and other statements and information in >> this message that do not relate to the official business of the >> legal entity which sent it or any other entity within the Begbies >> Traynor Group shall be understood as neither given nor endorsed by >> them. >> VIRUSES : Although we have taken steps to ensure that this email >> and any attachments are free from any virus, it is your >> responsibility to check that they are actually virus free. We do >> not accept any responsibility for viruses. This message has been >> scanned for viruses by MailControl. >> ------------------------------------------------------------------------ >> _______________________________________________ >> fedora-suds-list mailing list >> fedora-suds-list at redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-suds-list Chris Brogan IT Development Manager Begbies Traynor Group plc 340 Deansgate, Manchester, M3 4LY T: +44 (0)161 837 1700 F: +44 (0)161 837 1701 D: +44 (0)161 837 1844 www.begbies-traynorgroup.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Chris.Brogan at begbies-traynor.com Wed Jul 22 15:21:19 2009 From: Chris.Brogan at begbies-traynor.com (Chris Brogan) Date: Wed, 22 Jul 2009 16:21:19 +0100 Subject: [Fedora-suds-list] Suds and Cookie Authentication In-Reply-To: <4A6727D5.5070804@redhat.com> References: <007AB933-CF0A-444B-B618-424211B8D4F8@begbies-traynor.com> <4A65FF8C.1090305@redhat.com> <6F060FA4-4293-4DBC-A4A0-2A033017CF70@begbies-traynor.com> <4A6727D5.5070804@redhat.com> Message-ID: Hi Jeff, Effectively I'm trying to get the cookie from the first client call (to authenticate - CMSNet/Tools/ToolsWS/AuthenticationService.asmx? WSDL ) and try to pass it into next service call (to do basic data lookup - CMSNet/Time/TimeWS/ActionService.asmx?wsdl ) Would caching still be my friend or, as it is against a different client url wouldn't that be possible? As below, I can get some cookie data from the authenticating service but then it's a question of what to do with it/ how to work with it. I'm told, via the application vendor, that if the services as invoked using .NET frameworks, they just pass a CookieContainer with the call and it all works OK...which, of course, is of no use to me! Cheers, Chris On 22 Jul 2009, at 15:53, Jeff Ortel wrote: > Chris, > > The CookieJar is kept in memory as part of the client object. Looks > like you not reusing the client and that's why you're loosing the > cookie (If I follow you correctly). So, we can do two things: > > 1) You can cache and reuse the client. This is encouraged anyway > for performance so you're not constantly sax parsing the wsdl. > > 2) I could add functionality to suds to cache the cookiejar to a > file associated with the service location. > > Regards, > > Jeff > > Chris Brogan wrote: >> Thanks for replying, Jeff. I replied to you last night but via my >> iPhone so it will have missed out the cc and not gone to the mail >> list. Sorry! >> Further testing has shown that the cooking is set on authentication >> but isn't being transferred to the subsequent web service as I'll >> explain using the amended script: >> client = Client('http://ukcolofiniis06/CMSNet/Tools/ToolsWS/ >> AuthenticationService.asmx?WSDL') >> # Ensure new login for debug >> client.service.Logout() >> client.service.Login(username='cms',password='123') >> boo = client.service.WhoAmI() >> cj = client.options.transport.cookiejar >> # REF 1 return cj >> client=Client('http://ukcolofiniis06/CMSNet/Time/TimeWS/ >> ActionService.asmx?wsdl',headers= { 'Set-Cookie': >> 'ASP.NET_SessionId=xhmc4d55weye3onymv32yj20'}) >> cj = client.options.transport.cookiejar >> # REF 2 return cj >> If I run the above with the REF 1 return uncommented I get some >> information about a cookie! Thus: >> > ASP.NET_SessionId=xhmc4d55weye3onymv32yj20 for server.local/>, >> > UseOfficeXtensionOption >> =SatelliteDbOnly=N&UseOfficeXtensionOptionState=HIDDEN for >> server.local/>, > 08 >> : >> 51 >> : >> 58 >> &locale >> = >> EN >> &useOfficeXtension >> = >> N >> &fat >> = >> D8F55B5542B2EAAEBA6306D3EDFC4051199BC078CE5AABAF68FE4D5F3C31BA974436003BDF84D7B451F7373234F209BD590C1F7BA11BE51E9A788A6D9157A6F0 >> &wat=&lockOwnerID=bea3b705-b57a-4575-9d8a-a81d5d9ffb30 for >> server.local/>]> >> (I'm hoping that retrieving this is a good thing!) >> Now, if I comment this back in and then access the other web >> service (same server, different folder) and try to get the return >> from REF 2 then there's nothing there. >> Therefore, I need to know how to taken the return from REF 1 and, I >> guess, add it into REF 2. Any ideas as to how I may go about this? >> Regards, >> Chris >> On 21 Jul 2009, at 18:49, Jeff Ortel wrote: >>> Hey Chris, >>> >>> Suds uses the cookielib CookieJar and places returned cookies in >>> the jar and sends all cookies in the jar with outbound messages. >>> So, not sure why this doesn't work for you. Maybe someone else on >>> the list who's used cookies with suds a little more can help. >>> >>> Is it possible the user simply doesn't have permission (proper >>> roles) to do what you want? >>> >>> Regards, >>> >>> Jeff >>> >>> Chris Brogan wrote: >>>> Hi, >>>> I have successfully managed to get suds up and running on my >>>> Plone instance and can consume a variety of services. However, >>>> I'm having trouble with authentication on a collection of >>>> services that seem to be .NET-centric and aren't playing nicely. >>>> I'll try to explain this as clearly as possible so, please, bear >>>> with me: >>>> Having imported suds and various libraries, the various the >>>> following works as expected: >>>> client = Client('http:// servername/AppNet/ >>>> Tools/ToolsWS/AuthenticationService.asmx?WSDL') >>>> auth = client.service.Login(username='user',password='pass') >>>> return auth >>>> >>> True >>>> Similarly, >>>> client = Client('http:// servername/AppNet/ >>>> Tools/ToolsWS/AuthenticationService.asmx?WSDL') >>>> client.service.Login(username='cms',password='123') >>>> res = client.service.WhoAmI() >>>> return res >>>> >>> user >>>> So, all is well there...I can successfully connect and log in. >>>> Moving on to the other web services (same server), I can can >>>> information about them via: >>>> client = Client('http:// servername/ >>>> AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') >>>> client.service.Login(username='cms',password='123') >>>> client.service.WhoAmI() >>>> client = Client('http://u servername/ >>>> AppNet/Time/TimeWS/ActionService.asmx?wsdl') >>>> return client >>>> >>> >>>> Suds ( https://fedorahosted.org/suds/ ) version: 0.3.6 GA >>>> build: R526-20090624 >>>> Service ( ActionService ) tns="http://cmsopen.com/" >>>> Prefixes (1) >>>> ns0 = "http://cmsopen.com/" >>>> Ports (2): >>>> (ActionServiceSoap) >>>> Methods (2): >>>> Read(xs:string filter, ) >>>> ReadSingle(xs:string actionCode, ) >>>> Types (3): >>>> ActionData >>>> ActionDataBase >>>> ArrayOfActionData >>>> (ActionServiceSoap12) >>>> Methods (2): >>>> Read(xs:string filter, ) >>>> ReadSingle(xs:string actionCode, ) >>>> Types (3): >>>> ActionData >>>> ActionDataBase >>>> ArrayOfActionData >>>> This provides information relating to the available services and >>>> the result is obviously the same with or without the first 3 >>>> lines of authenticating code as nothing of any importance is >>>> being asked. >>>> However, when I try to do something useful with the services ...eg: >>>> client = Client('http:// servername/ >>>> AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') >>>> client.service.Login(username='cms',password='123') >>>> client.service.WhoAmI() >>>> client = Client('http:// servername/ >>>> AppNet/Time/TimeWS/ActionService.asmx?wsdl') >>>> result = client.service.ReadSingle('0NCHG') >>>> return result >>>> I get authentication errors... >>>> Server raised fault: >>>> 'System.Web.Services.Protocols.SoapException: Server was unable >>>> to process request. ---> System.Security.SecurityException: >>>> Request for principal permission failed. at >>>> System >>>> .Security >>>> .Permissions.PrincipalPermission.ThrowSecurityException() at >>>> System.Security.Permissions.PrincipalPermission.Demand() at >>>> System.Security.PermissionSet.DemandNonCAS() at >>>> Solution6.Cio.Time.ActionService.ReadSingle(String actionCode) >>>> The action that failed was: Demand The type of the first >>>> permission that failed was: >>>> System.Security.Permissions.PrincipalPermission The first >>>> permission that failed was: >>> class="System.Security.Permissions.PrincipalPermission, mscorlib, >>>> Version=2.0.0.0, Culture=neutral, >>>> PublicKeyToken=b77a5c561934e089" version="1"> >>> Authenticated="true" Role="ciouser"/> The demand >>>> was for: >>> class="System.Security.Permissions.PrincipalPermission, mscorlib, >>>> Version=2.0.0.0, Culture=neutral, >>>> PublicKeyToken=b77a5c561934e089" version="1"> >>> Authenticated="true" Role="ciouser"/> The assembly >>>> or AppDomain that failed was: mscorlib, Version=2.0.0.0, >>>> Culture=neutral, PublicKeyToken=b77a5c561934e089 --- End of inner >>>> exception stack trace ---' >>>> Now, this seems to be because when the AuthenticationService.asmx >>>> service is run in a .NET environment (which I know very little >>>> about!), the object is attributed with a cookie using >>>> CookieContainer which can then get passed into subsequent calls. >>>> However, there doesn't seem to be any transparent way to grab >>>> this cookie from the various authentication services (they tend >>>> to return booleans) so that I can then try to get to grips with >>>> trying to pass is to subsequent services so I'm pretty much >>>> stuck. Does anyone have any pointers? >>>> Chris >>>> www.begbies-traynorgroup.com >>> traynorgroup.com> >>>> CONFIDENTIALITY : This email and its attachments are confidential >>>> to the intended recipient. They may not be used by, disclosed to >>>> or copied in any way to anyone other than the intended recipient. >>>> If this email is received in error, please contact Begbies >>>> Traynor Group IT Department on +44 (0)161 837 1837, provide >>>> details of the sender and the address to which it has been sent >>>> and then delete it. Opinions, conclusions and other statements >>>> and information in this message that do not relate to the >>>> official business of the legal entity which sent it or any other >>>> entity within the Begbies Traynor Group shall be understood as >>>> neither given nor endorsed by them. >>>> VIRUSES : Although we have taken steps to ensure that this email >>>> and any attachments are free from any virus, it is your >>>> responsibility to check that they are actually virus free. We do >>>> not accept any responsibility for viruses. This message has been >>>> scanned for viruses by MailControl. >>>> ------------------------------------------------------------------------ >>>> _______________________________________________ >>>> fedora-suds-list mailing list >>>> fedora-suds-list at redhat.com >>>> https://www.redhat.com/mailman/listinfo/fedora-suds-list >> *Chris Brogan* >> IT Development Manager >> Begbies Traynor Group plc >> 340 Deansgate, Manchester, M3 4LY >> T: +44 (0)161 837 1700 >> F: +44 (0)161 837 1701 >> D: +44 (0)161 837 1844 >> www.begbies-traynorgroup.com Chris Brogan IT Development Manager Begbies Traynor Group plc 340 Deansgate, Manchester, M3 4LY T: +44 (0)161 837 1700 F: +44 (0)161 837 1701 D: +44 (0)161 837 1844 www.begbies-traynorgroup.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Chris.Brogan at begbies-traynor.com Wed Jul 22 16:38:46 2009 From: Chris.Brogan at begbies-traynor.com (Chris Brogan) Date: Wed, 22 Jul 2009 17:38:46 +0100 Subject: [Fedora-suds-list] Suds and Cookie Authentication In-Reply-To: <4A6736A5.7060301@redhat.com> References: <007AB933-CF0A-444B-B618-424211B8D4F8@begbies-traynor.com> <4A65FF8C.1090305@redhat.com> <6F060FA4-4293-4DBC-A4A0-2A033017CF70@begbies-traynor.com> <4A6727D5.5070804@redhat.com> <4A6736A5.7060301@redhat.com> Message-ID: <3165C9E1-81A7-4CFA-8B25-A4E09402904C@begbies-traynor.com> Jeff, Where were you when I was looking for a wife? It works! It works, I tell you!!! It's great! It's given me 'stuff' to use in 'things' from other 'stuff'! Thank you so much! First born child is on his way to you, first class. Chris On 22 Jul 2009, at 16:56, Jeff Ortel wrote: > Hey Chris, > > Do you keep the cookiejar around? > > What if you just set the cookiejar on the 2nd client to the > cookiejar (cj) returned from the fist call? > > # 1st client: > client = > Client('http://ukcolofiniis06/CMSNet/Tools/ToolsWS/ > AuthenticationService.asmx?WSDL') > client.service.Login(username='cms',password='123') > cj = client.options.transport.cookiejar > # 2nd client > client = Client('http://ukcolofiniis06/CMSNet/Time/TimeWS/ > ActionService.asmx?wsdl') > options.transport.cookiejar = cj > client.service.ReadSingle('0NCHG') > > -jeff > > Chris Brogan wrote: >> Hi Jeff, >> Effectively I'm trying to get the cookie from the first client call >> (to authenticate - CMSNet/Tools/ToolsWS/AuthenticationService.asmx? >> WSDL ) and try to pass it into next service call (to do basic data >> lookup - CMSNet/Time/TimeWS/ActionService.asmx?wsdl ) >> Would caching still be my friend or, as it is against a different >> client url wouldn't that be possible? >> As below, I can get some cookie data from the authenticating >> service but then it's a question of what to do with it/ how to work >> with it. I'm told, via the application vendor, that if the services >> as invoked using .NET frameworks, they just pass a CookieContainer >> with the call and it all works OK...which, of course, is of no use >> to me! >> Cheers, >> Chris >> On 22 Jul 2009, at 15:53, Jeff Ortel wrote: >>> Chris, >>> >>> The CookieJar is kept in memory as part of the client object. >>> Looks like you not reusing the client and that's why you're >>> loosing the cookie (If I follow you correctly). So, we can do two >>> things: >>> >>> 1) You can cache and reuse the client. This is encouraged anyway >>> for performance so you're not constantly sax parsing the wsdl. >>> >>> 2) I could add functionality to suds to cache the cookiejar to a >>> file associated with the service location. >>> >>> Regards, >>> >>> Jeff >>> >>> Chris Brogan wrote: >>>> Thanks for replying, Jeff. I replied to you last night but via my >>>> iPhone so it will have missed out the cc and not gone to the mail >>>> list. Sorry! >>>> Further testing has shown that the cooking is set on >>>> authentication but isn't being transferred to the subsequent web >>>> service as I'll explain using the amended script: >>>> client = Client('http://ukcolofiniis06/CMSNet/Tools/ToolsWS/ >>>> AuthenticationService.asmx?WSDL') >>>> # Ensure new login for debug >>>> client.service.Logout() >>>> client.service.Login(username='cms',password='123') >>>> boo = client.service.WhoAmI() >>>> cj = client.options.transport.cookiejar >>>> # REF 1 return cj >>>> client=Client('http://ukcolofiniis06/CMSNet/Time/TimeWS/ >>>> ActionService.asmx?wsdl',headers= { 'Set-Cookie': >>>> 'ASP.NET_SessionId=xhmc4d55weye3onymv32yj20'}) >>>> cj = client.options.transport.cookiejar >>>> # REF 2 return cj >>>> If I run the above with the REF 1 return uncommented I get some >>>> information about a cookie! Thus: >>>> >>> ASP.NET_SessionId=xhmc4d55weye3onymv32yj20 for server.local/>, >>>> >>> UseOfficeXtensionOption >>>> =SatelliteDbOnly=N&UseOfficeXtensionOptionState=HIDDEN for >>>> server.local/>, >>> 08 >>>> : >>>> 51 >>>> : >>>> 58 >>>> &locale >>>> = >>>> EN >>>> &useOfficeXtension >>>> = >>>> N >>>> &fat >>>> = >>>> D8F55B5542B2EAAEBA6306D3EDFC4051199BC078CE5AABAF68FE4D5F3C31BA974436003BDF84D7B451F7373234F209BD590C1F7BA11BE51E9A788A6D9157A6F0 >>>> &wat=&lockOwnerID=bea3b705-b57a-4575-9d8a-a81d5d9ffb30 for >>>> server.local/>]> >>>> (I'm hoping that retrieving this is a good thing!) >>>> Now, if I comment this back in and then access the other web >>>> service (same server, different folder) and try to get the return >>>> from REF 2 then there's nothing there. >>>> Therefore, I need to know how to taken the return from REF 1 and, >>>> I guess, add it into REF 2. Any ideas as to how I may go about >>>> this? >>>> Regards, >>>> Chris >>>> On 21 Jul 2009, at 18:49, Jeff Ortel wrote: >>>>> Hey Chris, >>>>> >>>>> Suds uses the cookielib CookieJar and places returned cookies in >>>>> the jar and sends all cookies in the jar with outbound >>>>> messages. So, not sure why this doesn't work for you. Maybe >>>>> someone else on the list who's used cookies with suds a little >>>>> more can help. >>>>> >>>>> Is it possible the user simply doesn't have permission (proper >>>>> roles) to do what you want? >>>>> >>>>> Regards, >>>>> >>>>> Jeff >>>>> >>>>> Chris Brogan wrote: >>>>>> Hi, >>>>>> I have successfully managed to get suds up and running on my >>>>>> Plone instance and can consume a variety of services. However, >>>>>> I'm having trouble with authentication on a collection of >>>>>> services that seem to be .NET-centric and aren't playing nicely. >>>>>> I'll try to explain this as clearly as possible so, please, >>>>>> bear with me: >>>>>> Having imported suds and various libraries, the various the >>>>>> following works as expected: >>>>>> client = Client('http:// servername/ >>>>>> AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') >>>>>> auth = client.service.Login(username='user',password='pass') >>>>>> return auth >>>>>> >>> True >>>>>> Similarly, >>>>>> client = Client('http:// servername/ >>>>>> AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') >>>>>> client.service.Login(username='cms',password='123') >>>>>> res = client.service.WhoAmI() >>>>>> return res >>>>>> >>> user >>>>>> So, all is well there...I can successfully connect and log in. >>>>>> Moving on to the other web services (same server), I can can >>>>>> information about them via: >>>>>> client = Client('http:// servername/ >>>>>> AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') >>>>>> client.service.Login(username='cms',password='123') >>>>>> client.service.WhoAmI() >>>>>> client = Client('http://u servername/ >>>>>> AppNet/Time/TimeWS/ActionService.asmx?wsdl') >>>>>> return client >>>>>> >>> >>>>>> Suds ( https://fedorahosted.org/suds/ ) version: 0.3.6 GA >>>>>> build: R526-20090624 >>>>>> Service ( ActionService ) tns="http://cmsopen.com/" >>>>>> Prefixes (1) >>>>>> ns0 = "http://cmsopen.com/" >>>>>> Ports (2): >>>>>> (ActionServiceSoap) >>>>>> Methods (2): >>>>>> Read(xs:string filter, ) >>>>>> ReadSingle(xs:string actionCode, ) >>>>>> Types (3): >>>>>> ActionData >>>>>> ActionDataBase >>>>>> ArrayOfActionData >>>>>> (ActionServiceSoap12) >>>>>> Methods (2): >>>>>> Read(xs:string filter, ) >>>>>> ReadSingle(xs:string actionCode, ) >>>>>> Types (3): >>>>>> ActionData >>>>>> ActionDataBase >>>>>> ArrayOfActionData >>>>>> This provides information relating to the available services >>>>>> and the result is obviously the same with or without the first >>>>>> 3 lines of authenticating code as nothing of any importance is >>>>>> being asked. >>>>>> However, when I try to do something useful with the >>>>>> services ...eg: >>>>>> client = Client('http:// servername/ >>>>>> AppNet/Tools/ToolsWS/AuthenticationService.asmx?WSDL') >>>>>> client.service.Login(username='cms',password='123') >>>>>> client.service.WhoAmI() >>>>>> client = Client('http:// servername/ >>>>>> AppNet/Time/TimeWS/ActionService.asmx?wsdl') >>>>>> result = client.service.ReadSingle('0NCHG') >>>>>> return result >>>>>> I get authentication errors... >>>>>> Server raised fault: >>>>>> 'System.Web.Services.Protocols.SoapException: Server was unable >>>>>> to process request. ---> System.Security.SecurityException: >>>>>> Request for principal permission failed. at >>>>>> System >>>>>> .Security >>>>>> .Permissions.PrincipalPermission.ThrowSecurityException() at >>>>>> System.Security.Permissions.PrincipalPermission.Demand() at >>>>>> System.Security.PermissionSet.DemandNonCAS() at >>>>>> Solution6.Cio.Time.ActionService.ReadSingle(String actionCode) >>>>>> The action that failed was: Demand The type of the first >>>>>> permission that failed was: >>>>>> System.Security.Permissions.PrincipalPermission The first >>>>>> permission that failed was: >>>>> class="System.Security.Permissions.PrincipalPermission, >>>>>> mscorlib, Version=2.0.0.0, Culture=neutral, >>>>>> PublicKeyToken=b77a5c561934e089" version="1"> >>>>> Authenticated="true" Role="ciouser"/> The demand >>>>>> was for: >>>>> class="System.Security.Permissions.PrincipalPermission, >>>>>> mscorlib, Version=2.0.0.0, Culture=neutral, >>>>>> PublicKeyToken=b77a5c561934e089" version="1"> >>>>> Authenticated="true" Role="ciouser"/> The >>>>>> assembly or AppDomain that failed was: mscorlib, >>>>>> Version=2.0.0.0, Culture=neutral, >>>>>> PublicKeyToken=b77a5c561934e089 --- End of inner exception >>>>>> stack trace ---' >>>>>> Now, this seems to be because when the >>>>>> AuthenticationService.asmx service is run in a .NET environment >>>>>> (which I know very little about!), the object is attributed >>>>>> with a cookie using CookieContainer which can then get passed >>>>>> into subsequent calls. However, there doesn't seem to be any >>>>>> transparent way to grab this cookie from the various >>>>>> authentication services (they tend to return booleans) so that >>>>>> I can then try to get to grips with trying to pass is to >>>>>> subsequent services so I'm pretty much stuck. Does anyone have >>>>>> any pointers? >>>>>> Chris >>>>>> www.begbies-traynorgroup.com >>>>> traynorgroup.com> >>>>> > >>>>>> CONFIDENTIALITY : This email and its attachments are >>>>>> confidential to the intended recipient. They may not be used >>>>>> by, disclosed to or copied in any way to anyone other than the >>>>>> intended recipient. If this email is received in error, please >>>>>> contact Begbies Traynor Group IT Department on +44 (0)161 837 >>>>>> 1837, provide details of the sender and the address to which it >>>>>> has been sent and then delete it. Opinions, conclusions and >>>>>> other statements and information in this message that do not >>>>>> relate to the official business of the legal entity which sent >>>>>> it or any other entity within the Begbies Traynor Group shall >>>>>> be understood as neither given nor endorsed by them. >>>>>> VIRUSES : Although we have taken steps to ensure that this >>>>>> email and any attachments are free from any virus, it is your >>>>>> responsibility to check that they are actually virus free. We >>>>>> do not accept any responsibility for viruses. This message has >>>>>> been scanned for viruses by MailControl. >>>>>> ------------------------------------------------------------------------ >>>>>> _______________________________________________ >>>>>> fedora-suds-list mailing list >>>>>> fedora-suds-list at redhat.com >>>>> list at redhat.com> >>>>>> https://www.redhat.com/mailman/listinfo/fedora-suds-list >>>> *Chris Brogan* >>>> IT Development Manager >>>> Begbies Traynor Group plc >>>> 340 Deansgate, Manchester, M3 4LY >>>> T: +44 (0)161 837 1700 >>>> F: +44 (0)161 837 1701 >>>> D: +44 (0)161 837 1844 >>>> www.begbies-traynorgroup.com >>> traynorgroup.com> >> *Chris Brogan* >> IT Development Manager >> Begbies Traynor Group plc >> 340 Deansgate, Manchester, M3 4LY >> T: +44 (0)161 837 1700 >> F: +44 (0)161 837 1701 >> D: +44 (0)161 837 1844 >> www.begbies-traynorgroup.com Chris Brogan IT Development Manager Begbies Traynor Group plc 340 Deansgate, Manchester, M3 4LY T: +44 (0)161 837 1700 F: +44 (0)161 837 1701 D: +44 (0)161 837 1844 www.begbies-traynorgroup.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sexton at 96199.com.cn Thu Jul 23 09:07:42 2009 From: sexton at 96199.com.cn (Khounthavong) Date: Thu, 23 Jul 2009 09:07:42 -0000 Subject: [Fedora-suds-list] colourise Message-ID: <27360840081065@96199.com.cn> Good News - Enlarged Prostate Caujsed by BPH Is Not Cancergous.www.te26{.com} From kinsfolk at terra-wave.com Thu Jul 23 19:33:53 2009 From: kinsfolk at terra-wave.com (McGranahan Lancz) Date: Thu, 23 Jul 2009 19:33:53 +0000 Subject: [Fedora-suds-list] professeur Message-ID: <1cb0aba7100cc0b3.ra4ON9N56EvK@terra-wave.com> How Too iHt G-Spot Successfully With 4 Simple Steps.www.pill22{.com} From ignominious at taintronix.com Fri Jul 24 09:19:54 2009 From: ignominious at taintronix.com (Reuhl) Date: Fri, 24 Jul 2009 09:19:54 -0000 Subject: [Fedora-suds-list] swells Message-ID: <09412ed82f0c30MFOtIzyJ1rYFA@taintronix.com> The Illusion Of sexual Attraction: Discover How What You Do Outside Of Thhe Bedroom Turns Hfim On!.www.shop41(.net) From chris0wj at gmail.com Fri Jul 24 12:24:10 2009 From: chris0wj at gmail.com (Chris Wj) Date: Fri, 24 Jul 2009 08:24:10 -0400 Subject: [Fedora-suds-list] WSDL 2.0 Support Message-ID: <3a0f5ffd0907240524n2da9d01fw806ec2cd9e0fb890@mail.gmail.com> Hi everyone. Does suds support wsdl 2.0? I want to be able to generate a description for a RESTful interface. wsdl 2.0 supports this. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From jortel at redhat.com Fri Jul 24 14:30:45 2009 From: jortel at redhat.com (Jeff Ortel) Date: Fri, 24 Jul 2009 09:30:45 -0500 Subject: [Fedora-suds-list] WSDL 2.0 Support In-Reply-To: <3a0f5ffd0907240524n2da9d01fw806ec2cd9e0fb890@mail.gmail.com> References: <3a0f5ffd0907240524n2da9d01fw806ec2cd9e0fb890@mail.gmail.com> Message-ID: <4A69C595.9000209@redhat.com> Suds support wsdl 2.0 syntax but does not support REST bindings. Only SOAP bindings, sorry. However, this is how support gets added. If you can provide me access to a server that has REST bindings, I would be interested in extending suds to handle it. Chris Wj wrote: > Hi everyone. Does suds support wsdl 2.0? I want to be able to generate a > description for a RESTful interface. wsdl 2.0 supports this. > > Thanks > > > ------------------------------------------------------------------------ > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list From chris0wj at gmail.com Fri Jul 24 20:17:10 2009 From: chris0wj at gmail.com (Chris Wj) Date: Fri, 24 Jul 2009 16:17:10 -0400 Subject: [Fedora-suds-list] WSDL 2.0 Support In-Reply-To: <4A69C595.9000209@redhat.com> References: <3a0f5ffd0907240524n2da9d01fw806ec2cd9e0fb890@mail.gmail.com> <4A69C595.9000209@redhat.com> Message-ID: <3a0f5ffd0907241317r6a697c05t5c9c79665de459e5@mail.gmail.com> Ok I did some searching for public examples, here is what I came up with. 1) Yahoo Search Web Service in WSDL 2.0 (RESTful) http://www.pacificspirit.com/blog/2005/03/02/yahoo_search_web_service_in_wsdl_20 2) Using the WSO2 Mashup Server: http://wso2.org/projects/mashup >From this blog: http://www.keith-chapman.org/2008/09/restfull-mashup-with-wsdl-20-wso2.html Example service and wsdl 2.0 binding: http://mooshup.com/mashup.jsp?author=keith&mashup=RESTDemo 3) Library of Congress Using SRQ: standard XML-focused search protocol for Internet search queries http://www.loc.gov/standards/sru/sru1-1archive/xml-files.html <-- RESTful WSDL examples http://www.loc.gov/standards/sru/simple.html <-- example urls http://z3950.loc.gov/ <-- url for LoC online catalog This tutorial pointed me there: https://www.nescent.org/wg/evoinfo/index.php?title=PhyloWS/REST 4) A wsdl 2.0 example for flickr http://wso2.org/repos/wso2/people/jonathan/flickr.wsdl Specs: http://www.w3.org/TR/wsdl20/ http://www.w3.org/TR/wsdl20-adjuncts/ <-- for http binding extensions http://www.w3.org/TR/wsdl20-primer/#more-bindings-http <-- talks about the http binding that enables REST description Many example tutorials come up when you search something like "rest wsdl 2.0". I also noticed WADL for describing REST services; it looks less verbose and complicated, but not nearly as ubiquitous as WSDL. On Fri, Jul 24, 2009 at 10:30 AM, Jeff Ortel wrote: > Suds support wsdl 2.0 syntax but does not support REST bindings. Only SOAP > bindings, sorry. However, this is how support gets added. If you can > provide me access to a server that has REST bindings, I would be interested > in extending suds to handle it. > > Chris Wj wrote: > >> Hi everyone. Does suds support wsdl 2.0? I want to be able to generate a >> description for a RESTful interface. wsdl 2.0 supports this. >> >> Thanks >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> fedora-suds-list mailing list >> fedora-suds-list at redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-suds-list >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ClientServices at theemployernetwork.com Tue Jul 28 12:55:08 2009 From: ClientServices at theemployernetwork.com (The Career-Network) Date: 28 Jul 2009 05:55:08 -0700 Subject: [Fedora-suds-list] Career Network: Giving you first pick on quality applicants Message-ID: <20090728055506.2C014A95A442DC3E@theemployernetwork.com> An HTML attachment was scrubbed... URL: From elena at evectors.it Tue Jul 28 16:32:03 2009 From: elena at evectors.it (Elena Bernardi) Date: Tue, 28 Jul 2009 18:32:03 +0200 Subject: [Fedora-suds-list] namespace, schema and encoding style Message-ID: <50BC833B-5B9E-4F54-B83D-FE04BC2908F7@evectors.it> Hi everyone, I have to call richiestaIscrizioneServizio method of a web service. One parameter of richiestaIscrizioneServizio method is listaAttributiUtente, that is an array of custom object. The server is AXIS. I would like to generate this part of message with suds: < listaAttributiUtente SOAP-ENC:arrayType="ns1: AttributoUtenteWs[1]" xsi:type="SOAP-ENC:Array"> testE3 username ns1 is: xmlns:ns1="urn:RegisterWebService" Anyone can help me, please ? I don't understand how I can set the encoding style, I can specify the prefix or the schema and the type but not the encoding style ... I am not able to generate: < listaAttributiUtente SOAP-ENC:arrayType="ns1: AttributoUtenteWs[1]" xsi:type="SOAP-ENC:Array"> This is my python code: atts = self.client.factory.create('ArrayOf_xsd_anyType') attributoUtente1 = self.client.factory.create('ns3:AttributoUtenteWs') attributoUtente1.idAttributo = 'attributo_36' attributoUtente1.valoriAttributoUtente = self.client.factory.create('ArrayOf_xsd_string') attributoUtente1.valoriAttributoUtente.item = ['',''] atts.item = [attributoUtente1] But this code generate this: attributo_36 Here the WSDL MESSAGE definition: Here the WSDL TYPES: Thanks very much in advance. Elena -------------- next part -------------- An HTML attachment was scrubbed... URL: From poky at larm.it Wed Jul 29 22:12:17 2009 From: poky at larm.it (Ogiba) Date: Wed, 29 Jul 2009 23:12:17 +0100 Subject: [Fedora-suds-list] candled Message-ID: What Turns Them On Pt.2.www.newway9 com From vicinity at gdhlzj.com Fri Jul 31 13:11:05 2009 From: vicinity at gdhlzj.com (Grotzke) Date: Fri, 31 Jul 2009 12:11:05 -0100 Subject: [Fedora-suds-list] inflecting Message-ID: 66 Steeps To A Sensual Seduction.www.molopo .net