You might just try JAXB. http://java.sun.com/xml/downloads/jaxb.html
Anne > -----Original Message----- > From: Alex Dovlecel [mailto:[EMAIL PROTECTED]]On Behalf Of > Alex Dovlecel > Sent: Wednesday, November 20, 2002 9:04 AM > To: [EMAIL PROTECTED] > Subject: Re: sample for using axis for (de)serialization only? > > > Hi, > It seems you are just trying to kill a bug with a canon. > > I am shure there are some (free) tools that just do the java2xml > stuff and I > suppose they are more suitable for you instead of changing the > source code. > But I don't know much of those tools... hope somebody will tell us all. > > I suppose (my own oppinion) that axis could do that, but you have > to change > some source code and you should rip all the other not usefull parts (for > you). > > So its quite chalenging but might take some time. And just pay attention > because axis uses alot of stuff (you see how many jars do you > need in order > to run axis). > > Other solution that I found was to use a small soap engine. And I > used the > ksoap!!! Is great and, being very small, is very easy to take out > the parts > you don't need. And I managed to transform a java object in xml > format. :o))) > > I could even remove the extra name spaces and stuff like this. > > HIH > dovle > > > Hi there, > > > > I was only searching for a library that provides java2xml > serialization and > > deserialization with support for multi-refs (!) (like "SOAP section 5 > > encoding"). > > > > I found Axis but did not yet manage to write a simple sample > that does not > > need any server reference or any other overhead for this requirement. I > > only want to have a simple bean being serialized to an xml file. > > > > Questions: > > (1) Is Axis useful for this task or shall I take another library? > > (2) Where can I find a simple code sample only about serialization? > > > > Thanks for your help!!! > > Armin >
