# Action Web Service : Missing template ... wsdl.rhtml

**URL:** <https://www.ruby-forum.com/t/action-web-service-missing-template-wsdl-rhtml/122436>\
**Category:** Rails\
**Created:** [December 7, 2007, 4:16pm UTC](https://www.ruby-forum.com/t/action-web-service-missing-template-wsdl-rhtml/122436 "2007-12-07T16:16:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [December 7, 2007, 4:16pm UTC](https://www.ruby-forum.com/t/action-web-service-missing-template-wsdl-rhtml/122436/1 "2007-12-07T16:16:50Z")

</div>

Hello,  
I have a problem with Action Web Service, I have defined a really simple  
WS  
with  
./generate web\_service Backend essai  
adding web\_service\_scaffold

if I try to obtain the wsdl I got :  
Missing template …/wsdl.rhtml

It’s rails version 1.2.6  
tested on cygwin with ruby 1.8.6

Any of you having an idea ?

Thanks,  
David

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [May 6, 2008, 11:22am UTC](https://www.ruby-forum.com/t/action-web-service-missing-template-wsdl-rhtml/122436/2 "2008-05-06T11:22:22Z")

</div>

responding to myself :  
the easiest way is to dump cygwin → it works fine with Linux

2007/12/7 David B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [February 9, 2010, 10:54pm UTC](https://www.ruby-forum.com/t/action-web-service-missing-template-wsdl-rhtml/122436/3 "2010-02-09T22:54:13Z")

</div>

In case anyone else comes across this again, I had a similar problem  
when trying to create a wsdl and my browser telling me a template was  
missing.

If you add the following to config/environments.rb

module SOAP

SOAPNamespaceTag = ‘env’  
XSDNamespaceTag = ‘xsd’  
XSINamespaceTag = ‘xsi’

end

Reboot and see if it works. Did for me 😉

I’m running on:  
Ruby version 1.8.6 (i386-mswin32)  
RubyGems version 1.3.5  
Rack version 1.0  
Rails version 2.3.2  
Active Record version 2.3.2  
Action Pack version 2.3.2  
Active Resource version 2.3.2  
Action Mailer version 2.3.2  
Active Support version 2.3.2

datanoise-actionwebservice (2.3.2)

---

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [February 10, 2010, 5:40pm UTC](https://www.ruby-forum.com/t/action-web-service-missing-template-wsdl-rhtml/122436/4 "2010-02-10T17:40:40Z")

</div>

Lucas Hills wrote:

> module SOAP
> 
> SOAPNamespaceTag = ‘env’  
> XSDNamespaceTag = ‘xsd’  
> XSINamespaceTag = ‘xsi’
> 
> end

Big thnx, this works!
