Add Web References to Visual Studio 2008

So I’m doing a little work connecting to a Currency Exchange rate web service, simple enough.  Normal steps are to right click your solution->Add Web Reference, punch in the WSDL location and bang, web service goodness is at hand.

But with VS 2008 the option I have is "Add Service Reference".  So I run thru these steps and things are smooth again.  But now all the documentation the vendor provided seems way off in terms of naming and such.  Long story short is you need to click the advanced tab

image

And then go the compatibility section to add it the .NET 2.0 way.

image

Written by Tim on February 27th, 2008 with 21 comments.
Read more articles on asp.net.

Related articles

21 comments

Read the comments left by other users below, or:

Get your own gravatar by visiting gravatar.com cbm
#1. March 15th, 2008, at 4:54 AM.

thanks buddy, i was getting nuts over this..

thanks again,
Christian

Get your own gravatar by visiting gravatar.com ahmed
#2. March 21st, 2008, at 8:25 PM.

all thing :sex

Get your own gravatar by visiting gravatar.com pravin
#3. May 26th, 2008, at 4:06 AM.

Thanks mate, u saved my time.

Get your own gravatar by visiting gravatar.com Deboshree
#4. July 17th, 2008, at 9:49 PM.

oooohhhhhhhhhhhhh thanks a zillion! I was on the verge of losing it!

Get your own gravatar by visiting gravatar.com Lynn
#5. July 25th, 2008, at 3:40 PM.

Thank you. I, too was tearing my hair out searching for the “Add Web References” button in VS2008.

Get your own gravatar by visiting gravatar.com Mazhar
#6. September 8th, 2008, at 4:43 AM.

Hi,
When i add one web reference it added. but then after i add add webreference second time VS 2008 get error of close the project.

Get your own gravatar by visiting gravatar.com ref
#7. September 9th, 2008, at 12:33 PM.


Get your own gravatar by visiting gravatar.com Sandip
#8. September 9th, 2008, at 12:35 PM.

Get your own gravatar by visiting gravatar.com Sandip
#9. September 9th, 2008, at 12:35 PM.

I also have had same problem…………………….

Get your own gravatar by visiting gravatar.com lsk
#10. January 6th, 2009, at 7:50 PM.

Thanks man, saved me a lot of time.

Get your own gravatar by visiting gravatar.com Sreenath
#11. January 9th, 2009, at 5:28 AM.

Hey,

short, simple and to the point and gave me exactly what i was looking for.

Thanks
Sreenath

Get your own gravatar by visiting gravatar.com srikanth
#12. March 14th, 2009, at 10:39 PM.

I was getting an error as follows,
Server Error in ‘/’ Application.
——————————————————————————–

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not create type ‘CustOrderService.CustOrderService’.

Source Error:

Line 1:

Source File: /CustOrderService.asmx Line: 1

——————————————————————————–
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

How do i resolve this?

Trackback Mention from Ahousebuy.com
#13. April 18th, 2009, at 7:51 AM.

Residential Property Investment: Residential Property Investment... I think you are definately right about that. But your idea only applies part of the time....

Get your own gravatar by visiting gravatar.com Ken
#14. May 3rd, 2009, at 2:52 PM.

Your suggestion worked for me. Many thanks.

Get your own gravatar by visiting gravatar.com Davor
#15. May 18th, 2009, at 12:54 PM.

Thx a lot m8, u really helped me out.

Get your own gravatar by visiting gravatar.com Jeff Temple
#16. July 2nd, 2009, at 6:18 PM.

Tim thx so much, this fixed my issue!

Get your own gravatar by visiting gravatar.com Densanki
#17. August 7th, 2009, at 12:08 PM.

Thank you. I searched a long time. Shit Happens…

Get your own gravatar by visiting gravatar.com Nick
#18. January 21st, 2010, at 10:09 AM.

Great – Thanks!

Get your own gravatar by visiting gravatar.com Maxim
#19. March 25th, 2010, at 6:10 PM.

Thank you, saved me a lot of time!

Trackback Mention from Blogosfera.co.uk
#20. April 2nd, 2013, at 5:04 AM.

Getting started with Exchange Web Services 2010 | BlogoSfera: I went back on the hunt. I found instructions on adding service references and web references (i.e. the extra ...

Trackback Mention from Askprogramming.com
#21. November 2nd, 2013, at 3:54 PM.

Getting started with Exchange Web Services 2010 | Ask Programming & Technology: I went back on the hunt. I found instructions on adding service references and web references (i.e. the extra ...

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .