Refering to a Webservice creates a new type

Mar 19 2004 5:51 AM
I'm trying to write a Client-Server App. The Server-Side functionality is implemented by a webservice that references a code library which is used by the client, too. This lib defines a struct that is used often on both sides... but when I define the struct as a result of a webmethod, update my binding to the webservice it results in a autogenerated class that is not directly castable to my original type! Anyone who knows how to avoid the problem? Bart Simpson

Answers (5)