From 6290ea268a85952ebae3dd5439a7fa240d742e04 Mon Sep 17 00:00:00 2001 From: Christian Kerl Date: Wed, 24 Aug 2011 18:12:32 +0200 Subject: [PATCH] created DIC configuration for TypeConverter implementations and ConverterRepository --- DependencyInjection/BeSimpleSoapExtension.php | 1 + Resources/config/converters.xml | 19 +++++++++++++++++++ Resources/config/webservice.xml | 3 --- 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 Resources/config/converters.xml diff --git a/DependencyInjection/BeSimpleSoapExtension.php b/DependencyInjection/BeSimpleSoapExtension.php index db2c8f4..5870366 100644 --- a/DependencyInjection/BeSimpleSoapExtension.php +++ b/DependencyInjection/BeSimpleSoapExtension.php @@ -36,6 +36,7 @@ class BeSimpleSoapExtension extends Extension $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); $loader->load('loaders.xml'); + $loader->load('converters.xml'); $loader->load('webservice.xml'); $processor = new Processor(); diff --git a/Resources/config/converters.xml b/Resources/config/converters.xml new file mode 100644 index 0000000..25b7cd1 --- /dev/null +++ b/Resources/config/converters.xml @@ -0,0 +1,19 @@ + + + + + + BeSimple\SoapBundle\Converter\ConverterRepository + BeSimple\SoapBundle\Converter\DateTimeTypeConverter + + + + + + + + + + diff --git a/Resources/config/webservice.xml b/Resources/config/webservice.xml index 599af0a..80ebcb5 100644 --- a/Resources/config/webservice.xml +++ b/Resources/config/webservice.xml @@ -13,7 +13,6 @@ BeSimple\SoapBundle\ServiceBinding\DocumentLiteralWrappedRequestHeaderMessageBinder BeSimple\SoapBundle\ServiceBinding\DocumentLiteralWrappedResponseMessageBinder BeSimple\SoapBundle\ServiceDefinition\Dumper\WsdlDumper - BeSimple\SoapBundle\Converter\ConverterRepository BeSimple\SoapBundle\Converter\TypeRepository @@ -53,8 +52,6 @@ - - xsd