By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 1,063 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

Where is Reference.cs in 2005 and how to add System.Xml.Serialization.XmlRootAttribute?

P: n/a
Hello -
I have a complex object which I am exposing over a webservice on our
intranet. In Visual studio 2003 I had to add
"[System.Xml.Serialization.XmlRootAttribute(Namespac e="http://www.weburl.org/05",
IsNullable=false)]" just above my complex object in Reference.CS under
Reference.map area. After I did this on the client side, I was able to
load the full object including children also.

Now I am consuming the same webservice in VS 2005 developed asp.net
application. And it looks like VS 2005 still did not fix the issue of
creating correct wsdl for complex objects. I am not able to load child
objects when I deserialize the XML returned from my method calls. I
can not even able to add the XmlRootAttribute attribute in 2005 as I am
not able to find the Reference.CS file itself. Please help.

Thanks,
Vinny

Mar 24 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.