Build the B{ } for an soap outbound message. @param header: The soap message B{header}. @type header: L{Element} @param body: The soap message B{body}. @type body: L{Element} @return: The soap envelope containing the body and header.
(self, header, body)
| 311 | return marshaller.process(content) |
| 312 | |
| 313 | def envelope(self, header, body): |
| 314 | """ |
| 315 | Build the B{<Envelope/>} for an soap outbound message. |
| 316 | @param header: The soap message B{header}. |
| 317 | @type header: L{Element} |
| 318 | @param body: The soap message B{body}. |
| 319 | @type body: L{Element} |
| 320 | @return: The soap envelope containing the body and header. |
| 321 | @rtype: L{Element} |
| 322 | """ |
| 323 | env = Element('Envelope', ns=envns) |
| 324 | env.addPrefix(Namespace.xsins[0], Namespace.xsins[1]) |
| 325 | env.append(header) |
| 326 | env.append(body) |
| 327 | return env |
| 328 | |
| 329 | def header(self, content): |
| 330 | """ |
no test coverage detected