# Web service consuming other web services

**URL:** <https://www.ruby-forum.com/t/web-service-consuming-other-web-services/145215>\
**Category:** Rails\
**Created:** [August 6, 2008, 9:45pm UTC](https://www.ruby-forum.com/t/web-service-consuming-other-web-services/145215 "2008-08-06T21:45:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nateleavitt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/3bc359/32.png) [@nateleavitt](https://www.ruby-forum.com/u/nateleavitt)\
**Post date:** [August 6, 2008, 9:45pm UTC](https://www.ruby-forum.com/t/web-service-consuming-other-web-services/145215/1 "2008-08-06T21: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:** ![nateleavitt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/3bc359/32.png) [@nateleavitt](https://www.ruby-forum.com/u/nateleavitt)\
**Post date:** [August 6, 2008, 11:02pm UTC](https://www.ruby-forum.com/t/web-service-consuming-other-web-services/145215/2 "2008-08-06T23:02:20Z")

</div>

On Aug 6, 8:45 pm, Nate L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> 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
