# Web services help / documentation

**URL:** <https://www.ruby-forum.com/t/web-services-help-documentation/91833>\
**Category:** Rails\
**Created:** [April 12, 2007, 7:13pm UTC](https://www.ruby-forum.com/t/web-services-help-documentation/91833 "2007-04-12T19:13:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianmrowe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a4c791/32.png) [@brianmrowe](https://www.ruby-forum.com/u/brianmrowe)\
**Post date:** [April 12, 2007, 7:13pm UTC](https://www.ruby-forum.com/t/web-services-help-documentation/91833/1 "2007-04-12T19:13:47Z")

</div>

Hello,

I’ve been trying for a few days to create a :delegated or :layered web  
service with no success. I am wondering if I’m just not using the  
proper URL for the scaffold generator to test with. Using the default  
method, everything works just fine. I wanted to avoid having a  
different controller for every call, but maybe that’s not a bad way to  
go anway.

I’m also looking for a simple way to map :expected parms to a model  
object. I tried to use :expects =\> [Person] but I can’t. I can  
do :expects[:string, :string], returns =\> [Person]

I did want to be able to group like service methods in a single  
controller if possible. If you know of a good layered example that  
has all the code, that would be great - also if you know what the  
scaffold :invoke url should look like for a delegated or layerd  
service - that may be the problem too.

Thank you
