added default routing configuration for SoapWebServiceController

This commit is contained in:
Christian Kerl 2011-03-25 20:14:48 +01:00
parent 52642f3ec6
commit 74005058c0
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="_webservice_call" pattern="/{webservice}">
<default key="_controller">webservice_controller:handle</default>
<requirement key="_method">POST</requirement>
</route>
<route id="_webservice_definition" pattern="/{webservice}">
<default key="_controller">webservice_controller:definition</default>
<requirement key="_method">GET</requirement>
</route>
</routes>