It is possible to use the Symfony validator component to validate your request objects before sending them to the server. Since some servers return very cryptographic errors, the validation of request components could save you a lot of time during development.
The validator plugin is activated automatically when you attach a ValidatorInterface
to the
ClientBuilder::withValidator(). It will hook in to the Request event and will throw a
RequestException`
when your request object doesn't contain valid data.
No more crappy error messages from the soap server!