# web service consuming other web services

**URL:** <https://discuss.rubyonrails.org/t/web-service-consuming-other-web-services/32907>\
**Category:** rubyonrails-talk\
**Created:** [August 6, 2008, 7:45pm UTC](https://discuss.rubyonrails.org/t/web-service-consuming-other-web-services/32907 "2008-08-06T19:45:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [August 6, 2008, 7:45pm UTC](https://discuss.rubyonrails.org/t/web-service-consuming-other-web-services/32907/1 "2008-08-06T19:45:37Z")

</div>

So I have an action in a proxy controller that I created that basically just gets a request from an outside source takes the parameters and posts them to a different outside webservice gets the response and then posts the results and then posts them back to the original source.

The end user never sees my side as the original post is coming to me in the background. Everything is working perfect except for the fact that I'm getting a MissingTemplate error in my logs as I don't have a template I need to render.

I guess my question is if I can have an action that doesn't render a template, or is there a way from preventing ActionView to expect one?

---

<div class="post-metadata">

**Author:** ![Frederick\_Cheung](https://sea2.discourse-cdn.com/rubyonrails/user_avatar/discuss.rubyonrails.org/frederick_cheung/32/3901_2.png) [@Frederick\_Cheung](https://discuss.rubyonrails.org/u/Frederick_Cheung)\
**Post date:** [August 6, 2008, 9:01pm UTC](https://discuss.rubyonrails.org/t/web-service-consuming-other-web-services/32907/2 "2008-08-06T21:01:23Z")

</div>

> So I have an action in a proxy controller that I created that basically just gets a request from an outside source takes the parameters and posts them to a different outside webservice gets the response and then posts the results and then posts them back to the original source.
> 
> The end user never sees my side as the original post is coming to me in the background. Everything is working perfect except for the fact that I'm getting a MissingTemplate error in my logs as I don't have a template I need to render.
> 
> I guess my question is if I can have an action that doesn't render a template, or is there a way from preventing ActionView to expect one?

Try

head :ok or render :nothing =\> true

Fred
