BeSimple/BeSimpleSoapBundle — Issue #14: Routing issue
Author: panosru
Created: 2011-10-27 23:19:37+00:00
State: open

Hello I followed exactly the instructions from http://besim.pl/ but when I try to hit the url for the web-service is not working :/

### app/config/config/yml
```
be_simple_soap:
services:
DemoApi:
namespace: http://symfony.sf/app_dev.php/api/DemoApi/1.0/
binding: rpc-literal
resource: "@AcmeDemoBundle/Controller/ServiceController.php"
resource_type: annotation
```
I also tried `namespace: http://symfony.sf/api/DemoApi/1.0/`, `namespace: /DemoApi/1.0/` and `namespace: /api/DemoApi/1.0/`

### app/config/routing.yml
```
_besimple_soap:
resource: "@BeSimpleSoapBundle/Resources/config/routing/webservicecontroller.xml"
prefix: /api
```

### src/Acme/DemoBundle/Controller/ServiceController.php
```
container->get('besimple.soap.response')->setReturnValue(sprintf('Hello %s!', $name));
}
}
```

When I point my url to http://symfony.sf/app_dev.php/api/DemoApi/1.0/ or http://symfony.sf/api/DemoApi/1.0/ I'm getting the exception `No route found for "GET /api/DemoApi/1.0/" `

Thanks in advance for any help :)