Ans)
Select from following answers:
|
------------------------------------------------------
2)In traditional web services, Only Public fields or Properties of .NET types can be translated into XML ?
True or false ?
Ans)
Select from following answers:
|
Select from following answers:
No. Traditional web service uses XmlSerializer class to serialize or de-serialize objects into/from xml. Classes that implement the IDictionary interface, such as Hash table cannot be serialized or de-serialized. By using WCF, DataContractSerializer can translate the HashTable into XML. |
Select from following answers:
True. Traditional web services use XmlSerializer class to serialize and de-serialize objects into/from XML documents. Here, we can only serialize or de-serialize those fields or properties which are marked as public ! This drawback has been rectified by WCF ! |
No comments:
Post a Comment