70 lines
4.0 KiB
XML
70 lines
4.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<container xmlns="http://symfony.com/schema/dic/services"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
|
|
|
<parameters>
|
|
<parameter key="webservice.controller.class">Bundle\WebServiceBundle\Controller\SoapWebServiceController</parameter>
|
|
<parameter key="webservice.context.class">Bundle\WebServiceBundle\WebServiceContext</parameter>
|
|
<parameter key="webservice.cache_dir">%kernel.cache_dir%/webservice</parameter>
|
|
<parameter key="webservice.binder.request.rpcliteral.class">Bundle\WebServiceBundle\ServiceBinding\RpcLiteralRequestMessageBinder</parameter>
|
|
<parameter key="webservice.binder.response.rpcliteral.class">Bundle\WebServiceBundle\ServiceBinding\RpcLiteralResponseMessageBinder</parameter>
|
|
<parameter key="webservice.binder.request.documentwrapped.class">Bundle\WebServiceBundle\ServiceBinding\DocumentLiteralWrappedRequestMessageBinder</parameter>
|
|
<parameter key="webservice.binder.response.documentwrapped.class">Bundle\WebServiceBundle\ServiceBinding\DocumentLiteralWrappedResponseMessageBinder</parameter>
|
|
<parameter key="webservice.definition.dumper.wsdl.rpcliteral.class">Bundle\WebServiceBundle\ServiceDefinition\Dumper\WsdlDumper</parameter>
|
|
<parameter key="webservice.converter.repository.class">Bundle\WebServiceBundle\Converter\ConverterRepository</parameter>
|
|
<parameter key="webservice.type.repository.class">Bundle\WebServiceBundle\Converter\TypeRepository</parameter>
|
|
</parameters>
|
|
|
|
<services>
|
|
<service id="webservice.context" class="%webservice.context.class%" abstract="true">
|
|
<argument type="service" id="webservice.definition.loader"/>
|
|
<argument type="service" id="webservice.definition.dumper.wsdl"/>
|
|
<argument type="service" id="webservice.binder.request"/>
|
|
<argument type="service" id="webservice.binder.response"/>
|
|
<argument type="service" id="webservice.type.repository"/>
|
|
<argument type="service" id="webservice.converter.repository"/>
|
|
<argument type="collection">
|
|
<argument key="cache_dir">%webservice.cache_dir%</argument>
|
|
<argument key="debug">%kernel.debug%</argument>
|
|
</argument>
|
|
</service>
|
|
|
|
<service id="webservice.binder.request.rpcliteral" class="%webservice.binder.request.rpcliteral.class%" />
|
|
|
|
<service id="webservice.binder.response.rpcliteral" class="%webservice.binder.response.rpcliteral.class%" />
|
|
|
|
<service id="webservice.binder.request.documentwrapped" class="%webservice.binder.request.documentwrapped.class%" />
|
|
|
|
<service id="webservice.binder.response.documentwrapped" class="%webservice.binder.response.documentwrapped.class%" />
|
|
|
|
<service id="webservice.definition.dumper.wsdl.rpcliteral" class="%webservice.definition.dumper.wsdl.rpcliteral.class%" />
|
|
|
|
<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>
|
|
</call>
|
|
</service>
|
|
</services>
|
|
|
|
</container>
|