Can I send large data as a stream in request or response

I have to send a large amount of string data as a part of request to the web service provider. I cant send it as a simple string object as it will lead to OutOfMemory error. Is there any way so that i can send the data as a stream to the web service provider? I couldn't find anything in web service specification where InputStream data type is there.. so is there any alternative to send large amount of data to web service provider?

Thank you.

[459 byte] By [.@_a] at [2007-11-27 8:59:43]
# 1
If you can use JAX-WS, I believe you can do it with DataHandlers. See the following for more information: http://forums.java.net/jive/thread.jspa?messageID=224340&#224340
dkohlerta at 2007-7-12 21:27:37 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...