From: Holden Glova Date: 2002-04-11T16:02:02+09:00 Subject: Re: SOAP query -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 10 Apr 2002 19:41, NAKAMURA, Hiroshi wrote: > Hi, > > > From: Holden Glova [mailto:dsafari@xtra.co.nz] > > Sent: Thursday, April 04, 2002 8:19 PM > > > > I have soap clients connecting to several services, but one > > service only > > works about 30% of the time and the rest of the time dies > > with a horrible > > error much like the one below, except the number of "levels" > > seems to vary. > > I don't know if I read all related messages but, does > your module work well by itself separately from WEBrick? > Still 30%? > > Since SOAP4R does not depend on net/http, the exception > is from other code (your servant object, maybe). > > Two possibilities I can imagine; > 1. Time may run out in HTTP client of SOAP4R (using > http-access2 in RAA). It is 60 sec by default. > Your servant object runs more then 60 sec? > 2. Threading? WEBrick + soaplet.rb runs under MT so > multiple HTTP request may dive into your servant code. > The servant which is hosted in soaplet.rb must MT-safe. > > Regards, > // NaHi Yes NaHi, the day after I posted this query to the ML I did standalone soap services and they worked 100% of the time. So the problem must be with WEBrick and/or the soaplet? Guy N. Hurst and I where talking on IRC and your #2 possibility came up as a possible reason. My current solution is to have separate standalone services instead of useing the soaplet idea. The thing I liked about the soaplet idea was that it was a single point of contact with the clients, but with a different namespace provided. Thanks for sharing your insights. - -- Signed, Holden Glova -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8tTUW+mF116Lw2cQRAgJKAJ4l88PbmLPOLs4PBXFP3IImbEWz0gCfYLCI t7Itox36a6wJDovWm4s+xtg= =demC -----END PGP SIGNATURE-----