created bundle and core classes
This commit is contained in:
parent
4edda0256d
commit
843814ccdf
|
@ -0,0 +1,25 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Bundle\WebServiceBundle\DependencyInjection;
|
||||||
|
|
||||||
|
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||||
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
|
||||||
|
class WebServiceExtension extends Extension
|
||||||
|
{
|
||||||
|
|
||||||
|
public function getXsdValidationBasePath()
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getNamespace()
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getAlias()
|
||||||
|
{
|
||||||
|
return 'webservice';
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<container xmlns="http://www.symfony-project.org/schema/dic/services"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
|
||||||
|
|
||||||
|
</container>
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Bundle\WebServiceBundle;
|
||||||
|
|
||||||
|
use Symfony\Component\HttpKernel\HttpKernel;
|
||||||
|
|
||||||
|
class SoapKernel extends HttpKernel
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Bundle\WebServiceBundle;
|
||||||
|
|
||||||
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
|
||||||
|
class SoapRequest extends Request
|
||||||
|
{
|
||||||
|
protected $soapAction;
|
||||||
|
|
||||||
|
protected $soapHeader;
|
||||||
|
|
||||||
|
protected $soapParameter;
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Bundle\WebServiceBundle;
|
||||||
|
|
||||||
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
|
||||||
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WebServiceBundle.
|
||||||
|
*
|
||||||
|
* @author Christian Kerl
|
||||||
|
*/
|
||||||
|
class WebServiceBundle extends Bundle
|
||||||
|
{
|
||||||
|
public function registerExtensions(ContainerBuilder $container)
|
||||||
|
{
|
||||||
|
parent::registerExtensions($container);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue