':param artifact: The Base64 encoded SAML artifact as sent over the net
:param descriptor: The type of entity on the other side
:return: A SAML message (request/response)'

def artifact2message(self, artifact, descriptor):

    destination = self.artifact2destination(artifact, descriptor)
    if (not destination):
        raise SAMLError('Missing    endpoint    location')
    _sid = sid()
    (mid, msg) = self.create_artifact_resolve(artifact, destination, _sid)
    return self.send_using_soap(msg, destination)
