From steffen.oschatz at googlemail.com Fri Feb 6 13:52:08 2009 From: steffen.oschatz at googlemail.com (Steffen Oschatz) Date: Fri, 6 Feb 2009 14:52:08 +0100 Subject: [Fedora-suds-list] Integration into a async framework In-Reply-To: <4984488D.3080407@igc.gulbenkian.pt> References: <4984488D.3080407@igc.gulbenkian.pt> Message-ID: <9244db460902060552u2c852156ha650365431f89811@mail.gmail.com> Thanks a lot for for example - will try it soon ! On Sat, Jan 31, 2009 at 1:48 PM, Renato Alves wrote: > (...) From rizwan.raza at gmail.com Sat Feb 7 07:43:56 2009 From: rizwan.raza at gmail.com (Rizwan Raza) Date: Sat, 7 Feb 2009 01:43:56 -0600 Subject: [Fedora-suds-list] handling byte array returned from a web service method call Message-ID: <65e8f6b40902062343u100db218l47335dd7d0d37512@mail.gmail.com> Hi folks: Can SUDS handle a byte array from a web service method invocation. Following is the contract defined in a web service implemented in C# byte[] GetCompressed() Thanks - rizwan -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcauthorn at gmail.com Sat Feb 7 19:13:44 2009 From: mcauthorn at gmail.com (Matt C) Date: Sat, 7 Feb 2009 14:13:44 -0500 Subject: [Fedora-suds-list] TypeNotFound issue Message-ID: <42ea979e0902071113k7d3a82bdocefe08a487041753@mail.gmail.com> Thanks for the project - it looks extremely promising. I've read the tips and tricks section and a few other resources, but I can't seem to get past the cursed : Type not found: '(Array, http://schemas.xmlsoap.org /soap/encoding/, )' error. At this point I'm just trying to cleanly load a WSDL and poke around a bit to see how well suds handles arrays. Here's a tiny snippet: In [69]: from suds.client import Client In [70]: from suds.xsd.sxbasic import Import In [71]: Import.bind("http://schemas.xmlsoap.org/soap/encoding/") In [72]: url = 'file:\\c:\\users\\tester\\Desktop\\python_stuff\\LocalLB.Pool.wsdl' In [73]: Client(url) ...which generates the error, as opposed to an object. Any suggestions would be most welcome. I've attached the suspect WSDL as well. Regards, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: LocalLB.Pool.wsdl Type: text/xml Size: 190440 bytes Desc: not available URL: From Stefan.Witzel at zvw.uni-goettingen.de Thu Feb 19 13:21:58 2009 From: Stefan.Witzel at zvw.uni-goettingen.de (Witzel, Stefan) Date: Thu, 19 Feb 2009 14:21:58 +0100 Subject: [Fedora-suds-list] ArrayOfString Message-ID: <4BB81F3815C1B146881AA04D942EEFED024C2E@UVWEXC-VS1.zv.uni-goettingen.de> Hello, sorry about this newbie question: One oft the arguments of a service has type ArrayOfString. @ @ @ @ @ I don't know how to assign a value to a variable of this type. client = Client(url) altNames = client.factory.create('ArrayOfString') Assigning ['string'] sends to the server string with answer: Application failed during request deserialization: Unspecified namespace for type 'ArrayOfString' Thanks in advance. Stefan _______________________________________ Georg-August-Universit?t G?ttingen Stiftung ?ffentlichen Rechts Stabsstelle Datenverarbeitung Go?lerstra?e 5/7 37073 G?ttingen Telefon 0551 / 39-4160 Fax 0551 / 39-184160 E-Mail stefan.witzel at zvw.uni-goettingen.de -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5991 bytes Desc: not available URL: From cameron.davison at gmail.com Sun Feb 22 23:02:52 2009 From: cameron.davison at gmail.com (Cameron) Date: Sun, 22 Feb 2009 17:02:52 -0600 Subject: [Fedora-suds-list] Spam on TRAC, activity? Problem with W3C CSS Message-ID: <49A1D99C.7090208@gmail.com> I noticed a lot of spam on the TRAC and was wondering if SUDS is still actively being worked on? I am trying to use it with the W3C CSS validator. The WSDL is located at http://www.w3.org/2005/09/css-validator.wsdl I think that it uses SOAP 1.2? Is that compatible with SUDS? I keep getting Type not found: '(encodingStyle, http://www.w3.org/2003/05/soap-envelope, ) even though I used Import.bind('http://www.w3.org/2003/05/soap-envelope/') which has the encodingStyle element defined inside it. I cannot get a logger to tell me if the Import.bind() method is doing anything. Thanks, Cameron From dalloliogm at gmail.com Mon Feb 23 10:55:36 2009 From: dalloliogm at gmail.com (Giovanni Marco Dall'Olio) Date: Mon, 23 Feb 2009 11:55:36 +0100 Subject: [Fedora-suds-list] Type not found: '(Array, ..)' on many independent web services Message-ID: <5aa3b3570902230255v126141daic3ece775070a3d13@mail.gmail.com> Hi people, I have received many times the same error "Type not found: '(Array, http://schemas.xmlsoap.org/soap/encoding/, )", when using suds to interrogate some third party wsdl services. I have also posted a bug report here: - https://fedorahosted.org/suds/ticket/200 however, hey, please check your bug tracker because it seems to have been spammed. Here are the wsdl from which I get the Type not found error: - http://soap.genome.jp/KEGG.wsdl - http://www.reactome.org:8080/caBIOWebApp/services/caBIOService?wsdl - those here: http://bond.unleashedinformatics.com/Action? (go to 'Downloads - WSDL APIs') From jortel at redhat.com Mon Feb 23 14:56:14 2009 From: jortel at redhat.com (Jeff Ortel) Date: Mon, 23 Feb 2009 09:56:14 -0500 Subject: [Fedora-suds-list] Type not found: '(Array, ..)' on many independent web services In-Reply-To: <5aa3b3570902230255v126141daic3ece775070a3d13@mail.gmail.com> References: <5aa3b3570902230255v126141daic3ece775070a3d13@mail.gmail.com> Message-ID: <49A2B90E.4090204@redhat.com> Giovanni Marco Dall'Olio wrote: > Hi people, > > I have received many times the same error "Type not found: '(Array, > http://schemas.xmlsoap.org/soap/encoding/, )", when using suds to > interrogate some third party wsdl services. This is a schema import issue that is address in: https://fedorahosted.org/suds/wiki/TipsAndTricks under heading: "Schema - TypeNotFound". Note: Since the problem is so wide spread, 0.3.4 automatically does the bind(). > > I have also posted a bug report here: > - https://fedorahosted.org/suds/ticket/200 > > however, hey, please check your bug tracker because it seems to have > been spammed. This is big problem on all Fedora Trac projects :-( We're working to resolve the problem. > > Here are the wsdl from which I get the Type not found error: > - http://soap.genome.jp/KEGG.wsdl > - http://www.reactome.org:8080/caBIOWebApp/services/caBIOService?wsdl > - those here: http://bond.unleashedinformatics.com/Action? (go to > 'Downloads - WSDL APIs') > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list From dalloliogm at gmail.com Mon Feb 23 15:23:24 2009 From: dalloliogm at gmail.com (Giovanni Marco Dall'Olio) Date: Mon, 23 Feb 2009 16:23:24 +0100 Subject: [Fedora-suds-list] Type not found: '(Array, ..)' on many independent web services In-Reply-To: <49A2B90E.4090204@redhat.com> References: <5aa3b3570902230255v126141daic3ece775070a3d13@mail.gmail.com> <49A2B90E.4090204@redhat.com> Message-ID: <5aa3b3570902230723o79a74b1ev7fa49beb3036eb08@mail.gmail.com> On Mon, Feb 23, 2009 at 3:56 PM, Jeff Ortel wrote: > > > Giovanni Marco Dall'Olio wrote: >> >> Hi people, >> >> I have received many times the same error "Type not found: '(Array, >> http://schemas.xmlsoap.org/soap/encoding/, )", when using suds to >> interrogate some third party wsdl services. > > This is a schema import issue that is address in: > https://fedorahosted.org/suds/wiki/TipsAndTricks under heading: "Schema - > TypeNotFound". > > Note: Since the problem is so wide spread, 0.3.4 automatically does the > bind(). Thank you very much for the quick answer! I can confirm you that with 0.3.4 it works well. One last thing: I am going to report this problem to the respective maintainers of the various wsdls. >> >> I have also posted a bug report here: >> - https://fedorahosted.org/suds/ticket/200 >> >> however, hey, please check your bug tracker because it seems to have >> been spammed. > > This is big problem on all Fedora Trac projects :-( > > We're working to resolve the problem. > >> >> Here are the wsdl from which I get the Type not found error: >> - http://soap.genome.jp/KEGG.wsdl >> - http://www.reactome.org:8080/caBIOWebApp/services/caBIOService?wsdl >> - those here: http://bond.unleashedinformatics.com/Action? (go to >> 'Downloads - WSDL APIs') >> >> _______________________________________________ >> fedora-suds-list mailing list >> fedora-suds-list at redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-suds-list > -- My blog on bioinformatics (now in English): http://bioinfoblog.it From eric at rf.com Wed Feb 25 08:35:25 2009 From: eric at rf.com (Eric Chamberlain) Date: Wed, 25 Feb 2009 00:35:25 -0800 Subject: [Fedora-suds-list] Does suds support signed SOAP messages? Message-ID: <2048C4E9-249E-41C0-ADFA-12D27E601B53@rf.com> Hello, We need our SOAP client to sign the SOAP message header with an X.509 certificate. Does suds have support for signing SOAP messages? -- Eric Chamberlain From mcauthorn at gmail.com Wed Feb 25 12:17:01 2009 From: mcauthorn at gmail.com (Matt C) Date: Wed, 25 Feb 2009 07:17:01 -0500 Subject: [Fedora-suds-list] Type not found: '(Array, ..)' on many independent web services In-Reply-To: <5aa3b3570902230723o79a74b1ev7fa49beb3036eb08@mail.gmail.com> References: <5aa3b3570902230255v126141daic3ece775070a3d13@mail.gmail.com> <49A2B90E.4090204@redhat.com> <5aa3b3570902230723o79a74b1ev7fa49beb3036eb08@mail.gmail.com> Message-ID: <42ea979e0902250417n64774c37pc2f8921602256613@mail.gmail.com> For some reason I simply can't get past this error. I am running 0.3.3 and I've tried all of the manual bind tricks that I've been able to dig up. Any suggestions would be most appreciated. The WSDL in question is attached. Regards, Matt On Mon, Feb 23, 2009 at 10:23 AM, Giovanni Marco Dall'Olio < dalloliogm at gmail.com> wrote: > On Mon, Feb 23, 2009 at 3:56 PM, Jeff Ortel wrote: > > > > > > Giovanni Marco Dall'Olio wrote: > >> > >> Hi people, > >> > >> I have received many times the same error "Type not found: '(Array, > >> http://schemas.xmlsoap.org/soap/encoding/, )", when using suds to > >> interrogate some third party wsdl services. > > > > This is a schema import issue that is address in: > > https://fedorahosted.org/suds/wiki/TipsAndTricks under heading: "Schema > - > > TypeNotFound". > > > > Note: Since the problem is so wide spread, 0.3.4 automatically does the > > bind(). > > Thank you very much for the quick answer! > I can confirm you that with 0.3.4 it works well. > > One last thing: I am going to report this problem to the respective > maintainers of the various wsdls. > > > >> > >> I have also posted a bug report here: > >> - https://fedorahosted.org/suds/ticket/200 > >> > >> however, hey, please check your bug tracker because it seems to have > >> been spammed. > > > > This is big problem on all Fedora Trac projects :-( > > > > We're working to resolve the problem. > > > >> > >> Here are the wsdl from which I get the Type not found error: > >> - http://soap.genome.jp/KEGG.wsdl > >> - http://www.reactome.org:8080/caBIOWebApp/services/caBIOService?wsdl > >> - those here: http://bond.unleashedinformatics.com/Action? (go to > >> 'Downloads - WSDL APIs') > >> > >> _______________________________________________ > >> fedora-suds-list mailing list > >> fedora-suds-list at redhat.com > >> https://www.redhat.com/mailman/listinfo/fedora-suds-list > > > > > > -- > > My blog on bioinformatics (now in English): http://bioinfoblog.it > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: LocalLB.Pool.wsdl Type: text/xml Size: 190440 bytes Desc: not available URL: From jortel at redhat.com Wed Feb 25 13:57:17 2009 From: jortel at redhat.com (Jeff Ortel) Date: Wed, 25 Feb 2009 08:57:17 -0500 Subject: [Fedora-suds-list] Type not found: '(Array, ..)' on many independent web services In-Reply-To: <42ea979e0902250417n64774c37pc2f8921602256613@mail.gmail.com> References: <5aa3b3570902230255v126141daic3ece775070a3d13@mail.gmail.com> <49A2B90E.4090204@redhat.com> <5aa3b3570902230723o79a74b1ev7fa49beb3036eb08@mail.gmail.com> <42ea979e0902250417n64774c37pc2f8921602256613@mail.gmail.com> Message-ID: <49A54E3D.90201@redhat.com> Hey Matt, I'll look into this today. -jeff Matt C wrote: > For some reason I simply can't get past this error. I am running 0.3.3 > and I've tried all of the manual bind tricks that I've been able to dig > up. Any suggestions would be most appreciated. The WSDL in question is > attached. > > Regards, > Matt > > On Mon, Feb 23, 2009 at 10:23 AM, Giovanni Marco Dall'Olio > > wrote: > > On Mon, Feb 23, 2009 at 3:56 PM, Jeff Ortel > wrote: > > > > > > Giovanni Marco Dall'Olio wrote: > >> > >> Hi people, > >> > >> I have received many times the same error "Type not found: '(Array, > >> http://schemas.xmlsoap.org/soap/encoding/, )", when using suds to > >> interrogate some third party wsdl services. > > > > This is a schema import issue that is address in: > > https://fedorahosted.org/suds/wiki/TipsAndTricks under heading: > "Schema - > > TypeNotFound". > > > > Note: Since the problem is so wide spread, 0.3.4 automatically > does the > > bind(). > > Thank you very much for the quick answer! > I can confirm you that with 0.3.4 it works well. > > One last thing: I am going to report this problem to the respective > maintainers of the various wsdls. > > > >> > >> I have also posted a bug report here: > >> - https://fedorahosted.org/suds/ticket/200 > >> > >> however, hey, please check your bug tracker because it seems to have > >> been spammed. > > > > This is big problem on all Fedora Trac projects :-( > > > > We're working to resolve the problem. > > > >> > >> Here are the wsdl from which I get the Type not found error: > >> - http://soap.genome.jp/KEGG.wsdl > >> - > http://www.reactome.org:8080/caBIOWebApp/services/caBIOService?wsdl > >> - those here: http://bond.unleashedinformatics.com/Action? (go to > >> 'Downloads - WSDL APIs') > >> > >> _______________________________________________ > >> fedora-suds-list mailing list > >> fedora-suds-list at redhat.com > >> https://www.redhat.com/mailman/listinfo/fedora-suds-list > > > > > > -- > > My blog on bioinformatics (now in English): http://bioinfoblog.it > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list > > > > ------------------------------------------------------------------------ > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list From bellvis at gmail.com Wed Feb 25 23:35:13 2009 From: bellvis at gmail.com (Jonathan Bell) Date: Wed, 25 Feb 2009 18:35:13 -0500 Subject: [Fedora-suds-list] Issue with date type responses interpreted as dateTime Message-ID: I'm using version 0.3.4 to parse UV index values from epa.gov's SunWise SOAP service. The output includes a complex type with 3 values: alert, forecastDate and index. The result XML is: false 2009-02-25 4 The forecastDate is returned as 2009-02-25, which would suggest it be handled as an XDate. The traceback location (line 226) suggests that suds is actually treating it as an XDateTime and splitting on a non-existent "T" character. from suds.client import Client url = 'http://iaspub.epa.gov/uvindexalert/services/UVIndexAlertPort?wsdl' client = Client(url) client.service.getUVIndexAlertByZipCode(in0='37919') Traceback (most recent call last): File "", line 1, in ? File "build/bdist.linux-x86_64/egg/suds/client.py", line 228, in __call__ File "build/bdist.linux-x86_64/egg/suds/client.py", line 367, in call File "build/bdist.linux-x86_64/egg/suds/client.py", line 228, in __call__ File "build/bdist.linux-x86_64/egg/suds/client.py", line 410, in call File "build/bdist.linux-x86_64/egg/suds/client.py", line 468, in invoke File "build/bdist.linux-x86_64/egg/suds/client.py", line 493, in send File "build/bdist.linux-x86_64/egg/suds/client.py", line 525, in succeeded File "build/bdist.linux-x86_64/egg/suds/bindings/binding.py", line 135, in get_reply File "build/bdist.linux-x86_64/egg/suds/bindings/unmarshaller.py", line 302, in process File "build/bdist.linux-x86_64/egg/suds/bindings/unmarshaller.py", line 87, in process File "build/bdist.linux-x86_64/egg/suds/bindings/unmarshaller.py", line 103, in append File "build/bdist.linux-x86_64/egg/suds/bindings/unmarshaller.py", line 180, in append_children File "build/bdist.linux-x86_64/egg/suds/bindings/unmarshaller.py", line 104, in append File "build/bdist.linux-x86_64/egg/suds/bindings/unmarshaller.py", line 404, in append_text File "build/bdist.linux-x86_64/egg/suds/bindings/unmarshaller.py", line 410, in translated File "build/bdist.linux-x86_64/egg/suds/xsd/sxdate.py", line 273, in translate File "build/bdist.linux-x86_64/egg/suds/xsd/sxdate.py", line 226, in toPython ValueError: need more than 1 value to unpack ============= Line 226 in sxdate.py is part of the XDateTime handler, not XDate as expected. Adding a filter to include a time in the output XML, makes the output parseable: from suds.bindings.binding import Binding Binding.replyfilter = (lambda x,y: y.replace('', 'T00:00:00')) client.service.getUVIndexAlertByZipCode(in0='37919') (UVIndexAlertResult){ alert = False forecastDate = 2009-02-25 00:00:00 index = 4 } -- Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: From lynton.grice at logosworld.com Wed Feb 25 19:19:00 2009 From: lynton.grice at logosworld.com (Lynton Grice) Date: Wed, 25 Feb 2009 21:19:00 +0200 Subject: [Fedora-suds-list] Error with WSDL file? Message-ID: <004701c9977d$f05f3f90$d11dbeb0$@grice@logosworld.com> Hi guys, I wonder if you can help me, I am trying to get a particular WSDL file to work and see to be having some bad luck...... Here is the basic code for now.... from suds.client import Client wsdl = "file:///c://DummyData_Out_Async.wsdl" client = Client(wsdl) print client I get an error like follows: "NoneType" object has no attribute 'get' Can anyone tell me why the attached WSDL file doesn't work with SUBS? Please find WSDL file attached.... Thanks for the help ;-) Lynton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 25673 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DummyData_Out_Async.wsdl Type: text/xml Size: 5056 bytes Desc: not available URL: From bal892bla at yahoo.de Fri Feb 27 09:04:37 2009 From: bal892bla at yahoo.de (=?iso-8859-1?Q?LLl_l=F6l?=) Date: Fri, 27 Feb 2009 01:04:37 -0800 (PST) Subject: [Fedora-suds-list] Type not found: '(Array, ..)' on many independent web services Message-ID: <342324.1538.qm@web24705.mail.ird.yahoo.com> Unfortunately I have the same problem: suds-0.3.4-py2.5 import suds.client url="http://api.google.com/GoogleSearch.wsdl" client = suds.client.Client(url) Traceback (most recent call last): ? File "", line 1, in ? File "build/bdist.linux-i686/egg/suds/client.py", line 103, in __init__ ? File "build/bdist.linux-i686/egg/suds/wsdl.py", line 192, in __init__ ? File "build/bdist.linux-i686/egg/suds/wsdl.py", line 253, in build_schema ? File "build/bdist.linux-i686/egg/suds/xsd/schema.py", line 92, in load ? File "build/bdist.linux-i686/egg/suds/xsd/schema.py", line 291, in dereference ? File "build/bdist.linux-i686/egg/suds/xsd/sxbasic.py", line 407, in dependencies suds.TypeNotFound: Type not found: '(Array, http://schemas.xmlsoap.org/soap/encoding/, ) -------------- next part -------------- An HTML attachment was scrubbed... URL: From jortel at redhat.com Fri Feb 27 13:29:04 2009 From: jortel at redhat.com (Jeff Ortel) Date: Fri, 27 Feb 2009 08:29:04 -0500 Subject: [Fedora-suds-list] Type not found: '(Array, ..)' on many independent web services In-Reply-To: <42ea979e0902250417n64774c37pc2f8921602256613@mail.gmail.com> References: <5aa3b3570902230255v126141daic3ece775070a3d13@mail.gmail.com> <49A2B90E.4090204@redhat.com> <5aa3b3570902230723o79a74b1ev7fa49beb3036eb08@mail.gmail.com> <42ea979e0902250417n64774c37pc2f8921602256613@mail.gmail.com> Message-ID: <49A7EAA0.905@redhat.com> This WSDL is broken in the same way as Matt's. The ResultElementArray definition references 'Array' from the schema defining the http://schemas.xmlsoap.org/soap/encoding/ namespace but does *not* import it. I added at line #24 and attached the patched wsdl. You can do something like the following as a work around: > url = 'file:/// client = Client(url) I may need to enhance suds with a way to mitigate broken wsdls. Regards, -jeff > Unfortunately I have the same problem: > suds-0.3.4-py2.5 > > import suds.client > url="http://api.google.com/GoogleSearch.wsdl" > client = suds.client.Client(url) > > Traceback (most recent call last): > File "", line 1, in > File "build/bdist.linux-i686/egg/suds/client.py", line 103, in __init__ > File "build/bdist.linux-i686/egg/suds/wsdl.py", line 192, in __init__ > File "build/bdist.linux-i686/egg/suds/wsdl.py", line 253, in build_schema > File "build/bdist.linux-i686/egg/suds/xsd/schema.py", line 92, in load > File "build/bdist.linux-i686/egg/suds/xsd/schema.py", line 291, in dereference > File "build/bdist.linux-i686/egg/suds/xsd/sxbasic.py", line 407, in dependencies > suds.TypeNotFound: Type not found: '(Array, http://schemas.xmlsoap.org/soap/encoding/, ) Re: [Fedora-suds-list] Type not found: '(Array, ..)' on many independent web services > > Hey Matt, > > Found the problem. The Import.bind() isn't helping because the WSDL is broken in a > different way. It is referencing the 'Array' type defined in the schema for the soap > section 5 encoding namespace ( http://schemas.xmlsoap.org/soap/encoding/ ) but does *not* > import it. > > Properly importing the namespace by adding: > > at line #24 in the WSDL fixes the WSDL. (see attached). > > As mentioned, 0.3.4 automatically binds the 'http://schemas.xmlsoap.org/soap/encoding/' > namespace to the schemaLocation="http://schemas.xmlsoap.org/soap/encoding/". So, if you're > using suds 0.3.4+, you no longer need to manually bind the namespace. > > Hope this helps, > > Jeff Matt C wrote: > For some reason I simply can't get past this error. I am running 0.3.3 > and I've tried all of the manual bind tricks that I've been able to dig > up. Any suggestions would be most appreciated. The WSDL in question is > attached. > > Regards, > Matt > > On Mon, Feb 23, 2009 at 10:23 AM, Giovanni Marco Dall'Olio > > wrote: > > On Mon, Feb 23, 2009 at 3:56 PM, Jeff Ortel > wrote: > > > > > > Giovanni Marco Dall'Olio wrote: > >> > >> Hi people, > >> > >> I have received many times the same error "Type not found: '(Array, > >> http://schemas.xmlsoap.org/soap/encoding/, )", when using suds to > >> interrogate some third party wsdl services. > > > > This is a schema import issue that is address in: > > https://fedorahosted.org/suds/wiki/TipsAndTricks under heading: > "Schema - > > TypeNotFound". > > > > Note: Since the problem is so wide spread, 0.3.4 automatically > does the > > bind(). > > Thank you very much for the quick answer! > I can confirm you that with 0.3.4 it works well. > > One last thing: I am going to report this problem to the respective > maintainers of the various wsdls. > > > >> > >> I have also posted a bug report here: > >> - https://fedorahosted.org/suds/ticket/200 > >> > >> however, hey, please check your bug tracker because it seems to have > >> been spammed. > > > > This is big problem on all Fedora Trac projects :-( > > > > We're working to resolve the problem. > > > >> > >> Here are the wsdl from which I get the Type not found error: > >> - http://soap.genome.jp/KEGG.wsdl > >> - > http://www.reactome.org:8080/caBIOWebApp/services/caBIOService?wsdl > >> - those here: http://bond.unleashedinformatics.com/Action? (go to > >> 'Downloads - WSDL APIs') > >> > >> _______________________________________________ > >> fedora-suds-list mailing list > >> fedora-suds-list at redhat.com > >> https://www.redhat.com/mailman/listinfo/fedora-suds-list > > > > > > -- > > My blog on bioinformatics (now in English): http://bioinfoblog.it > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list > > > > ------------------------------------------------------------------------ > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list -------------- next part -------------- A non-text attachment was scrubbed... Name: LocalLB.Pool.wsdl.xml Type: text/xml Size: 190516 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: GoogleSearch.wsdl.xml Type: text/xml Size: 7557 bytes Desc: not available URL: From bal892bla at yahoo.de Fri Feb 27 08:53:42 2009 From: bal892bla at yahoo.de (=?iso-8859-1?Q?LLl_l=F6l?=) Date: Fri, 27 Feb 2009 00:53:42 -0800 (PST) Subject: [Fedora-suds-list] subscribe Message-ID: <162839.1853.qm@web24712.mail.ird.yahoo.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jortel at redhat.com Fri Feb 27 13:46:05 2009 From: jortel at redhat.com (Jeff Ortel) Date: Fri, 27 Feb 2009 08:46:05 -0500 Subject: [Fedora-suds-list] Type not found: '(Array, ..)' on many independent web services In-Reply-To: <42ea979e0902262041w295ae93ds2a001f2ca269ded9@mail.gmail.com> References: <5aa3b3570902230255v126141daic3ece775070a3d13@mail.gmail.com> <49A2B90E.4090204@redhat.com> <5aa3b3570902230723o79a74b1ev7fa49beb3036eb08@mail.gmail.com> <42ea979e0902250417n64774c37pc2f8921602256613@mail.gmail.com> <49A59FF5.6010501@redhat.com> <42ea979e0902261247yd8c1dddu48b409ea0b1672ed@mail.gmail.com> <42ea979e0902262041w295ae93ds2a001f2ca269ded9@mail.gmail.com> Message-ID: <49A7EE9D.9090206@redhat.com> Matt, The factory.create() method takes a (.) separated path. The path is used to reference elements nested elements such as: Element 'C' is not a top level element so the only way to create one is using the following path: > > client.factory.create('A.B.C') > But, to handle names containing (.), I'll need to add an optional param (maybe: pathseparator) to create(). I'll CC you on the ticket so you'll get an email when it's committted. Regards, Jeff Matt C wrote: > It looks like I'm working, at least for the getter methods. I'm flailing > now with figuring out how to deal with my types correctly...I suspect > that the types defined with dots "." in them may cause me grief: > > Calling the create() method expects the following types: > create(Common.StringSequence pool_names, LocalLB.LBMethodSequence > lb_methods, Common.IPPortDefinitionSequenceSequence members, ) > > In [198]: mem = c.factory.create('Common.IPPortDefinition') > DEBUG:suds.resolver:searching schema for (Common) > DEBUG:suds.xsd.query:('Common', u'urn:iControl'), not-found > DEBUG:suds.xsd.query:('Common', u'urn:iControl'), not-found > ERROR:suds.resolver:(Common) not-found > ERROR:suds.resolver:path: "Common.IPPortDefinition", not-found > > Any suggestions? Once I figure out how to deal with these types > correctly (with fingers crossed that Suds is OK with the Soap-Enc: > Arrays defined in the WSDL) I think we may be off to the races. > > Regards, > Matt > > > > On Thu, Feb 26, 2009 at 3:47 PM, Matt C > wrote: > > Jeff: Many thanks. I'll look into getting the WSDL changed. In the > meantime I'm eager to start working with the library - thanks for > the work! > > Regards, > Matt > > > On Wed, Feb 25, 2009 at 2:45 PM, Jeff Ortel > wrote: > > Hey Matt, > > Found the problem. The Import.bind() isn't helping because the > WSDL is broken in a different way. It is referencing the > 'Array' type defined in the schema for the soap section 5 > encoding namespace ( http://schemas.xmlsoap.org/soap/encoding/ ) > but does *not* import it. > > Properly importing the namespace by adding: > namespace='http://schemas.xmlsoap.org/soap/encoding/'/ > > > at line #24 in the WSDL fixes the WSDL. (see attached). > > As mentioned, 0.3.4 automatically binds the > 'http://schemas.xmlsoap.org/soap/encoding/' namespace to the > schemaLocation="http://schemas.xmlsoap.org/soap/encoding/". So, > if you're using suds 0.3.4+, you no longer need to manually bind > the namespace. > > Hope this helps, > > Jeff > > > Matt C wrote: > > For some reason I simply can't get past this error. I am > running 0.3.3 and I've tried all of the manual bind tricks > that I've been able to dig up. Any suggestions would be most > appreciated. The WSDL in question is attached. > > Regards, > Matt > > On Mon, Feb 23, 2009 at 10:23 AM, Giovanni Marco Dall'Olio > > >> > wrote: > > On Mon, Feb 23, 2009 at 3:56 PM, Jeff Ortel > > >> wrote: > > > > > > Giovanni Marco Dall'Olio wrote: > >> > >> Hi people, > >> > >> I have received many times the same error "Type not > found: '(Array, > >> http://schemas.xmlsoap.org/soap/encoding/, )", when > using suds to > >> interrogate some third party wsdl services. > > > > This is a schema import issue that is address in: > > https://fedorahosted.org/suds/wiki/TipsAndTricks under > heading: > "Schema - > > TypeNotFound". > > > > Note: Since the problem is so wide spread, 0.3.4 > automatically > does the > > bind(). > > Thank you very much for the quick answer! > I can confirm you that with 0.3.4 it works well. > > One last thing: I am going to report this problem to the > respective > maintainers of the various wsdls. > > > >> > >> I have also posted a bug report here: > >> - https://fedorahosted.org/suds/ticket/200 > >> > >> however, hey, please check your bug tracker because > it seems to have > >> been spammed. > > > > This is big problem on all Fedora Trac projects :-( > > > > We're working to resolve the problem. > > > >> > >> Here are the wsdl from which I get the Type not found > error: > >> - http://soap.genome.jp/KEGG.wsdl > >> - > > http://www.reactome.org:8080/caBIOWebApp/services/caBIOService?wsdl > >> - those here: > http://bond.unleashedinformatics.com/Action? (go to > >> 'Downloads - WSDL APIs') > >> > >> _______________________________________________ > >> fedora-suds-list mailing list > >> fedora-suds-list at redhat.com > > > > > >> https://www.redhat.com/mailman/listinfo/fedora-suds-list > > > > > > -- > > My blog on bioinformatics (now in English): > http://bioinfoblog.it > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > > > > > https://www.redhat.com/mailman/listinfo/fedora-suds-list > > > > ------------------------------------------------------------------------ > > > _______________________________________________ > fedora-suds-list mailing list > fedora-suds-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-suds-list > > >