def invoke(self, args, kwargs):
timer = metrics.Timer()<EOL>timer.start()<EOL>result = None<EOL>binding = self.method.binding.input<EOL>soapenv = binding.get_message(self.method, args, kwargs)<EOL>timer.stop()<EOL>metrics.log.debug(<EOL>"<STR_LIT>",<EOL>self.method.name,<EOL>timer)<EOL>timer.start()<EOL>result = self.send(soapenv)<EOL>timer.stop()<EOL>metrics.log.debug(<EOL>"<STR_LIT>",<EOL>self.method.name,<EOL>timer)<EOL>return result<EOL>
Send the required soap message to invoke the specified 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 result of the method invocation.
@rtype: I{builtin}|I{subclass of} L{Object}