Changeset 1666
- Timestamp:
- 11/12/05 15:01:13 (3 years ago)
- Files:
-
- trunk/test/soap/test_streamhandler.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/test/soap/test_streamhandler.rb
r1665 r1666 237 237 end 238 238 end 239 240 # not used 241 class ExternalProcessStreamHandler < SOAP::StreamHandler 242 def self.create(options) 243 new 244 end 245 246 def send(endpoint_url, conn_data, soapaction = nil, charset = nil) 247 cmd = "cat" # !! 248 IO.popen(cmd, "w+") do |io| 249 io.write(conn_data.send_string) 250 io.close_write 251 conn_data.receive_string = io.read 252 end 253 conn_data 254 end 255 256 def reset(endpoint_url = nil) 257 end 258 end 239 259 end 240 260