Deserialization
====================
* Namespace is very important when you want to convert your xml to the class that has been provided by web service (WSDL)
* You need to add the namespace from the document
xlns:"www.tempuri.org"
* add namespace in your serialization object
------C#-------
Serialization aSer = new Serialization(typeof(YOUR_OBJECT_NAME), _
doc.DocumentElement.NamespaceURI));
------VB-------
dim aSer as new Serialization(GetType(YOUR_OBJECT_NAME), _
doc.DocumentElement.NamespaceURI))
=====================================
1 comment:
Post a Comment