469,609 Members | 2,252 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

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

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
0 1073

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by pagates | last post: by
5 posts views Thread by Mike Logan | last post: by
54 posts views Thread by m.roello | last post: by
reply views Thread by Solution2021 | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.