Link to home
Start Free TrialLog in
Avatar of SGyves
SGyves

asked on

Can't Expose Data Contract When Not Used By A Web Service Method

THis drove me crazy for a couple hours. But I have realized that unless I have a method that uses one of my DataContracts as a parameter or a return value, the class is not exposed in the WSDL. So my question is...why the heck not...and can I expose it anyway somehow?
ASKER CERTIFIED SOLUTION
Avatar of ororiole
ororiole
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SGyves
SGyves

ASKER

Okay...problem is...I am mimicing a web service that takes XML as a string and does some serialization\desiralization into these objexts. Unfortunately...I do not have much say in the design on that part. Probably should have just used regular ASP web services eh? But I appreciate you confirming my insanity. Really I do.