I am having a project designed in ASP.NET which is having a webreference to a web service. I recently added an object as a parameter to the webmethod in the webservice which calls business layer to do some calculations. But this gives me error saying "The component was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically." Can you explain me what is the cause of this error message?
Bookmarks