You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Daniel Elenius <da...@student.liu.se> on 2003/03/17 17:03:47 UTC

[Fwd: Message serialization bug (?)]

I sent this to axis-user but I got no reply, and I think it is a dev
question anyway...

/Daniel

-----Forwarded Message-----

> From: Daniel Elenius <da...@student.liu.se>
> To: axis-user@ws.apache.org
> Subject: Message serialization bug (?)
> Date: 13 Mar 2003 18:03:27 +0100
> 
> I have a question regarding (de)serialization of org.apache.axis.Message
> objects.
> 
> It seems to me like there is a general serialization method, writeTo(),
> but there is no general deserialization method, like "readFrom()" or a
> constructor/factory method that creates an arbitrary Message (possibly
> with attachments) from an InputStream or String. 
> 
> With the constructors you can either just create the SOAPPart, OR you
> have to know the Content-type etc. And I don't want to use
> ObjectOutputStream/ObjectInputStream and send Java objects on-the-wire
> because I want to keep it language-neutral.
> 
> Have I missed something?
> 
> If not, I would call this a bug.
> 
> Regards,
> -- 
> Daniel Elenius <da...@student.liu.se>