• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Creating serializer and deserializer classes...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • WO Direct to Java Client Application questions
      • From: Ismael Nass-Duce <email@hidden>
References: 
 >java.io.IOException: No serializer found for class... (From: Ismael Nass-Duce <email@hidden>)
 >Re: java.io.IOException: No serializer found for class... (From: Tony Becker <email@hidden>)
 >Re: java.io.IOException: No serializer found for class... (From: Ismael Nass-Duce <email@hidden>)

  • Prev by Date: Re: Java Client tutorials and books
  • Next by Date: Java Client tutorials and books
  • Previous by thread: Re: java.io.IOException: No serializer found for class...
  • Next by thread: WO Direct to Java Client Application questions
  • Index(es):
    • Date
    • Thread