Hi,

 

I am also facing the same problem. Can anyone help us out.

Any help will be appreciated. 

 

Thanks & Best Regards,

Sudhir Sharma

  _____  

From: ABBUHL Richard NL [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 31, 2007 4:43 PM
To: [email protected]
Subject: Serialize/Deserialize

 

Axis allows you to serialize an object into XML using a
SerializationContext.  For example,

 

   // serialize the object

  StringWriter strWriter = new StringWriter();

  SerializationContext ctx = new SerializationContext(strWriter,
MessageContext.getCurrentContext());

  ctx.serialize(new QName("MyObjectNamespace",  "MyObject"), null, myObject,
null, Boolean.FALSE, Boolean.FALSE);

  String value = strWriter.toString();

 

Is it possible to use Axis to deserialize this string back into an object of
type MyObject?  If so, can you please provide an example?

 

Regards,
Richard

 

----------------------------------------------------------------------------
-------------------------------
This message is intended for the addressee or its representative only. Any
form of unauthorized use, publication, reproduction, copying or disclosure
of the content of this e-mail is not permitted. If you are not the intended
recipient of this e-mail message and its contents, please notify the sender
immediately and delete this message and all its attachments subsequently.

Reply via email to