It was regarded as an act of war by... Austria... They wanted to go to wars for months and this was a welcome excuse. Not even the germans were really on board.
The only reason the death of Franz Ferdinand was enough, was the simple fact that europe at this time was a powder keg with everyone itching for a short 4 week war to show it these germans/french/serbian/russian/english bastards and we're all back home for christmas...