added support for 'typemap' and 'classmap' SoapServer option

This commit is contained in:
Christian Kerl
2010-12-30 02:18:10 +01:00
parent 4cc5950a66
commit 60795fbcbb
8 changed files with 229 additions and 9 deletions

View File

@ -23,7 +23,7 @@ class WebServiceExtension extends Extension
{
public function configLoad(array $config, ContainerBuilder $configuration)
{
if(!$configuration->hasDefinition('webservice_http_kernel'))
if(!$configuration->hasDefinition('webservice.kernel'))
{
$loader = new XmlFileLoader($configuration, __DIR__ . '/../Resources/config');
$loader->load('services.xml');
@ -55,6 +55,7 @@ class WebServiceExtension extends Extension
$configuration->setParameter('webservice.definition.name', $config['name']);
$configuration->setParameter('webservice.definition.resource', isset($config['resource']) ? $config['resource'] : null);
$configuration->setParameter('webservice.definition.wsdl', isset($config['wsdl']) ? $config['wsdl'] : null);
}
protected function registerServiceBindingConfig(array $config, ContainerBuilder $configuration)