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

Method header

suds/bindings/binding.py:329–339  ·  view source on GitHub ↗

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

(self, content)

Source from the content-addressed store, hash-verified

327 return env
328
329 def header(self, content):
330 """
331 Build the B{<Body/>} for an soap outbound message.
332 @param content: The header content.
333 @type content: L{Element}
334 @return: the soap body fragment.
335 @rtype: L{Element}
336 """
337 header = Element('Header', ns=envns)
338 header.append(content)
339 return header
340
341 def bodycontent(self, method, args, kwargs):
342 """

Callers 1

get_messageMethod · 0.95

Calls 2

appendMethod · 0.95
ElementClass · 0.90

Tested by

no test coverage detected