Home All Groups Group Topic Archive Search About

StringDictionary and web method parameter

Author
10 Apr 2007 9:28 PM
Hardy Wang
Hi all,
StringDictionary has [SerializableAttribute], I would like to use it as one
of parameter in web method of one of my web service, it seems that I cannot
do it. When I try to update web reference with this new paramter, I get

Error    1    There was an error downloading
'http://localhost:2485/MyWs/User.asmx?disco'.

The request failed with the error message:
--
System.InvalidOperationException: Method User.AddUser can not be reflected.
---> System.InvalidOperationException: There was an error reflecting
'extraInfo'. --->
System.InvalidOperati    file:///C:/Work/MyProject/MyWebUI/App_WebReferences/UserService/User.discomap    C:\...\MyWebUI\

here "extraInfo" is a paramter as StringDictionary.

--
Regards
Hardy

AddThis Social Bookmark Button