diff --git a/DependencyInjection/BeSimpleSoapExtension.php b/DependencyInjection/BeSimpleSoapExtension.php
index 7625b57..a2840ba 100644
--- a/DependencyInjection/BeSimpleSoapExtension.php
+++ b/DependencyInjection/BeSimpleSoapExtension.php
@@ -92,6 +92,8 @@ class BeSimpleSoapExtension extends Extension
->getArgument(1);
$defOptions['cache_type'] = $options['cache_type'];
+ $defOptions['namespace'] = $options['namespace'];
+
$definition->replaceArgument(1, $defOptions);
}
}
diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php
index cf95cc4..3b15368 100644
--- a/DependencyInjection/Configuration.php
+++ b/DependencyInjection/Configuration.php
@@ -73,9 +73,8 @@ class Configuration
->useAttributeAsKey('name')
->prototype('array')
->children()
- ->scalarNode('wsdl')
- ->isRequired()
- ->end()
+ ->scalarNode('wsdl')->isRequired()->end()
+ ->scalarNode('namespace')->defaultNull()->end()
->scalarNode('cache_type')
->validate()
->ifNotInArray($this->cacheTypes)
diff --git a/Resources/config/client.xml b/Resources/config/client.xml
index d98220e..8ef5918 100644
--- a/Resources/config/client.xml
+++ b/Resources/config/client.xml
@@ -13,6 +13,7 @@
%kernel.debug%
null
+ null