Hashtable Serialization problem in Webservice

  • Thread starter Thread starter Sajid
  • Start date Start date
S

Sajid

Hi,

I 've a problem while creating a web method which returns a class object.

The actual implementaion of the class using a hashtable which is not
serialized by the webservice..

any pointers would be helpful in resolving my problem ...

thanx & regards

sajid
 
Sajid said:
Hi,

I 've a problem while creating a web method which returns a class object.

The actual implementaion of the class using a hashtable which is not
serialized by the webservice..

any pointers would be helpful in resolving my problem ...

thanx & regards

sajid

The XmlSerializer can't serialize objects that implement IDictionary.
http://msdn.microsoft.com/msdnmag/issues/03/06/XMLFiles/default.aspx
explains why and describes a way around this limitation.

Willy.
 
Back
Top