I have a service method which returns xml document to client. If I have this method, then service is returning error:
"The service encountered an error while generating metadata. See the trace files for more details."
My code is:
Is there any thing wrong in the above code?
Thanks in Advance,
You will need to add the [XmlSerializerFormat] attribute.
So (without using Datacontract although you can use that too):
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?