Answered by:
Bug in Visual Studio 2008 re. Service References?

Question
-
User1497574738 posted
Has anyone come across this problem? I've been developing in VS2008 but have found that occasionally when I add a service reference for a WSDL url to a project and VS attempts to build the required supporting files, the Reference.vb file is created and generates many errors, most of which are
"Public Property [X] has multiple definitions with identical signatures", and...
"[X] is already declared as 'Private [X] As String' in this class"
However when I use the same wsdl url to add a service reference in VS2010 the files are generated with no errors.
We can use VS2010 as a last resort but we'd prefer to stick with VS2008. We've checked with the team that developed the WSDL's and they assure us that there are no errors in the WSDL's. Also, many other teams are able to access them using other platforms/techniques (not VS2008) so I tend to believe them. Does anyone know of a fix/workaround for this?
Friday, March 15, 2013 10:31 AM
Answers
-
User-1662538993 posted
have you tried creating it with wsdl.exe instead of adding it as a service reference?
I find other people have complained about the same.
Check this links -
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, March 15, 2013 1:35 PM
All replies
-
User-1662538993 posted
Check this thread where you posted the same question which have answer for your question -
http://social.msdn.microsoft.com/Forums/en-US/visualstudiogeneral/thread/2d53eff6-b81e-4581-933a-a9f8a1266789
Friday, March 15, 2013 11:27 AM -
User1497574738 posted
The response to my question on the social.msdn.microsoft.com was not an answer. They told me the question was outside the scope of that forum and that I should ask here.
Friday, March 15, 2013 11:35 AM -
User-1662538993 posted
have you tried creating it with wsdl.exe instead of adding it as a service reference?
I find other people have complained about the same.
Check this links -
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, March 15, 2013 1:35 PM