implemented basic SoapKernel to transform a SoapRequest to a SoapResponse

This commit is contained in:
Christian Kerl
2010-10-05 21:44:30 +02:00
parent 54a76a4ef8
commit b0681e5fcf
10 changed files with 414 additions and 31 deletions

View File

@ -1,20 +1,35 @@
<?php
/*
* This file is part of the WebServiceBundle.
*
* (c) Christian Kerl <christian-kerl@web.de>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Bundle\WebServiceBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
/**
* WebServiceExtension.
*
* @author Christian Kerl <christian-kerl@web.de>
*/
class WebServiceExtension extends Extension
{
public function configLoad(array $config, ContainerBuilder $configuration)
{
$loader = new XmlFileLoader($configuration, __DIR__ . "/../Resources/config");
$loader->load("services.xml");
if(!$configuration->hasDefinition('webservice_http_kernel'))
{
$loader = new XmlFileLoader($configuration, __DIR__ . "/../Resources/config");
$loader->load("services.xml");
$configuration->setAlias("http_kernel", "webservice_http_kernel");
$configuration->setAlias("http_kernel", "webservice_http_kernel");
}
}
public function getXsdValidationBasePath()