From adb1d9bd89341aacac1c82854675e07367f0e2a8 Mon Sep 17 00:00:00 2001 From: Francis Besset Date: Mon, 26 Aug 2013 14:40:00 +0200 Subject: [PATCH] [SoapBundle] Keep debug in WebServiceContext Issue #6 The generated cache is incorrect (maybe because service are cached). To fix the problem quickly, the debug mode is enabled. --- src/BeSimple/SoapBundle/WebServiceContext.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BeSimple/SoapBundle/WebServiceContext.php b/src/BeSimple/SoapBundle/WebServiceContext.php index d18bb04..6e3249a 100644 --- a/src/BeSimple/SoapBundle/WebServiceContext.php +++ b/src/BeSimple/SoapBundle/WebServiceContext.php @@ -52,6 +52,8 @@ class WebServiceContext $this->typeRepository = $typeRepository; $this->converters = $converters; + // Issue #6: keep the debug because the cache is invalid + $options['debug'] = true; $this->options = $options; }