Thank you very much.
PS. I already order the Axis book.
Zhaohua
Dennis Sosnoski wrote:
Custom serialization for Axis has nothing to do with java.io.Serializable and such. The best Axis book is "AXIS: Next Generation Java SOAP" from Wrox. This provides pretty good coverage of Axis overall, though only about 8 pages on custom serialization.
Zhaohua, besides the encoding sample code you might also want to look in the Axis source code to view how the built-in serializer/deserializers are written. These are in the org.apache.axis.encoding.ser package. As far as I know the only difference between these and custom serializers you write yourself are that these are mapped to types by default - when you write your own, you'll need to define it in the WSDD to make it usable by Axis.
- Dennis
Dennis M. Sosnoski
Enterprise Java, XML, and Web Services Support
http://www.sosnoski.com
Redmond, WA 425.885.7197
Mark Galbreath wrote:
Read the Java API documentation for the java.io package, especially
java.io.Serializable, java.io.ObjectOutputStream, java.io.ObjectInputStream,
java.io.ObjectInput, and java.io.ObjectOutput.
Then, read Graham, et al, "Building Web Services with Java" (Sams, 2002) -
the best treatment on the subject to date (with an entire chapter devoted to
Axis).
Mark
-----Original Message-----
From: Zhaohua Meng [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 5:03 PM
Does anybody know where I can find some documentation on how to implement a custom serializer? I'm new to Web Services and Axis and was given a task to make our existing Java apps Web Services ready. I have a hard time understanding how a serializer/deserializer should be implemented, even after I looked at the examples provided at the samples/encoding package.
Thanks,
Zhaohua
