2010-10-04 20:27:00 +02:00
|
|
|
<?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">
|
|
|
|
|
2010-10-04 21:13:45 +02:00
|
|
|
<parameters>
|
2010-10-06 00:00:15 +02:00
|
|
|
<parameter key="request.class">Bundle\WebServiceBundle\Soap\SoapRequest</parameter>
|
2010-10-07 15:16:56 +02:00
|
|
|
|
2010-10-08 14:24:42 +02:00
|
|
|
<parameter key="webservice.binder.request.class">Bundle\WebServiceBundle\ServiceBinding\DocumentLiteralWrappedRequestMessageBinder</parameter>
|
|
|
|
<parameter key="webservice.binder.response.class">Bundle\WebServiceBundle\ServiceBinding\DocumentLiteralWrappedResponseMessageBinder</parameter>
|
|
|
|
|
2010-10-07 15:16:56 +02:00
|
|
|
<parameter key="webservice.definition.class">Bundle\WebServiceBundle\ServiceDefinition\ServiceDefinition</parameter>
|
|
|
|
<parameter key="webservice.definition.loader.class">Bundle\WebServiceBundle\ServiceDefinition\Loader\XmlFileLoader</parameter>
|
2010-10-08 14:24:42 +02:00
|
|
|
<parameter key="webservice.definition.dumper.class">Bundle\WebServiceBundle\ServiceDefinition\Dumper\Wsdl11DocumentLiteralWrappedFileDumper</parameter>
|
2010-10-04 21:13:45 +02:00
|
|
|
</parameters>
|
|
|
|
|
|
|
|
<services>
|
2010-10-05 21:44:30 +02:00
|
|
|
<!-- redefine FrameworkBundle 'http_kernel' service with different id -->
|
2010-10-04 21:13:45 +02:00
|
|
|
<service id="symfony_http_kernel" class="%http_kernel.class%">
|
|
|
|
<argument type="service" id="event_dispatcher" />
|
|
|
|
<argument type="service" id="controller_resolver" />
|
|
|
|
</service>
|
2010-10-05 21:44:30 +02:00
|
|
|
|
2010-10-07 15:16:56 +02:00
|
|
|
<service id="webservice.kernel" class="Bundle\WebServiceBundle\SoapKernel">
|
2010-10-08 14:24:42 +02:00
|
|
|
<argument type="service" id="webservice.binder" />
|
2010-10-05 21:44:30 +02:00
|
|
|
<argument type="service" id="symfony_http_kernel" />
|
|
|
|
</service>
|
2010-10-08 14:24:42 +02:00
|
|
|
|
|
|
|
<service id="webservice.binder" class="Bundle\WebServiceBundle\ServiceBinding\ServiceBinder">
|
|
|
|
<argument type="service" id="webservice.definition" />
|
|
|
|
<argument type="service" id="webservice.definition.loader" />
|
|
|
|
<argument type="service" id="webservice.definition.dumper" />
|
|
|
|
|
|
|
|
<argument type="service" id="webservice.binder.request" />
|
|
|
|
<argument type="service" id="webservice.binder.response" />
|
|
|
|
</service>
|
|
|
|
|
|
|
|
<service id="webservice.binder.request" class="%webservice.binder.request.class%" />
|
|
|
|
<service id="webservice.binder.response" class="%webservice.binder.response.class%" />
|
|
|
|
|
2010-10-07 15:16:56 +02:00
|
|
|
<service id="webservice.definition" class="%webservice.definition.class%" shared="true">
|
|
|
|
<argument type="string">%webservice.definition.name%</argument>
|
|
|
|
</service>
|
|
|
|
<service id="webservice.definition.loader" class="%webservice.definition.loader.class%">
|
|
|
|
<argument type="string">%webservice.definition.resource%</argument>
|
|
|
|
</service>
|
|
|
|
<service id="webservice.definition.dumper" class="%webservice.definition.dumper.class%">
|
|
|
|
<argument type="string"></argument>
|
|
|
|
</service>
|
2010-10-04 21:13:45 +02:00
|
|
|
</services>
|
2010-10-04 20:27:00 +02:00
|
|
|
</container>
|