From: "NAKAMURA, Hiroshi" Date: 2005-07-16T21:52:50+09:00 Subject: Re: Web services and larger files -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Luke Kanies wrote: > This is an addendum to my earlier thread about web services and ruby, > wherein I was forced to accept the inevitability of using threads. > > I've successfully got my client and server talking to each other for > small tasks, but I'm trying to expand to being able to pass (sometimes > large) files around and I've run into what seems almost like a > fundamental problem. > > Basically, I'm trying to send a file over the wire, and for files above > about 20k in size I get an indefinite hang. Hmm. I tried sending 2M< size binary file but it seems to work. Can I see an example which causes indefinite hang? > I'm currently actually passing the file contents as an argument to the > method call; should I instead somehow attach the file somehow? Is there > an accepted way to pass files around in XML that I don't know about? Do you see a sample of "SOAP with Attachment" at http://dev.ctor.org/soap4r/browser/trunk/sample/soap/swa/ ? Regards, // NaHi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) iD8DBQFC2QL2f6b33ts2dPkRAlRwAJ9Up8e/8oxWbSPnEz3EVZv9qRP0XwCfSTe/ 7uVzIQhhnxLhIQagmjKzI3Q= =IDmO -----END PGP SIGNATURE-----