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

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

responding to myself :

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

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 :wink:

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)

Lucas Hills wrote:

module SOAP

SOAPNamespaceTag = 'env' XSDNamespaceTag = 'xsd' XSINamespaceTag = 'xsi'

end

Big thnx, this works!