debian-suds-jurko/suds
Jurko Gospodnetić 313185c9b4 marshal passed empty object optional params as empty tags
Before, passing an empty suds object as an optional parameter value was treated
the same as not passing that parameter's value or passing it None - the value
would not get marshalled into the constructed SOAP request at all.

Now, user can still not have the value marshalled by passing nothing or None,
but passing an empty object will get marshalled as an actual SOAP request XML
element.

This seems correct as passing an empty object and not passing an object are two
distinct use-cases and there are web-services out there (e.g.
`https://ads.google.com/apis/ads/publisher/v201502/LineItemService?wsdl`) that
do differentiate between the two.

Fixes issue filed on BitBucket under:
`https://bitbucket.org/jurko/suds/issues/81/suds-should-support-an-empty-object`

Kudos to Nicholas Chen (nicholaschen at BitBucket) & Mark Saniscalchi
(msaniscalchi at BitBucket) for reporting the issue and preparing the initial
fix.
2015-07-27 11:04:48 +02:00
..
bindings better comment a potentially confusing local variable 2014-07-08 09:07:03 +02:00
mx marshal passed empty object optional params as empty tags 2015-07-27 11:04:48 +02:00
sax tidy up the suds.sax.attribute module (stylistic) 2014-07-02 22:06:43 +02:00
transport clean up suds.transport.http.HttpTransport.send() code 2014-02-24 15:22:00 +01:00
umx remove unnecessary logger objects 2013-12-26 03:32:33 +01:00
xsd fix looking for a type in an XSD with recursive type definition 2015-07-26 15:05:08 +02:00
__init__.py clean up the suds/__init__.py module - stylistic changes 2014-02-25 08:21:31 +01:00
argparser.py fix typo in the main argparser.py module comment 2014-07-06 19:59:00 +02:00
builder.py remove unnecessary logger objects 2013-12-26 03:32:33 +01:00
cache.py fix bug causing suds.cache.DocumentCache to never cache any documents 2014-06-15 20:12:26 +02:00
client.py Correct some parameter names for epydoc 2014-05-21 16:27:30 +09:00
metrics.py remove unnecessary logger objects 2013-12-26 03:32:33 +01:00
options.py merge work done on the default branch 2014-01-16 12:15:27 +01:00
plugin.py make suds no longer eat up exceptions raised in user registered plugins 2014-06-15 22:01:51 +02:00
properties.py remove unnecessary logger objects 2013-12-26 03:32:33 +01:00
reader.py fix inter-process cache reuse with Python's hash randomization 2014-03-03 18:50:31 +01:00
resolver.py correct try:/except: blocks eating up internal Python exceptions 2014-02-28 00:51:15 +01:00
servicedefinition.py correct try:/except: blocks eating up internal Python exceptions 2014-02-28 00:51:15 +01:00
serviceproxy.py remove unnecessary logger objects 2013-12-26 03:32:33 +01:00
soaparray.py Minor stylistic changes. 2013-03-29 19:12:59 +01:00
store.py added more detailed suds.client.Client cache/store/transport usage tests 2014-02-10 01:31:02 +01:00
sudsobject.py inline local variable in Printer.unwrap() - minor code cleanup 2014-02-28 01:07:57 +01:00
version.py change development version identification to use standard .dev# suffixes 2014-05-17 15:41:02 +02:00
wsdl.py fix handling recursive XSD imports 2015-07-01 11:46:19 +02:00
wsse.py do not use self but cls in classmethod 2014-06-09 12:33:39 +02:00