Fix incompatibility with Symfony 2.1.*

Replaces https://github.com/BeSimple/BeSimpleSoapBundle/pull/47

Fixes https://github.com/BeSimple/BeSimpleSoapBundle/issues/46