BeSimpleSoap/Resources/config/routing/webservicecontroller.xml

19 lines
790 B
XML
Raw Normal View History

2011-04-07 18:39:41 +02:00
<?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">
2011-07-14 17:45:03 +02:00
<route id="_webservice_call" pattern="/{webservice}">
<default key="_controller">BeSimpleSoapBundle:SoapWebService:Call</default>
<default key="_format">xml</default>
2011-07-14 17:45:03 +02:00
<requirement key="_method">POST</requirement>
</route>
<route id="_webservice_definition" pattern="/{webservice}">
<default key="_controller">BeSimpleSoapBundle:SoapWebService:Definition</default>
<default key="_format">xml</default>
2011-07-14 17:45:03 +02:00
<requirement key="_method">GET</requirement>
</route>
2011-04-07 18:39:41 +02:00
</routes>