[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Need help with soap timeout issue

Werner Bohl

1/25/2006 5:43:00 AM

Hi

Have a Rails 1.0 based Web Service. This service exports many method.
All run fine except for a methos that takes 60-300 secs to complete.
This long running method errs when invoked from client, but it passes
functional tests.
As attached server log shows, service invocation runs to completion, its
when delivering response that the error arises. Client receives an error
html page instead of soap response.
Did set connection, send and receive timeout options in service client
driver to 10 minutes.

Server platform: Windows Server 2003,ruby 1.8.2,latest rails running on
Apache
Client platform: Centos 4.2, ruby 1.8.4

Please help me this is driving me nuts.

Werner Bohl


Web Service Request: Batch(runid=>30) Entrypoint: api
<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSc...
xmlns:env="http://schemas.xmlsoap.org/soap/envel...
xmlns:xsi="http://www.w3.org/2001...-instance...
<env:Body>
<n1:Batch xmlns:n1="urn:ActionWebService"
env:encodingStyle="http://schemas.xmlsoap.org/soap......
<runid xsi:type="xsd:int">30</runid>
</n1:Batch>
</env:Body>
</env:Envelope>

Web Service Response (50.266000): => "COMPLETED"
<?xml version="1.0" encoding="UTF-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSc...
xmlns:env="http://schemas.xmlsoap.org/soap/envel...
xmlns:xsi="http://www.w3.org/2001...-instance...
<env:Body>
<n1:BatchResponse xmlns:n1="urn:ActionWebService"
env:encodingStyle="http://schemas.xmlsoap.org/soap......
<return xsi:type="xsd:string">COMPLETED</return>
</n1:BatchResponse>
</env:Body>
</env:Envelope>
Sending data
Completed in 50.28100 (0 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.23500 (0%) | 200 OK [http://192.168.1.250/Zp4S...]


Processing Base#batch (for 192.168.1.25 at 2006-01-24 12:26:14) [POST]
Parameters: {"<?xml version"=>"\"1.0\" encoding=\"utf-8\" ?>\n<env:Envelope xmlns:xsd=\"http://www.w3.org/2001...\"\n xmlns:env=\"http://schemas.xmlsoap.org/soap...\"\n xmlns:xsi=\"http://www.w3.org/2001...-instance\">\n <env:Body>\n <n1:Batch xmlns:n1=\"urn:ActionWebService\"\n env:encodingStyle=\"http://schemas.xmlsoap.org/soap...\">\n <runid xsi:type=\"xsd:int\">30</runid>\n </n1:Batch>\n </env:Body>\n</env:Envelope>", "action"=>"batch", "controller"=>"zp4_service", "runid"=>30}


Errno::E232 (The pipe is being closed.):
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/cgi_process.rb:178:in `flush'
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/cgi_process.rb:178:in `out'
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in `process_request'
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in `process!'
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `each_cgi'
C:/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in `each'
C:/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in `each_cgi'
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!'
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in `process!'
C:/zp4ws/public/dispatch.fcgi:24


Rendering C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)

2 Answers

The Peeler

6/28/2013 4:28:00 PM

0

On Fri, 28 Jun 2013 05:50:30 -0700, The Rectum, the resident psychopath of
sci and scj, FAKING his time zone again and IMPERSONATING his master, The
Peeler, wrote:

>> >> Like I said already, you don't have any choice about it, The Rectum! <G>
>> >
>> > You, DON'T The Grik anus! <B>
>>
>> I have all the choices, The Rectum: I can stop slapping you around the place
>> and I can continue, just as I choose!
>
> I, can never, stop slapping you, around the place Grik anus! <G>

The ONLY thing you can NEVER stop is ...make a complete ass of yourself in
public, you poor psycho! LOL

--
"There was a "dirty protest" at a prison here in Norn Iron some years
ago, B'ruce. The inmates stopped washing and smeared themselves and
their cells with shite."
MID: <lr4dr8dufmj06git5mtl6nn8vl5frspe1j@4ax.com>
--
"Smell? Most necrophilia is carried out on bodies that are either
freshly deceased or embalmed and refrigerated."
MID: <v08jl89gpkrrobdcu3saq3c0vj6r5u78r9@4ax.com>
--
"If you or I tried to fuck a cow, do you think the cow would even notice? It
should not only be legal but acceptable as a legitimate alternative
lifestyle."
http://groups.google.com/group/alt.activism/tree/browse_frm/month/2003-09/ef8cdceb7bc57ff1?rnum=81&_done=%2Fgroup%2Falt.activism%2Fbrowse_frm%2Fmonth%2F...

The Peeler

6/29/2013 1:16:00 AM

0

On Fri, 28 Jun 2013 18:28:18 +0200, The Peeler
<finishingoff@themoronicRevd.invalid> wrote:

>> I, can never, stop slapping you, around the place Grik anus! <G>
>
>The ONLY thing I can NEVER stop is ...make a complete ass of myself in
>public, poor psycho that I am! LOL

Seems, you CAN'T The Grik anus! LOL