Hello,
I was wondering if it's possible to reuse objects in web references in an ASP.NET Server control? (basically keeping the same web reference name)
I have a few web services (.asmx) that I want to group with the same web reference name, however when I consume them using the same name they append a 1 at the end and with all object names.
Right Click - Add Web Reference Enter URL of asmx Type "MyServices" in for Web Reference Name
Repeat, Add Web Reference Type "MyServices" in for Web Reference Name And it adds it as "MyServices1" rather than grouping and reusing the same objects.
This only appears to do this on ASP.NET Server Controls - any other project that I have ever created, standard c# console application, asp.net web application all group the objects and web reference names together.
Am I missing a patch, upgrade, or is this just not possible with a Server Control?
Just for a little background, I'm creating a control that I can drop into projects based on a single dll.
I'm able to group the services in a test project if it's a web application, however they do not group in the Server Control project.
Any help would be greatly appreciated!
Thanks!
Jamey
An example is located here: