D
Diego F.
Hello. I'm getting a serialization error with the following.
I'm doing an app that works with a webservice. The app and the WS has to
work with a class that I made as a DLL; I have some web methods that
receives objects from this class as parameters. Although it compiles, when I
try to add the web reference to the application, I get an error:
"Library.Class cannot be serialized because it does not have a default
public constructor. "
The class has a constructor where I set the attributes, and it's the only
constructor.
Can you please help me?
Regards,
Diego F.
I'm doing an app that works with a webservice. The app and the WS has to
work with a class that I made as a DLL; I have some web methods that
receives objects from this class as parameters. Although it compiles, when I
try to add the web reference to the application, I get an error:
"Library.Class cannot be serialized because it does not have a default
public constructor. "
The class has a constructor where I set the attributes, and it's the only
constructor.
Can you please help me?
Regards,
Diego F.