From validating at koiboys.nl Tue Sep 1 10:24:22 2009 From: validating at koiboys.nl (Holler Gregerson) Date: Tue, 01 Sep 2009 12:24:22 +0200 Subject: [Fedora-suds-list] Nooga, and there had met a Confederate soldier w Message-ID: <4A9CF392.8020508@koiboys.nl> Ard found--and bade me enter. My reflections could not have been more gloomy if the celebrated inscription, _Dante_, placed over the gates of hell, had been written above the massive iron door. "All hope abandon, ye who enter here." My feelings were terrible when the jailor turned the key in the lock, secured the heavy iron bar that crossed the door, and left me. Never before had I been locked up as a prisoner, and now it was no trivial matter--a few days or weeks. There was absolutely no hope ahead. I was there as a criminal, and too well did I realize the character of the Southern people, to believe that they would be fastidious about proof. Life is held too cheap in that country to cause them a long delay in its disposal. In that hour, my most distressing thought was of my friends at home, and particularly of my mother--thinking what would be their sorrow when they heard of my ignominious fate--if indeed they ever heard, for I had given an assumed name. That all my young hopes and ambitions, my fond dreams of being useful, should perish, as I then had no doubt they would, on a Southern scaffold, seemed unbearable in the extreme. But only one moment did these thoughts sweep over me; the next they were rejected as not calculated to profit in the least. My first action was to borrow from my Union companion his blankets, of which he had a plentiful -------------- next part -------------- A non-text attachment was scrubbed... Name: exegetical.jpg Type: image/jpeg Size: 9965 bytes Desc: not available URL: From remediable at atryu.com Wed Sep 2 06:13:44 2009 From: remediable at atryu.com (Marta) Date: Wed, 02 Sep 2009 08:13:44 +0200 Subject: [Fedora-suds-list] re in t Message-ID: <4A9E0B43.7030109@atryu.com> Inn were built we used to think it was a long way even up here to the old mine." "Did I ever tell you about the old Negro that owned this mine? Well, he came herein the early days and found a strange yellow outcropping here. He built himself a funny little shanty on the hillside, which he thatched with spruce boughs. Here he spent a good many years of his life, digging. His tunnel caved in soon after he left it, but he did find a little gold for his work. When his provisions gave out, he would take his old mule, which was his only companion, tramp into the city, sell his little bag of gold dust, and buy -------------- next part -------------- A non-text attachment was scrubbed... Name: trilobation.jpg Type: image/jpeg Size: 9424 bytes Desc: not available URL: From emulatively at foxsgemshop.com Thu Sep 3 01:41:41 2009 From: emulatively at foxsgemshop.com (McCandless) Date: Thu, 03 Sep 2009 03:41:41 +0200 Subject: [Fedora-suds-list] ot have be Message-ID: <4A9F1C01.9070108@foxsgemshop.com> E brick-mason builds, but staggers up the ladder with a heavier load than bricks,--the soldier upon his back. The symbols of nations are still the lion, the eagle and the wolf. Some political leaders even yet talk about the necessity of an occasional war to put boys upon their mettle, as if invention, the building of railways, the founding of cities, the fighting of economic and social wrongs would not put a man upon his mettle! To put a German on one side of a fence and a Frenchman on the other, and have one peasant empty his shotgun into the bowels of the other is about as noble as going out into a yard and shooting a Jersey cow. The best way to protect a nation is to build boys into men, through the processes of productive industry. Machine gun and dreadnought will soon be as obsolete in the presence of arbitration and the court at the Hague as an ox-cart is obsolete in the presence of a Pullman palace car. Wendell Phillips once said that Lord Bacon had a right to lay his hand on the steam engine and say to Watt: "This engine is mine; I gave you the method." So Charles Sumner, after sixty-five years, has a right to stand yonder at the entrance of the Parliament House of Peace, now being completed in the capital of Holland, and say: "I laid the foundation stones of this structure and started a war against war." This oration of Sumner's on "The True Grandeur of Nations" made him a most unpopular figure at home, but Europe soon called for his speech. It was translated into many languages, two hundred and fifty-thousand copies were published and sold, and for the time Sumner was the most talked of man of the year. Now the one man who was not on the defensive, who was not content to merely stay the forward progress of slavery, but insisted on driving it back into the Gulf and ultimately into the sea, to be drowned forever, was Charles Sumner, with -------------- next part -------------- A non-text attachment was scrubbed... Name: philibeg.jpg Type: image/jpeg Size: 9952 bytes Desc: not available URL: From throttlehold at kno-tech.nl Fri Sep 4 02:19:17 2009 From: throttlehold at kno-tech.nl (Wadden) Date: Fri, 04 Sep 2009 04:19:17 +0200 Subject: [Fedora-suds-list] . Ladies' Miss'y Soc., Bbl. of C., _for Athens Message-ID: <4AA07811.9080704@kno-tech.nl> , _for Student Aid, Indian Sch. Santee Agency, Neb._ ...35.00 Thomaston. Sab. Sch. of Cong. Ch., _for Sch'p, Indian Sch., Santee Agency. Neb._ ...35.00 Torrington. Helpmeet Circle of King's Daughters, Third Cong. Ch., Bbl. of C., _for Williamsburg, Ky._ Washington. Sab. Sch. of Cong. Ch., _for Student Aid, Indian Sch., Santee Agency, Neb._ ..25.00 Waterbury. Mission Circle, Second Cong. Ch., _for Indian Sch'p._ ...70.00 West Cornwall. Second Cong. Ch. ...39.00 Westford. Cong. Ch. ...4.00 West Suffield. Cong. Ch. and Soc. ...13.00 Wethersfield. Miss J.C. Francis' S.S. Class, _for Rosebud Indian M._, and to const. ARTHUR W. HOWARD L.M. ...30.00 ----. "A Friend in Connecticut," _for Dining Hall, Indian Sch. Santee Agency, Neb._ ..100.00 ----. ----, _for Hope Indian Station_ ...75.00 Woman's Home Mission'y Union of Conn., by Mrs. D. Wilder Smith, Sec. Naugatuck. Cong. Ch., _for Conn. Ind'l Sch., Ga._ ...35.00 New Haven. College St. Ch., Mrs. Cowles, _for Conn. Ind'l Sch., Ga._ ...35.00 ------- 70.00 ------- $3,804.99 ESTATE. Darien. Estate of Rev. Ezra D. Kinney, by J.C. Kinney, Executor ...100.00 -------- $3,904.99 NEW YORK, $858.98. Binghamton, Mrs. J.L. -------------- next part -------------- A non-text attachment was scrubbed... Name: stroker.jpg Type: image/jpeg Size: 9889 bytes Desc: not available URL: From florian at apolloner.eu Fri Sep 4 12:00:24 2009 From: florian at apolloner.eu (Florian Apolloner) Date: Fri, 04 Sep 2009 14:00:24 +0200 Subject: [Fedora-suds-list] Convert soapenv:Fault/detail tags to objects Message-ID: <4AA10158.9050600@apolloner.eu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I do have a this wsdl: http://paste.pocoo.org/show/RlVtVjjqtAYW1BzTyMOB/ and this error: http://paste.pocoo.org/show/yhobsFVuTYyd7dbFnXwM/ Now I wonder whats the best way to get the error message and code out of the detail/fault\d tag, cause the tag varies depending on the exception. Any hints? Thx, Florian Apolloner -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqhAVUACgkQVRxnRmTdpN3J2QCgu2vVFcPMbroxEZ6gnR7lxgz2 eeAAn3xb/12k+D5DH126F9mQDANKoA19 =tCgZ -----END PGP SIGNATURE----- From tim at tim-smith.us Mon Sep 7 06:27:28 2009 From: tim at tim-smith.us (Tim Smith) Date: Mon, 7 Sep 2009 02:27:28 -0400 Subject: [Fedora-suds-list] Attributes on wrapper element Message-ID: <68ce68a60909062327v5f4fdefat329e607f871ad4ea@mail.gmail.com> Hello! I'm running into a problem with Exchange Web Services where the wrapper element for a method invocation has a mandatory attribute that I can't figure out how to twiddle with suds. More concretely, I'm trying to make a web services call that looks like: ?? ?? ? ? ?? ? ? ? ... child elements .... ?? ? ? ?? and I can't figure out how to make suds generate the xml right. In particular, getCalendarView = client.service.FindItem(_Traversal='shallow', ...) does not work. This looks like an awful lot like ticket 21 (https://fedorahosted.org/suds/ticket/21). I went back into the changelogs and dove into the source a bit since it was suggested that there had been a feature enhancement to cover this since; I didn't see anything promising. suds.bindings.document.Document.param_defs doesn't return any of the wrapper-element attributes, so it doesn't look like there's any opportunity for anything upstream of that to affect them. Is there syntax for this that I'm missing somewhere? This might also be related to the problem Ceser wrote about a few days ago. cheers, tim From nstudt at ku.edu Thu Sep 10 15:16:34 2009 From: nstudt at ku.edu (Nicholas Studt) Date: Thu, 10 Sep 2009 10:16:34 -0500 Subject: [Fedora-suds-list] Performance problem Message-ID: <1252595794.5247.12.camel@ben> The version of suds. - 0.3.6 and 0.3.7 (tried both) A public link or copy of the WSDL. - http://sviis15108.ksde.org/kids_data/kids_webservice.asmx?WSDL A description of the problem including sample code (if possible). Everything works, however the amount of time that it takes for client.service.() to return exceeds the transport time by at least a minute for one function, another ran for an hour before I killed the process. I was able to see that transport time from turning on logging, but I haven't found the right combination of logging to find what is causing the slowdown after the http request is complete. The function that takes a minute has about 403 records with 9 elements each. The one that never returned had 2979 records with 12 elements each. client = Client(options.wsdl) token = client.factory.create('AuthenticationSoapHeader') token.Username = username token.Password = b64encode(hashlib.md5(password).digest()) client.set_options(soapheaders=token) print "Start: %s" % datetime.now() result = client.service.get_Organizations() print "End: %s" % datetime.now() Any help or suggestions would be appreciated. -- Nicholas Studt From frantzcj at gmail.com Thu Sep 10 16:00:25 2009 From: frantzcj at gmail.com (Chris Frantz) Date: Thu, 10 Sep 2009 11:00:25 -0500 Subject: [Fedora-suds-list] Suds memory footprint Message-ID: Hello, I would like to use suds to talk to several SOAP services, each using the same WSDL. The wsdl file is rather large (about 500K) and translates to about 50M of memory once parsed. If I do this: c1 = Client('file:myservice.wsdl) c1.set_options(location="https://addr1/soap") c2 = Client('file:myservice.wsdl) c2.set_options(location="https://addr2/soap") (etc) Then each Client instance adds about 50M to my program's memory footprint. Is there any way to parse the WSDL once and create several client objects based on the already-parsed file? A cursory inspection of the Client code suggests I might be able to create the first Client() and then make new instances of client that reference the wsdl, factory and sd members of the original, but contains different Options and possibly it's own ServiceSelector. Suggestions or comments? --Chris From jortel at redhat.com Thu Sep 10 20:37:57 2009 From: jortel at redhat.com (Jeff Ortel) Date: Thu, 10 Sep 2009 15:37:57 -0500 Subject: [Fedora-suds-list] Suds memory footprint In-Reply-To: References: Message-ID: <4AA963A5.7030807@redhat.com> On 09/10/2009 11:00 AM, Chris Frantz wrote: > Hello, > > I would like to use suds to talk to several SOAP services, each using > the same WSDL. The wsdl file is rather large (about 500K) and > translates to about 50M of memory once parsed. > > If I do this: > c1 = Client('file:myservice.wsdl) > c1.set_options(location="https://addr1/soap") > c2 = Client('file:myservice.wsdl) > c2.set_options(location="https://addr2/soap") > (etc) > > Then each Client instance adds about 50M to my program's memory > footprint. Is there any way to parse the WSDL once and create > several client objects based on the already-parsed file? Not really. > > A cursory inspection of the Client code suggests I might be able to > create the first Client() and then make new instances of client that > reference the wsdl, factory and sd members of the original, but > contains different Options and possibly it's own ServiceSelector. This approach is your best bet. Let me tweak a few things to facilitate this. > > Suggestions or comments? > --Chris > > _______________________________________________ > 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: smime.p7s Type: application/pkcs7-signature Size: 3360 bytes Desc: S/MIME Cryptographic Signature URL: From brettmadison at gmail.com Mon Sep 14 15:26:44 2009 From: brettmadison at gmail.com (Brett Madison) Date: Mon, 14 Sep 2009 10:26:44 -0500 Subject: [Fedora-suds-list] Dealing with return values that are complex types Message-ID: <7e1b01d50909140826x4ddb3413kd7b0fa3b1db2c431@mail.gmail.com> Hi - I am new to python and suds. The method I am calling returns a complex type - an ArrayOfString. How do I deal with this type in python in order to get my data? Brett -------------- next part -------------- An HTML attachment was scrubbed... URL: From frantzcj at gmail.com Mon Sep 14 15:42:22 2009 From: frantzcj at gmail.com (Chris Frantz) Date: Mon, 14 Sep 2009 10:42:22 -0500 Subject: [Fedora-suds-list] Suds memory footprint In-Reply-To: <4AA963A5.7030807@redhat.com> References: <4AA963A5.7030807@redhat.com> Message-ID: Jeff, Here is a patch that allows new Client instances to be based off an existing Client. This appears to work fine, but it hasn't been extensively tested. Best Regards, --Chris --- client.py 2009-09-14 10:35:35.000000000 -0500 +++ ../../python-suds-0.3.7/suds/client.py 2009-09-10 11:47:22.000000000 -0500 @@ -98,18 +98,27 @@ @param kwargs: keyword arguments. @see: L{Options} """ + base = None + if 'base' in kwargs: + base = kwargs['base'] + del kwargs['base'] options = Options() options.cache = FileCache(days=1) options.transport = HttpAuthenticated() options.set(**kwargs) self.options = options - self.wsdl = Definitions(url, options) - self.factory = Factory(self.wsdl) + if base: + self.wsdl = base.wsdl + self.factory = base.factory + self.sd = base.sd + else: + self.wsdl = Definitions(url, options) + self.factory = Factory(self.wsdl) + self.sd = [] + for s in self.wsdl.services: + sd = ServiceDefinition(self.wsdl, s) + self.sd.append(sd) self.service = ServiceSelector(self, self.wsdl.services) - self.sd = [] - for s in self.wsdl.services: - sd = ServiceDefinition(self.wsdl, s) - self.sd.append(sd) self.messages = dict(tx=None, rx=None) def set_options(self, **kwargs): From tieman at aps.anl.gov Mon Sep 14 20:06:11 2009 From: tieman at aps.anl.gov (Brian Tieman) Date: Mon, 14 Sep 2009 15:06:11 -0500 Subject: [Fedora-suds-list] Problems importing wsdl with suds Message-ID: <4AAEA233.5000309@aps.anl.gov> Warning: noob here! I have a test service method defined as int addComplexType (TwoNumbers input) Where TwoNumbers is defined in XMDComplexTypes.xsd as ... ... When I create a client from the WSDL and print it, the method addComplexType is defined as ... ns1 = "http://XMD.tieman.aps.anl.gov/XDMService" ... ns6 = "http://gov.anl.aps.tieman/XMDComplexTypes" ... methods addComplexType (ns1:input input, ) ... types ns6:TestComplexType ... Where does the type ns1:input come from? It's not defined anywhere in the schema. Do I need to use the ImportDoctor to fix this? How? Going on, I can then use the factory to create a variable of the correct type twoNumbers = client.factor.create ('ns6:TestComplexType') and use that as an argument client.service.addComplexType (twoNumbers) but, of course, it bombs. The error I get is "Invalid element in gov.anl.aps.tieman.XMD.stubs.AddComplexTypeRequestInput - X' Any help would be greatly appreciated! Brian From jortel at redhat.com Mon Sep 14 21:08:35 2009 From: jortel at redhat.com (Jeff Ortel) Date: Mon, 14 Sep 2009 16:08:35 -0500 Subject: [Fedora-suds-list] Problems importing wsdl with suds In-Reply-To: <4AAEA233.5000309@aps.anl.gov> References: <4AAEA233.5000309@aps.anl.gov> Message-ID: <4AAEB0D3.7040309@redhat.com> On 09/14/2009 03:06 PM, Brian Tieman wrote: > Warning: noob here! Hey Brian, Welcome to suds! Have you looked at the documentation here: https://fedorahosted.org/suds/wiki/Documentation You should just be able to do: > > from suds.client import Client > client = Client(url) > print client ############################# this will show you the service, methods etc. > print client.service.addComplexType(2,3) > since x & y are simple types. Although, I'd need to see the wsdl to be sure. Hope this helps, Jeff > > I have a test service method defined as > > int addComplexType (TwoNumbers input) > > Where TwoNumbers is defined in XMDComplexTypes.xsd as > > elementForDefault="quilified" xmlns="http://www.w3.org/2001/XMLSchema" > xmlns:tns="http://gov.anl.aps.tieman/XMDComplexTypes"> > ... > > > > > > > > > ... > > > > When I create a client from the WSDL and print it, the method > addComplexType is defined as > > ... > ns1 = "http://XMD.tieman.aps.anl.gov/XDMService" > ... > ns6 = "http://gov.anl.aps.tieman/XMDComplexTypes" > ... > methods > addComplexType (ns1:input input, ) > ... > types > ns6:TestComplexType > ... > > Where does the type ns1:input come from? It's not defined anywhere in > the schema. Do I need to use the ImportDoctor to fix this? How? > > Going on, I can then use the factory to create a variable of the correct > type > > twoNumbers = client.factor.create ('ns6:TestComplexType') > > and use that as an argument > > client.service.addComplexType (twoNumbers) > > but, of course, it bombs. The error I get is "Invalid element in > gov.anl.aps.tieman.XMD.stubs.AddComplexTypeRequestInput - X' > > Any help would be greatly appreciated! > > Brian > > _______________________________________________ > 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: smime.p7s Type: application/pkcs7-signature Size: 3360 bytes Desc: S/MIME Cryptographic Signature URL: From rneves at mog-solutions.com Thu Sep 17 17:32:02 2009 From: rneves at mog-solutions.com (Rui Neves) Date: Thu, 17 Sep 2009 18:32:02 +0100 Subject: [Fedora-suds-list] Suds client stopped working on Windows 7 Message-ID: <4AB27292.1020604@mog-solutions.com> Hi, I have/had a suds client that always worked just fine using some wsdl "generated" using turbogears's tgwebservices. The problem happened when i tried to run this server on windows 7. after some tweaking everything was running fine (i could access the wsdl and use the web services using external clients like soapUI or from a C# GUI i had developed before) except for the suds client who stopped working. The "client = Client(url)" line still works. It creates the service and shows the methods and types available just fine but every method i try to use just returns the following error: URLError: (this happens for all client.service."method"() i try to use) I was wondering if anyone experienced similar problems. All my previous problems (already resolved) had to do with the windows 7's IPV6 support. Could it be related? Some additional info: I'm using suds 0.3.4 and python 2.5 As for network connections: I have no proxys enabled and i even disabled the firewall to no avail Thanks in advance, Rui Neves __________ Information from ESET NOD32 Antivirus, version of virus signature database 4434 (20090917) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com From jortel at redhat.com Thu Sep 17 17:48:31 2009 From: jortel at redhat.com (Jeff Ortel) Date: Thu, 17 Sep 2009 12:48:31 -0500 Subject: [Fedora-suds-list] Suds client stopped working on Windows 7 In-Reply-To: <4AB27292.1020604@mog-solutions.com> References: <4AB27292.1020604@mog-solutions.com> Message-ID: <4AB2766F.8020505@redhat.com> Hey Rui, Within the wsdl (near the end): the location is the URL for invoking methods. Can you resolve the host? ping the host? Regards, Jeff On 09/17/2009 12:32 PM, Rui Neves wrote: > Hi, > > I have/had a suds client that always worked just fine using some wsdl > "generated" using turbogears's tgwebservices. > The problem happened when i tried to run this server on windows 7. after > some tweaking everything was running fine (i could access the wsdl and > use the web services using external clients like soapUI or from a C# GUI > i had developed before) > except for the suds client who stopped working. The "client = > Client(url)" line still works. It creates the service and shows the > methods and types available just fine but every method i try to use just > returns the following error: > > URLError: (this happens > for all client.service."method"() i try to use) > > I was wondering if anyone experienced similar problems. All my previous > problems (already resolved) had to do with the windows 7's IPV6 support. > Could it be related? > > Some additional info: > > I'm using suds 0.3.4 and python 2.5 > As for network connections: I have no proxys enabled and i even disabled > the firewall to no avail > > Thanks in advance, > Rui Neves > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4434 (20090917) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > _______________________________________________ > 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: smime.p7s Type: application/pkcs7-signature Size: 3360 bytes Desc: S/MIME Cryptographic Signature URL: From peter.ellis at finalhaven.org Mon Sep 21 12:50:48 2009 From: peter.ellis at finalhaven.org (Peter Ellis) Date: Mon, 21 Sep 2009 13:50:48 +0100 Subject: [Fedora-suds-list] WSDL Import issue Message-ID: <636587c50909210550j2d63fabak5485c37dfaeb310e@mail.gmail.com> I am trying to use suds to call teamtrack webservices (wsdl attached) but am having issues importing the wsdl. If I create the suds client having disabled the use of a proxy[0] I can download the wsdl fine but am unable to import http://schemas.xmlsoap.org/soap/encoding/. If I cancel this creation attempt (Ctrl+c or just let it timeout), leave the wsdl in the cache, then enable the proxy and re-create the client everything works. I have dug through the docs for Doctor and ImportDoctor looking for a way to disable the downloading of this file by setting the location to None but have drawn a blank. Is this even close to being the right way to work round this problem? When this client goes in to production it will not have internet access and will therefore be unable to download the imported schema proxy or no. Here is the client setup code I am currently using: from suds.client import Client from suds.transport.http import HttpTransport server = "some.internal.hostname" t = HttpTransport() proxy = urllib2.ProxyHandler({}) opener = urllib2.build_opener(proxy) urllib2.install_opener(opener) t.urlopener = opener logging.basicConfig(level=logging.DEBUG) logging.getLogger('suds.client').setLevel(logging.DEBUG) self.teamtrack = Client("http://%s/gsoap/ttwebservices.wsdl"%server, transport=t) self.teamtrack.set_options( location="http://%s/gsoap/gsoap_ssl.dll?ttwebservices"%server) Any thoughts or other avenues for investigation are appreciated. [0] http://blog.finalhaven.org/2009/01/making-suds-not-use-proxy.html including comments about fixing the import of HttpTransport -- Peter Ellis From Andreas.Maier at lrz.de Fri Sep 25 14:15:11 2009 From: Andreas.Maier at lrz.de (Andreas Maier) Date: Fri, 25 Sep 2009 16:15:11 +0200 Subject: [Fedora-suds-list] HTTP Error 411: Length Required Message-ID: <4ABCD06F.90507@lrz.de> Dear suds developers, I want to convert a perl SOAP client into a python SOAP client. The perl client is initialized like $url = 'https://host:port/cgi-devel/Service.cgi'; $uri = 'https://host/Service'; my $soap = SOAP::Lite -> uri($uri) -> proxy($url); I tried to replicate this in python 2.4.2 with suds 0.3.6 doing from suds.client import Client url="https://host:port/cgi-devel/Service.cgi" client=Client(url) However when running this python script I get the error suds.transport.TransportError: HTTP Error 411: Length Required Is it because of https or what might be the problem? Thank you, Andreas Maier From brogan.forum at me.com Mon Sep 28 18:12:09 2009 From: brogan.forum at me.com (Chris Brogan) Date: Mon, 28 Sep 2009 18:12:09 +0000 Subject: [Fedora-suds-list] Same WS call - one site OK , another errors..!? Message-ID: <5429744908351401562285492662400642778-Webmail@me.com> I am running a Plone site that makes use of suds (0.36) to handle my SOAP requests which generally works well. Allied to this I also have the same set up in a development instance. However, on one particular request, the production site produces errors where the dev site works fine. The following call to a remote service is fine in development but not in production (other calls from the production instance to the same server (ukcolofiniis06) works OK as well): def testPostTime(): url = 'http://ukcolofiniis06/CMSNet/Time/TimeWS/TimeUtilityService.asmx?wsdl' client = Client(url) return client The error returned is as follows: Module suds.client, line 106, in __init__ Module suds.wsdl, line 193, in __init__ Module suds.wsdl, line 255, in build_schema Module suds.xsd.schema, line 90, in load Module suds.xsd.schema, line 277, in open_imports Module suds.xsd.sxbasic, line 874, in open Module suds.xsd.sxbasic, line 892, in download Module suds.sax.parser, line 134, in parse Module xml.sax.expatreader, line 107, in parse Module xml.sax.xmlreader, line 123, in parse Module xml.sax.expatreader, line 211, in feed Module xml.sax.handler, line 38, in fatalError SAXParseException: /tmp/suds/suds-649682136.http:10:2: mismatched tag Any ideas why there could be a difference? (For further info the successful output from the same call on my dev instance is as follows: Suds ( https://fedorahosted.org/suds/ ) version: 0.3.6 GA build: R526-20090624 Service ( TimeUtilityService ) tns="http://cmsopen.com/" Prefixes (3) ns0 = "http://cmsopen.com/" ns1 = "http://cmsopen.com/AbstractTypes" ns2 = "http://schemas.xmlsoap.org/soap/encoding/" Ports (2): (TimeUtilityServiceSoap) Methods (17): BatchTimeEntryDelete(ArrayOfInt batch, xs:boolean removeLocks, xs:boolean unrelease, ) BatchTimeEntryPost(ArrayOfInt timeUnos, TimeEntryPostOptions options, ) BatchTimeEntryRelease(ArrayOfTextPackage batch, ) BatchTimeEntrySetPrinted(ArrayOfInt batch, xs:boolean printed, ) BatchTimeEntryUnrelease(ArrayOfInt batch, ) BatchTimersConvert(ArrayOfTimerData batch, ) BatchTimersDelete(ArrayOfInt batch, ) Create(TimeEntryDataCreate data, xs:boolean lockOnCreate, ) Delete(xs:int timeUno, xs:boolean removeLock, xs:boolean unrelease, ) Release(TextPackage tPkg, ) SetPrinted(xs:int timeUno, xs:boolean printed, ) SubmitTimeEntryBatch(ArrayOfTimeEntryWSPackage batch, xs:boolean lockOnCreate, ) SubmitTimersBatch(ArrayOfTimerWSPackage batch, ) Unrelease(xs:int timeUno, ) Update(xs:int timeUno, TimeEntryDataUpdate data, ) UpdateGeneralDefaultTimekeeper(xs:int uno, ) UpdateTimerDefaultTimekeeper(xs:int uno, ) Types (69): ns2:Array ArrayOfInt ArrayOfTextPackage ArrayOfTimeEntryWSPackage ArrayOfTimerData ArrayOfTimerWSPackage ArrayOfWSReturn ns2:ENTITIES ns2:ENTITY ns2:ID ns2:IDREF ns2:IDREFS ns2:NCName ns2:NMTOKEN ns2:NMTOKENS ns2:NOTATION ns2:Name ns2:QName ns1:StringArray ns2:Struct TextPackage TimeEntryDataBase TimeEntryDataCreate TimeEntryDataUpdate TimeEntryPostOptions TimeEntryUpdatePkg TimeEntryWSPackage TimerData TimerDataBase TimerDataCreate TimerDataUpdate TimerUpdatePkg TimerWSPackage WSReturn ns2:anyURI ns2:arrayCoordinate ns2:base64 ns2:base64Binary ns2:boolean ns2:byte ns2:date ns2:dateTime ns2:decimal ns2:double ns2:duration ns2:float ns2:gDay ns2:gMonth ns2:gMonthDay ns2:gYear ns2:gYearMonth ns2:hexBinary ns2:int ns2:integer ns2:language ns2:long ns2:negativeInteger ns2:nonNegativeInteger ns2:nonPositiveInteger ns2:normalizedString ns2:positiveInteger ns2:short ns2:string ns2:time ns2:token ns2:unsignedByte ns2:unsignedInt ns2:unsignedLong ns2:unsignedShort (TimeUtilityServiceSoap12) Methods (17): BatchTimeEntryDelete(ArrayOfInt batch, xs:boolean removeLocks, xs:boolean unrelease, ) BatchTimeEntryPost(ArrayOfInt timeUnos, TimeEntryPostOptions options, ) BatchTimeEntryRelease(ArrayOfTextPackage batch, ) BatchTimeEntrySetPrinted(ArrayOfInt batch, xs:boolean printed, ) BatchTimeEntryUnrelease(ArrayOfInt batch, ) BatchTimersConvert(ArrayOfTimerData batch, ) BatchTimersDelete(ArrayOfInt batch, ) Create(TimeEntryDataCreate data, xs:boolean lockOnCreate, ) Delete(xs:int timeUno, xs:boolean removeLock, xs:boolean unrelease, ) Release(TextPackage tPkg, ) SetPrinted(xs:int timeUno, xs:boolean printed, ) SubmitTimeEntryBatch(ArrayOfTimeEntryWSPackage batch, xs:boolean lockOnCreate, ) SubmitTimersBatch(ArrayOfTimerWSPackage batch, ) Unrelease(xs:int timeUno, ) Update(xs:int timeUno, TimeEntryDataUpdate data, ) UpdateGeneralDefaultTimekeeper(xs:int uno, ) UpdateTimerDefaultTimekeeper(xs:int uno, ) Types (69): ns2:Array ArrayOfInt ArrayOfTextPackage ArrayOfTimeEntryWSPackage ArrayOfTimerData ArrayOfTimerWSPackage ArrayOfWSReturn ns2:ENTITIES ns2:ENTITY ns2:ID ns2:IDREF ns2:IDREFS ns2:NCName ns2:NMTOKEN ns2:NMTOKENS ns2:NOTATION ns2:Name ns2:QName ns1:StringArray ns2:Struct TextPackage TimeEntryDataBase TimeEntryDataCreate TimeEntryDataUpdate TimeEntryPostOptions TimeEntryUpdatePkg TimeEntryWSPackage TimerData TimerDataBase TimerDataCreate TimerDataUpdate TimerUpdatePkg TimerWSPackage WSReturn ns2:anyURI ns2:arrayCoordinate ns2:base64 ns2:base64Binary ns2:boolean ns2:byte ns2:date ns2:dateTime ns2:decimal ns2:double ns2:duration ns2:float ns2:gDay ns2:gMonth ns2:gMonthDay ns2:gYear ns2:gYearMonth ns2:hexBinary ns2:int ns2:integer ns2:language ns2:long ns2:negativeInteger ns2:nonNegativeInteger ns2:nonPositiveInteger ns2:normalizedString ns2:positiveInteger ns2:short ns2:string ns2:time ns2:token ns2:unsignedByte ns2:unsignedInt ns2:unsignedLong ns2:unsignedShort