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

Method body

suds/bindings/binding.py:409–419  ·  view source on GitHub ↗

Build the B{ } for an soap outbound message. @param content: The body content. @type content: L{Element} @return: the soap body fragment. @rtype: L{Element}

(self, content)

Source from the content-addressed store, hash-verified

407 raise Exception('not implemented')
408
409 def body(self, content):
410 """
411 Build the B{<Body/>} for an soap outbound message.
412 @param content: The body content.
413 @type content: L{Element}
414 @return: the soap body fragment.
415 @rtype: L{Element}
416 """
417 body = Element('Body', ns=envns)
418 body.append(content)
419 return body
420
421 def bodypart_types(self, method, input=True):
422 """

Callers 1

get_messageMethod · 0.95

Calls 2

appendMethod · 0.95
ElementClass · 0.90

Tested by

no test coverage detected