When there is a fight everyone involved bears some responsibility, so you can not say Germany bears sole responsibility in whatever way.
The outbreak of WWI has many causes and a detailed list of these can be found here
Other questions on the cause of WWI can be found in the FAQ