def get_message(self, method, args, kwargs):
content = self.headercontent(method)<EOL>header = self.header(content)<EOL>content = self.bodycontent(method, args, kwargs)<EOL>body = self.body(content)<EOL>env = self.envelope(header, body)<EOL>if self.options().prefixes:<EOL><INDENT>body.normalizePrefixes()<EOL>env.promotePrefixes()<EOL><DEDENT>else:<EOL><INDENT>env.refitPrefixes()<EOL><DEDENT>return Document(env)<EOL>
Get the soap message for the specified method, args and soapheaders.
This is the entry point for creating the outbound soap message.
@param method: The method being invoked.
@type method: I{service.Method}
@param args: A list of args for the method invoked.
@type args: list
@param kwargs: Named (keyword) args for the method invoked.
@type kwargs: dict
@return: The soap envelope.
@rtype: L{Document}