aspose file tools*
The moose likes Web Services and the fly likes serialization and deserialization support in SOAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "serialization and deserialization support in SOAP" Watch "serialization and deserialization support in SOAP" New topic
Author

serialization and deserialization support in SOAP

Rashmi Tambe
Ranch Hand

Joined: Aug 07, 2001
Posts: 418
What is serialization/deserialization support in SOAP encoding rules? I am refering to the book 'Develeoping Java Web services'
By Nagappan. It says,
serializers and deserializers supporting SOAP encoding rules provide the encoding and decoding of data on runtime by mapping
XML elements to target application objects and vice versa

I have not understood the meaning of this stsmt? can anybody make it simpler?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Page #?


Groovy
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Remove the middle part and it becomes more understandable:
serializers and deserializers provide the encoding and decoding of data on runtime by mapping XML elements to target application objects and vice versa
In more simple terms, serializers are responsible for taking a <myobject><id>123</id></myobject> and turning it into an instance of com.foobar.MyObject with id "123". Deserializers are responsible for reversing the above process.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Rashmi Tambe
Ranch Hand

Joined: Aug 07, 2001
Posts: 418
Thnaks Lasse! That makes it clear!
Pradeep, its on page #124, chapter 4.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Oops. I wrote them down the wrong way...
Serializer: convert Java objects to XML
Deserializer: convert XML to Java objects
 
Don't get me started about those stupid light bulbs.
 
subject: serialization and deserialization support in SOAP