2010-10-04 20:27:00 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2011-04-07 21:49:01 +02:00
|
|
|
<container xmlns="http://symfony.com/schema/dic/services"
|
2010-10-04 20:27:00 +02:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2011-04-07 21:49:01 +02:00
|
|
|
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
2010-10-04 20:27:00 +02:00
|
|
|
|
2011-07-14 17:45:03 +02:00
|
|
|
<parameters>
|
2011-07-18 22:43:12 +02:00
|
|
|
<parameter key="webservice.controller.class">BeSimple\SoapBundle\Controller\SoapWebServiceController</parameter>
|
|
|
|
<parameter key="webservice.context.class">BeSimple\SoapBundle\WebServiceContext</parameter>
|
2011-04-07 21:49:01 +02:00
|
|
|
<parameter key="webservice.cache_dir">%kernel.cache_dir%/webservice</parameter>
|
2011-07-18 22:43:12 +02:00
|
|
|
<parameter key="webservice.binder.request.rpcliteral.class">BeSimple\SoapBundle\ServiceBinding\RpcLiteralRequestMessageBinder</parameter>
|
|
|
|
<parameter key="webservice.binder.response.rpcliteral.class">BeSimple\SoapBundle\ServiceBinding\RpcLiteralResponseMessageBinder</parameter>
|
|
|
|
<parameter key="webservice.binder.request.documentwrapped.class">BeSimple\SoapBundle\ServiceBinding\DocumentLiteralWrappedRequestMessageBinder</parameter>
|
|
|
|
<parameter key="webservice.binder.response.documentwrapped.class">BeSimple\SoapBundle\ServiceBinding\DocumentLiteralWrappedResponseMessageBinder</parameter>
|
|
|
|
<parameter key="webservice.definition.dumper.wsdl.rpcliteral.class">BeSimple\SoapBundle\ServiceDefinition\Dumper\WsdlDumper</parameter>
|
|
|
|
<parameter key="webservice.converter.repository.class">BeSimple\SoapBundle\Converter\ConverterRepository</parameter>
|
|
|
|
<parameter key="webservice.type.repository.class">BeSimple\SoapBundle\Converter\TypeRepository</parameter>
|
2011-07-14 17:45:03 +02:00
|
|
|
</parameters>
|
|
|
|
|
|
|
|
<services>
|
2011-07-17 10:46:54 +02:00
|
|
|
<service id="webservice.context" class="%webservice.context.class%" abstract="true">
|
2011-07-14 17:45:03 +02:00
|
|
|
<argument type="service" id="webservice.definition.loader"/>
|
|
|
|
<argument type="service" id="webservice.definition.dumper.wsdl"/>
|
2011-04-07 21:49:01 +02:00
|
|
|
<argument type="service" id="webservice.binder.request"/>
|
|
|
|
<argument type="service" id="webservice.binder.response"/>
|
2011-07-17 15:08:46 +02:00
|
|
|
<argument type="service" id="webservice.type.repository"/>
|
|
|
|
<argument type="service" id="webservice.converter.repository"/>
|
2011-04-07 21:49:01 +02:00
|
|
|
<argument type="collection">
|
|
|
|
<argument key="cache_dir">%webservice.cache_dir%</argument>
|
2011-07-17 12:35:47 +02:00
|
|
|
<argument key="debug">%kernel.debug%</argument>
|
2011-04-07 21:49:01 +02:00
|
|
|
</argument>
|
2011-07-14 17:45:03 +02:00
|
|
|
</service>
|
|
|
|
|
2011-07-17 10:46:54 +02:00
|
|
|
<service id="webservice.binder.request.rpcliteral" class="%webservice.binder.request.rpcliteral.class%" />
|
2011-07-14 17:45:03 +02:00
|
|
|
|
2011-07-17 10:46:54 +02:00
|
|
|
<service id="webservice.binder.response.rpcliteral" class="%webservice.binder.response.rpcliteral.class%" />
|
2011-07-14 17:45:03 +02:00
|
|
|
|
2011-07-17 10:46:54 +02:00
|
|
|
<service id="webservice.binder.request.documentwrapped" class="%webservice.binder.request.documentwrapped.class%" />
|
2011-07-14 17:45:03 +02:00
|
|
|
|
2011-07-17 10:46:54 +02:00
|
|
|
<service id="webservice.binder.response.documentwrapped" class="%webservice.binder.response.documentwrapped.class%" />
|
2011-07-14 17:45:03 +02:00
|
|
|
|
2011-07-17 10:46:54 +02:00
|
|
|
<service id="webservice.definition.dumper.wsdl.rpcliteral" class="%webservice.definition.dumper.wsdl.rpcliteral.class%" />
|
2011-04-08 00:41:16 +02:00
|
|
|
|
2011-07-17 15:08:46 +02:00
|
|
|
<service id="webservice.converter.repository" class="%webservice.converter.repository.class%" />
|
|
|
|
|
|
|
|
<service id="webservice.type.repository" class="%webservice.type.repository.class%">
|
|
|
|
<call method="addXmlNamespace">
|
|
|
|
<argument>xsd</argument>
|
|
|
|
<argument>http://www.w3.org/2001/XMLSchema</argument>
|
|
|
|
</call>
|
|
|
|
<call method="addDefaultTypeMapping">
|
|
|
|
<argument>string</argument>
|
|
|
|
<argument>xsd:string</argument>
|
|
|
|
</call>
|
|
|
|
<call method="addDefaultTypeMapping">
|
|
|
|
<argument>int</argument>
|
|
|
|
<argument>xsd:int</argument>
|
|
|
|
</call>
|
|
|
|
<call method="addDefaultTypeMapping">
|
|
|
|
<argument>bool</argument>
|
|
|
|
<argument>xsd:boolean</argument>
|
|
|
|
</call>
|
|
|
|
<call method="addDefaultTypeMapping">
|
|
|
|
<argument>float</argument>
|
|
|
|
<argument>xsd:float</argument>
|
2011-07-17 10:46:54 +02:00
|
|
|
</call>
|
2011-04-08 00:41:16 +02:00
|
|
|
</service>
|
2011-07-14 17:45:03 +02:00
|
|
|
</services>
|
2011-07-17 10:46:54 +02:00
|
|
|
|
2011-07-17 15:08:46 +02:00
|
|
|
</container>
|