From ecc3ec3c93217bd38289b88bb4ca1331f71746db Mon Sep 17 00:00:00 2001 From: Francis Besset Date: Sat, 10 Sep 2011 19:39:14 +0200 Subject: [PATCH] Updated besimple.soap.client service --- DependencyInjection/BeSimpleSoapExtension.php | 4 ++-- Resources/config/client.xml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DependencyInjection/BeSimpleSoapExtension.php b/DependencyInjection/BeSimpleSoapExtension.php index a2840ba..b129e12 100644 --- a/DependencyInjection/BeSimpleSoapExtension.php +++ b/DependencyInjection/BeSimpleSoapExtension.php @@ -89,12 +89,12 @@ class BeSimpleSoapExtension extends Extension $defOptions = $container ->getDefinition('besimple.soap.client') - ->getArgument(1); + ->getArgument(2); $defOptions['cache_type'] = $options['cache_type']; $defOptions['namespace'] = $options['namespace']; - $definition->replaceArgument(1, $defOptions); + $definition->replaceArgument(2, $defOptions); } } } diff --git a/Resources/config/client.xml b/Resources/config/client.xml index 8ef5918..741bfc1 100644 --- a/Resources/config/client.xml +++ b/Resources/config/client.xml @@ -10,6 +10,7 @@ wsdl + null %kernel.debug% null