"Erro ao criar sessão"]); exit; } $xml = simplexml_load_string($response); echo json_encode(["sessionId" => (string)$xml->id]);