MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / process

Method process

suds/bindings/multiref.py:41–55  ·  view source on GitHub ↗

Process the specified soap envelope body and replace I{multiref} node references with the contents of the referenced node. @param body: A soap envelope body node. @type body: L{Element} @return: The processed I{body} @rtype: L{Element}

(self, body)

Source from the content-addressed store, hash-verified

39 self.catalog = {}
40
41 def process(self, body):
42 """
43 Process the specified soap envelope body and replace I{multiref} node
44 references with the contents of the referenced node.
45 @param body: A soap envelope body node.
46 @type body: L{Element}
47 @return: The processed I{body}
48 @rtype: L{Element}
49 """
50 self.nodes = []
51 self.catalog = {}
52 self.build_catalog(body)
53 self.update(body)
54 body.children = self.nodes
55 return body
56
57 def update(self, node):
58 """

Callers 7

get_replyMethod · 0.45
detect_faultMethod · 0.45
replylistMethod · 0.45
replycompositeMethod · 0.45
get_faultMethod · 0.45
mkparamMethod · 0.45
mkheaderMethod · 0.45

Calls 2

build_catalogMethod · 0.95
updateMethod · 0.95

Tested by

no test coverage detected