Danh,
 
   I think you are supposed to use the Message object from the client.  If you really want to serialize a Message object I would use the BeanSerializer class (if Message is a java bean) or write your own.
 
You might want to look at the GetAddress.java example in samples.addressbook package for how to use the BeanSerializer class.
 
--Abraham
-----Original Message-----
From: Danh Hoai [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 2:04 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: How to map Element Object?

Hi all,
 
I am writing a small program to accept a request from a client, and then returns back to the client with an org.w3c.dom.Element Object and Message Object(for the other method).  Basically, I want to return a XML stream to the client.  But server displays a message saying there is no Serializer to serialize org.apache.message.Message.
 
I think I have to map dataType in the service/client but I really have no clue how to this.  If anyone has done this kind of stuffs, please help me out or give me some references how to do this.  Is there any good SOAP tutorial??
 
Thank you.
 

Reply via email to