Insert the LIGO_LW metadata in the xmltext string into the database.

    @return: message received (may be empty) from LDBD Server as a string

def insertmap(self,xmltext,lfnpfn_dict):
    """
    Insert the LIGO_LW metadata in the xmltext string into the database.

    @return: message received (may be empty) from LDBD Server as a string
    """

    pmsg = cPickle.dumps(lfnpfn_dict)

    msg = "INSERTMAP\0" + xmltext + "\0" + pmsg + "\0"
    self.sfile.write(msg)

    ret, output = self.__response__()
    reply = str(output[0])

    if ret:
      msg = "Error executing insert on server %d:%s" % (ret, reply)
      raise LDBDClientException, msg

    return reply