code: def invoke(self, args, kwargs):
          
          simulation = kwargs[self.injkey]
          msg = simulation.get('msg')
          reply = simulation.get('reply')
          fault = simulation.get('fault')
          if msg is None:
              if reply is not None:
                  return self.__reply(reply, args, kwargs)
              if fault is not None:
                  return self.__fault(fault)
              raise Exception('(reply|fault) expected when msg=None')
          sax = Parser()
          msg = sax.parse(string=msg)
          return self.send(msg)
docs: 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} or I{subclass of} L{Object}