Hi,
I need to implement a java service, reading from stream a data chunk by chunk, processing it and writing to an output stream.
I faced the problem, that when writing in loop chunks of data to output variable they are not being passed to the next component in the flow, as I would like it, until my service returns.
At this point I started to think of using 2 services, reader and writer, while saving my processing unit somewhere in Repository(since I need to access it across sessions),
but this doesn’t seem to be very simple solution.
Is there a standard way to work with streams in webMethods?
Thank you!