parameters: (self, data, dispatch_method = None, path = None)
return_statement: return response
docstring: Dispatches an XML-RPC method from marshalled (XML) data.
  
          XML-RPC methods are dispatched from the marshalled (XML) data
          using the _dispatch method and the result is returned as
          marshalled data. For backwards compatibility, a dispatch
          function can be provided as an argument (see comment in
          SimpleXMLRPCRequestHandler.do_POST) but overriding the
          existing method through subclassing is the preferred means
          of changing method dispatch behavior.
docstring_summary: Dispatches an XML-RPC method from marshalled (XML) data.
docstring_tokens: Dispatches an XML - RPC method from marshalled ( XML ) data .
function: def _marshaled_dispatch(self, data, dispatch_method = None, path = None):
          """Dispatches an XML-RPC method from marshalled (XML) data.
  
          XML-RPC methods are dispatched from the marshalled (XML) data
          using the _dispatch method and the result is returned as
          marshalled data. For backwards compatibility, a dispatch
          function can be provided as an argument (see comment in
          SimpleXMLRPCRequestHandler.do_POST) but overriding the
          existing method through subclassing is the preferred means
          of changing method dispatch behavior.
          """
  
          try:
              params, method = xmlrpclib.loads(data)
  
              # generate response
              if dispatch_method is not None:
                  response = dispatch_method(method, params)
              else:
                  response = self._dispatch(method, params)
              # wrap response in a singleton tuple
              response = (response,)
              response = xmlrpclib.dumps(response, methodresponse=1,
                                         allow_none=self.allow_none, encoding=self.encoding)
          except Fault, fault:
              response = xmlrpclib.dumps(fault, allow_none=self.allow_none,
                                         encoding=self.encoding)
          except:
              # report exception back to server
              exc_type, exc_value, exc_tb = sys.exc_info()
              response = xmlrpclib.dumps(
                  xmlrpclib.Fault(1, "%s:%s" % (exc_type, exc_value)),
                  encoding=self.encoding, allow_none=self.allow_none,
                  )
  
          return response
function_tokens: def _marshaled_dispatch ( self , data , dispatch_method = None , path = None ) : try : params , method = xmlrpclib . loads ( data ) # generate response if dispatch_method is not None : response = dispatch_method ( method , params ) else : response = self . _dispatch ( method , params ) # wrap response in a singleton tuple response = ( response , ) response = xmlrpclib . dumps ( response , methodresponse = 1 , allow_none = self . allow_none , encoding = self . encoding ) except Fault , fault : response = xmlrpclib . dumps ( fault , allow_none = self . allow_none , encoding = self . encoding ) except : # report exception back to server exc_type , exc_value , exc_tb = sys . exc_info ( ) response = xmlrpclib . dumps ( xmlrpclib . Fault ( 1 , "%s:%s" % ( exc_type , exc_value ) ) , encoding = self . encoding , allow_none = self . allow_none , ) return response