|
Hi Graham
Thanks for your interest. I have included
some source files to show you how I did the streaming. It's not a complete
set so it doesn't compile, but it should give you an idea how the client side
works at least. (Sorry for posting an attachment everyone! It's only
10K)
The original BatchItemStreamArray class as
generated by WSDL2Java simply contains an array of BatchItem objects called
batchItems. Either the client or server can use this default
implementation, at the risk of running into memory problems if the array is
large. The new BatchItemStreamArray class emulates the original class, but
extends the StreamArray class, which contains all the hooks necessary to
serialize/deserialize on the fly without having to actually create the
array. It's all a bit unrefined at the moment, since I'm just doing a
proof of concept as a first step.
The application I am designing must be able to cope
with hundreds of thousands or even millions of records. The size of each
record is dynamic, so I can't put an exact figure on the number of
MB.
Does Glue have the same limitations as axis in this
regard?
|
RPCStreaming.zip
Description: Binary data
