# WebServices: execution expired

**URL:** <https://www.ruby-forum.com/t/webservices-execution-expired/60842>\
**Category:** Rails\
**Created:** [May 17, 2006, 10:03pm UTC](https://www.ruby-forum.com/t/webservices-execution-expired/60842 "2006-05-17T22:03:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/77aa72/32.png) [@zven](https://www.ruby-forum.com/u/zven)\
**Post date:** [May 17, 2006, 10:03pm UTC](https://www.ruby-forum.com/t/webservices-execution-expired/60842/1 "2006-05-17T22:03:28Z")

</div>

1 hour spent and I can’t got explanation why I have “execution expired”  
when I trying to test this web service:

Pointed to: [http://localhost:3000/news/list](http://localhost:3000/news/list)

class NewsService \< ActionWebService::Base  
web\_service\_api NewsApi

def list  
[NewsTopic.new, NewsTopic.new]  
end  
end

class NewsController \< ApplicationController  
wsdl\_service\_name ‘news’

web\_service\_dispatching\_mode :delegated  
web\_service :news, NewsService.new

def list  
news = ActionWebService::Client::Soap.new(  
NewsApi, “[http://localhost:3000/news/news](http://localhost:3000/news/news)”)  
rsp = news.list  
render\_text rsp.to\_s  
end  
end

Strange, but I have successful log message:

Web Service Response (0.024314): =\> [#\<NewsTopic:0xb7612328  
@attributes={“last\_modified”=\>nil, “title”=\>nil, “id”=\>nil,  
“contents”=\>nil, “preview”=\>nil, “sticky”=\>nil}, @new\_record=true\>,  
#\<NewsTopic:0xb7612314 @attributes={“last\_modified”=\>nil, “title”=\>nil,  
“id”=\>nil, “contents”=\>nil, “preview”=\>nil, “sticky”=\>nil},  
@new\_record=true\>]

 \<?xml version="1.0" encoding="UTF-8" ?\>

\<env:Envelope xmlns:xsd=“[XML Schema](http://www.w3.org/2001/XMLSchema)”  
xmlns:env=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)”  
xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)”\>  
env:Body  
\<n1:ListResponse xmlns:n1=“urn:ActionWebService”  
env:encodingStyle=“[http://schemas.xmlsoap.org/soap/encoding/](http://schemas.xmlsoap.org/soap/encoding/)”\>  
  
  
  
  
  
  
  
\<last\_modified xsi:nil=“true”\>\</last\_modified\>  
  
  
  
  
  
  
  
\<last\_modified xsi:nil=“true”\>\</last\_modified\>  
  
  
\</n1:ListResponse\>  
\</env:Body\>  
\</env:Envelope\>  
Sending data  
Completed in 0.03303 (30 reqs/sec) | Rendering: 0.00013 (0%) | DB:  
0.00762 (23%) | 200 OK [[http://localhost/news/news](http://localhost/news/news)]

---

<div class="post-metadata">

**Author:** ![zven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/77aa72/32.png) [@zven](https://www.ruby-forum.com/u/zven)\
**Post date:** [May 18, 2006, 5:28am UTC](https://www.ruby-forum.com/t/webservices-execution-expired/60842/2 "2006-05-18T05:28:53Z")

</div>

I am following the instruction on the wiki and when I run: gem install  
login\_generator

I get: Permission denied -  
/usr/local/lib/ruby/gems/1.8/cache/login\_generator-1.2.0.gem

How can fix this? Thanks in advance.

[http://www.ProblemSolvingSkill.net](http://www.ProblemSolvingSkill.net)  
Hone your problem-solving skills

---

<div class="post-metadata">

**Author:** ![zven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/77aa72/32.png) [@zven](https://www.ruby-forum.com/u/zven)\
**Post date:** [May 18, 2006, 6:39am UTC](https://www.ruby-forum.com/t/webservices-execution-expired/60842/3 "2006-05-18T06:39:24Z")

</div>

I am following the instructions at [http://rails-engines.org/](http://rails-engines.org/) and I got  
Cannot install using  
subversion because `svn’ cannot be found in your PATH error message when  
I ran script/plugin  
install -x command. So I installed the Subversion and now I am getting  
Cannot install using  
externals because this project is not under subversion.

What are the pre-requisites to installing the login engine? Should I  
install the Subversion client  
on my machine? I am on Mac OS 10.4. Thanks in advance.

[http://www.ProblemSolvingSkill.net](http://www.ProblemSolvingSkill.net)  
Hone your problem-solving skills

---

<div class="post-metadata">

**Author:** ![zven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/77aa72/32.png) [@zven](https://www.ruby-forum.com/u/zven)\
**Post date:** [May 18, 2006, 6:51am UTC](https://www.ruby-forum.com/t/webservices-execution-expired/60842/4 "2006-05-18T06:51:46Z")

</div>

Bala P. wrote:

> I am following the instruction on the wiki and when I run: gem install login\_generator
> 
> I get: Permission denied - /usr/local/lib/ruby/gems/1.8/cache/login\_generator-1.2.0.gem
> 
> How can fix this? Thanks in advance.

By changing the permissions so that you can both read that file and that  
directory. You also need to have execute permission on the directory.  
Since this is a system directory, ultimately you will have to have root  
privileges.

sudo gem install login\_generator

is probably the magic incantation that you want.

–

Ray
