InputStreamSerializer

From: Christian Campo <christian.campo@xxx.com>
Date: Thu Jun 09 2005 - 05:34:01 PDT

Hi,

just found an intesting Serializer called InputStreamSerializer which
seems to do
what I looking for. It embedds the content of an inputstream into an a
webservice
response on the fly while serializing.

However there is no InputStreamDeserializer and I am not sure how to use it.

First I specified InputStream as return type and not surprisingly
Hessian complained
that it could not instantiate InputStream.

Now I am using BufferedInputStream and get the error

unknown code:
.......HessianProxy.invoke(HessianProxy.java:233)
........
.......HessianInput.error(HessianInput.java:1645)
.......HessianInput.readObject(HessianInput.java:1137)
.......JavaDeserializer.readMap(....128)
.......JavaDeserializer.readMap(....110)
.......AbstractMapDeserializer.readObject(....75)
.......HessianInput.readObject(....1038)
.......HessianInput.readReply(....279)

Any help or reply is appreciated.....
regards
christian campo

-- 
christian campo (gmail.com)
Received on Thu 09 Jun 2005 05:34:01 -0700

This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:41 PDT