Creating serializer and deserializer classes...
Creating serializer and deserializer classes...
- Subject: Creating serializer and deserializer classes...
- From: Ismael Nass-Duce <email@hidden>
- Date: Sat, 10 Apr 2004 09:54:58 -0700
Hi,
Has any one written serializer and deserializer classes
for serializing/deserializing custom objects that you
passes between web services.
I created a WebObjects application that supports web
services. When passing a basid type, such as String,
things work just fine. But when a passing a custom
class that conforms to the to the types supported by
JAX-RPC, I get an error message (No serializer found for class...).
http://java.sun.com/webservices/docs/ea2/tutorial/doc/JAXRPC4.html
Tony and Chris gave me some suggestions, but I couldn't
get things to work.
I tried to find an answer in the Java & XML book as suggested
in the Web_Service.pdf document that comes with WebObjects,
but found myself getting lost.
Here's all what the Web_Service.pdf says under "Serialization and
Deserialization of Objects":
"Complex classes require a custom serialization and deserialization
strategy. WebObjects provides serializers and deserializers for [most
of its classes]. If you have special classes that required a special
serializer and deserializer, you have to create them.
Creating serializer and deserializer classes is a simple process, but
requires knowledge of SAX (Simple API for XML). To learn how to
process SAX callbacks in your serializers and deserializers, see Java
& XML (OReilly)."
Any tips are appreciated.
Ismael
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.