I had no luck with this and I am using Axis with ColdFusion so I am forced
to use an old version of Axis.

>From what I could see the only way to manually deserialize/serialize is to
use the contextimpl, but the contextimpl requires an envelope. The whole
process seemed to have way too much overhead, and I was just trying to
serialize/deserialize attachments. Since my attachments were xml I just used
castor to build my beans and then i used the castor serialize/deserialize
functionality. I think in the end it was the best way to do it. The
capabilities of castor are far better. The mapping features are great and i
like the fact that my attachment objects are all independant from my service
code.

soapxdk also has some nice features for this.

--george

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 1:45 PM
To: [EMAIL PROTECTED]
Subject: serializer.serialize() and org.xml.sax.Attributes


I'm trying to manually serialize a JavaBean with the serialize method in
org.apache.axis.encoding.Serializer.  The does anyone know anything about
the attributes parameter?  It does not like me passing it null.

serialize(QName�name, org.xml.sax.Attributes�attributes,
java.lang.Object�value, SerializationContext�context)

Cheers
Steve Maring


Reply via email to