President Barack Obama on Wednesday announced that the military had successfully completed a hostage rescue in a remote area of Somalia, where the American and Dane had been taken hostage.