# Web service -vs- HTTP form problems

**URL:** <https://www.ruby-forum.com/t/web-service-vs-http-form-problems/90891>\
**Category:** Rails\
**Created:** [April 2, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/web-service-vs-http-form-problems/90891 "2007-04-02T19:53:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e95f7d/32.png) [@robert](https://www.ruby-forum.com/u/robert)\
**Post date:** [April 2, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/web-service-vs-http-form-problems/90891/1 "2007-04-02T19:53:31Z")

</div>

Hi All:

I have a controller action that is invoked via an http form. It simply  
takes an email address and uses ActionMailer to send an email to that  
email address.

I have also setup a web service with ActionWebService (with api and  
entries in the controller for wsdl,web\_service\_api etc.).

My problem is the controller action is executed successfully with the  
http form but NOT the web service. Using the web sevice scaffold test  
facility I can send and receive a response from the same action  
controller but the email does not get send. Its almost like the web  
service call is doing a GET instead of a POST. The app is setup with  
REST routes, is there anything special i need to do so the action  
executed with the service call?

Driving me nuts…

thanks  
Robert
