Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

serialization and deserialization support in SOAP

 
Rashmi Tambe
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Page #?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rashmi Tambe
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thnaks Lasse! That makes it clear!
Pradeep, its on page #124, chapter 4.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops. I wrote them down the wrong way...
Serializer: convert Java objects to XML
Deserializer: convert XML to Java objects
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic