diff options
author | jortel <devnull@localhost> | 2008-10-16 20:08:54 +0000 |
---|---|---|
committer | jortel <devnull@localhost> | 2008-10-16 20:08:54 +0000 |
commit | a0fb65d90789e44bcf45161bb8bad1e09e543113 (patch) | |
tree | 759bd75908a0b195c293296e5fb7b10f38a04fa7 /suds/bindings/binding.py | |
parent | 4cb0c233fc6edcbbae2e40319542917ca01b20e8 (diff) | |
download | suds-a0fb65d90789e44bcf45161bb8bad1e09e543113.tar.gz |
Add setlocation() on client; add <group/> and <attributeGroup/> to schema
Diffstat (limited to 'suds/bindings/binding.py')
-rw-r--r-- | suds/bindings/binding.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/suds/bindings/binding.py b/suds/bindings/binding.py index cfe6f30..7b8b639 100644 --- a/suds/bindings/binding.py +++ b/suds/bindings/binding.py @@ -39,6 +39,8 @@ class Binding: """ The soap binding class used to process outgoing and imcoming soap messages per the WSDL port binding. + @cvar replypp: The reply preprocessor. + @type replypp: (lambda s,r: r) @ivar wsdl: The wsdl. @type wsdl: L{suds.wsdl.Definitions} @ivar schema: The collective schema contained within the wsdl. @@ -57,7 +59,10 @@ class Binding: @ivar encoded: The I{usr=literal} vs I{use=encoded} flag defines with version of the I{marshaller} and I{unmarshaller} should be used to encode/decode soap messages. + @type encoded: boolean """ + + replyfilter = (lambda s,r: r) def __init__(self, wsdl): self.wsdl = wsdl @@ -122,6 +127,7 @@ class Binding: collection. @rtype: tuple ( L{Element}, L{Object} ) """ + reply = self.replyfilter(reply) replyroot = self.parser.parse(string=reply) soapenv = replyroot.getChild('Envelope') soapenv.promotePrefixes() |