The wolves wanted to eat the company, but could not reach them. The goblins, on the other hand, could chop or burn down the trees for the wolves.
The wolves did not alert the goblins. The wolves were waiting in the forest-glade because they have planned a joint-attack with the goblins. The wolves cannot carry out their attack on the town because the goblins have not shown up at the appointed hour and this is because they are mourning their leader and looking for the dwarves. Long past the appointed hour the goblins arrive at the forest-glade. It is probably mere coincidence they find the adventurers at the glade.
I Think you have that backwards.
In "The Hobbit or There and Back Again", the party is traveling through the forest when they hear wolves. They scurry up the surrounding trees and the Wargs rush in. This happens to be their "Meeting Place" with the goblins. The party is trapped in the trees with furious Wargs and Goblins beneath them.
The giant eagles of the mountain and the Eagle King
He very much dislikes wargs and goblins. Beorn liked the travelers because they had killed the Great Goblin.
They dwarves and the hobbit hear the Wargs howling.
Gandalf was very expert with fire. He caught pine cones on fire with his power and threw them on the wargs. The fire burned them and they scattered, catching the grass on fire. The Goblins re-directed it to catch the trees on fire.
In "The Hobbit or There and Back Again", the party is traveling through the forest when they hear wolves. They scurry up the surrounding trees and the Wargs rush in. This happens to be their "Meeting Place" with the goblins. The party is trapped in the trees with furious Wargs and Goblins beneath them.
wargs
the lord of the eagles, and somewhat gandalf
The wargs were unable to get them out. However, the goblins were able to redirect the fire and were in the process of burning them out.
The giant eagles of the mountain and the Eagle King
Bilbo and the dwarves are caught first by trolls, then by goblins. they are trapped up in a tree because of goblins and Wargs
He very much dislikes wargs and goblins. Beorn liked the travelers because they had killed the Great Goblin.
If you're referring to the incident where the party was trapped in trees - Gandalf in fact did not get rid of the wargs and the Goblins. There were simply too many of them (there's even a reference to Gandalf preparing to go out in a blaze of glory against them). The party survived because they were rescued by eagles. If you're referring to the wargs and goblins at the Battle of Five Armies, Gandalf got rid of them because ultimately the combined forces humans, elves, dwarves, eagles, and a rather tough skin-changer were able to prevail.
They dwarves and the hobbit hear the Wargs howling.
The eagles come and snatch them from the trees and take them off to their aeries.
It was the Battle of Five Armies. The armies were the humans, elves and dwarves against the wargs and the goblins.
They had escaped the goblin caves and were moving west. They got trapped by the wargs and climbed trees. When the goblins began to set the trees on fire, the great eagles rescued them and carried them off.