Hi Cj,
Regarding on the problem you mentioned, you need to move an existing
webreference(of google webservice) from VS 2005 project to new VS 2008
project due to the new webservice document has been changed (one method
removed though still supported).
I think you can consider the following means to reuse the existing
webservice proxy(from that VS 205 program):
1. I hope the original VS 2005 project is not a web project. If so, it
should contain the webreference's auto-generated code file. You can see it
by click "show all files" option on Solution explorer and expand the
webreference node(of your google webservice proxy). Then, you can copy this
code file to your new VS 2008 project and reuse it.
2. Web Reference(proxy ) is generated from WSDL document, so if you can
still find the original version of the google service wsdl, you can
generate the old webreference through the old WSDL. As the same in #1, the
VS IDE should have keeped a local copy of the wsdl document together with
the auto-generated proxy code. You can expand the webreference node to see
whether you can find it. After you have the wsdl, just add
webreference(in vs 2008 project) against that wsdl document.
Hope this helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>Date: Mon, 21 Apr 2008 12:08:11 -0400
From: cj <cj@nospam.nosp am>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
>
Back some time ago I was playing with a little app in VB 2005 that used
a google web service to get search results. I was rebuilding this app
in 2008 today. I added the web service
http://api.google.com/googlesearch.wsdl and then down in the code I was
typing Dim myGoogle As New Google.GoogleSe archService only to find
GoogleSearchSe rvice was no longer a method. I looked on google for
documentatio n and it appears they no longer offer that method but
continue to support it for existing users. I confirmed it still works
in my VB 2005 program. So, how can I move this Web Reference from my
2005 program to my 2008 program? I see in Visual Studio
2005\Projects\ GoogleApp\Windo wsApplication20 \Web References\Goog le what
appears to be the files but where would I put them in the 2008 program?
I don't see any there for Google to overwrite.