473,903 Members | 4,819 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Google search web service

cj
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
GoogleSearchSer vice was no longer a method. I looked on google for
documentation 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\G oogleApp\Window sApplication20\ 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.
Jun 27 '08 #1
5 2570
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.
Jun 27 '08 #2
cj
Sorry it's taken so long to get back to you. I got it to add a web
reference in 2008 with all the old methods by pointing it to the google
wsdl stored in my 2005 app directory
(2005\Projects\ GoogleApp\Windo wsApplication20 \Web
References\Goog le\googlesearch .wsdl but I had to add it to the 2008 app
as a "Web Reference" instead of a "Service Reference".

If I try to add my copy of the google wsdl as a service reference it
apparently asks google what methods are available as it comes up with
only the methods google now offeres in their wsdl file.

Is this normal? What is the difference between a service reference and
a web reference?

Thanks,
cj

Steven Cheng [MSFT] wrote:
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.
Jun 27 '08 #3
Thanks for your reply Cj,

Generally "Add ServiceReferenc e" will use svcutil.exe to generate the WCF
client proxy code. I haven't inspected into its internal code logic, based
on your description, it will still requesting the google online webservice
description even if you specify the local WSDL document, correct?

If so, I think it is possible that the Service Reference generation tool
will parse any location info in the WSDL document and visit the online
version to get the latest contract.

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.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>Date: Wed, 23 Apr 2008 17:03:05 -0400
From: cj <cj@nospam.nosp am>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Subject: Re: Google search web service
>
If I try to add my copy of the google wsdl as a service reference it
apparently asks google what methods are available as it comes up with
only the methods google now offeres in their wsdl file.

Is this normal? What is the difference between a service reference and
a web reference?

Thanks,
cj

Steven Cheng [MSFT] wrote:
>Hi Cj,

Regarding on the problem you mentioned, you need to move an existing
webreference(o f 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(i n 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
GoogleSearchS ervice was no longer a method. I looked on google for
documentati on 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\Wind owsApplication2 0\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.
Jun 27 '08 #4
cj
Sounds like that is what it's doing. That's ok, I will just add it as a
web service in the 2008 app as it works that way.

Thanks for your help.

cj
Steven Cheng [MSFT] wrote:
Thanks for your reply Cj,

Generally "Add ServiceReferenc e" will use svcutil.exe to generate the WCF
client proxy code. I haven't inspected into its internal code logic, based
on your description, it will still requesting the google online webservice
description even if you specify the local WSDL document, correct?

If so, I think it is possible that the Service Reference generation tool
will parse any location info in the WSDL document and visit the online
version to get the latest contract.

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.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>Date: Wed, 23 Apr 2008 17:03:05 -0400
From: cj <cj@nospam.nosp am>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Subject: Re: Google search web service
>If I try to add my copy of the google wsdl as a service reference it
apparently asks google what methods are available as it comes up with
only the methods google now offeres in their wsdl file.

Is this normal? What is the difference between a service reference and
a web reference?

Thanks,
cj

Steven Cheng [MSFT] wrote:
>>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
webreferenc e 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
professiona l 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
GoogleSearch Service 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\Project s\GoogleApp\Win dowsApplication 20\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.
Jun 27 '08 #5
"cj" <cj@nospam.nosp amwrote in message
news:eT******** ******@TK2MSFTN GP03.phx.gbl...
Sounds like that is what it's doing. That's ok, I will just add it as a
web service in the 2008 app as it works that way.
I don't know whether anyone from Microsoft regularly reads the Visual Basic
groups but if they do then I am very surprised that they permit one of their
own MVPs to engage in such outrageous long term trolling activities in one
of their own public newsgroups, such as the activity that the person who
purports to be Bill McCarthy has engaged in on the
microsoft.publi c.vb.general.di scussion group for many months. If this man
belongs to you:

https://mvp.support.microsoft.com/pr...9-25680609CCB8

.. . . then perhaps you might like to look at his activity in that group.
Here for example is one of his very latest offerings:

"Bill McCarthy" <Bi**@N0SPAM.co mwrote in message
news:19******** *************** ***********@mic rosoft.com...
Yeh, still a way to go. I think given the warm reaction today,
and given some folks have learning difficulties around here
(obviously why they are still *stuck* in VB6 *only*), might
just have to ramp things up a notch or two, and make it more
toasty :D


Jun 27 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
2390
by: Mario | last post by:
Hello everybody, I am looking for a good script to work a searchprogram for Google .... How can tel me? Not with a logo from google THnx -- -------"""------- ---()--- °?----(_)-----?° | Greetz Mario|
3
4211
by: Alastair | last post by:
Hello guys, I've been building a search facility for an intranet site I'm part of developing and we've been building a search engine using Index Server. It mostly works, however there have been a few niggling problems and fixing it seems to be a case of patching errors as we find them so I'm thinking that it might be worth starting the logic from scratch and rebuilding this again. Basically we have a simple search, which is simply a...
0
2179
by: Steve Chen | last post by:
Wireless Search with Summarized Results/Web Pages, powered by Google! We just released a wireless search service. The wireless search service takes the results returned by Google and gives key points of the resulting web sites. The short key points are suitable for viewing on wireless devices. Check it out at: <a href=http://www.netosprey.com> wireless search </a>
9
2417
by: Ray5531 | last post by:
Sorry if this is irrelevant to this website,but I didn't find a better place to ask this question.I sent an email to google as well which I didn't recieve the answer.I'm creating a website and apparently the host hasn't registered me in googles search engine(I donnu why?) .I was rerading that if I add a Addsense program of google my webpage could be searchable and I earn money ,Is that right? Thanks
1
1376
by: Gabriel B. | last post by:
the google webservices (aka google API) is not even close for any kind of real use yet if you search for the same term 10 times, you get 3 mixed totals. 2 mixed result order. and one or two "502 bad gateway" i did an extensive match agains the API and the regular search service. the most average set of results: results 1-10; total: 373000
2
2053
by: gen_tricomi | last post by:
THE IMPORTANCE OF MAKING THE GOOGLE INDEX DOWNLOADABLE I write here to make a request on behalf of all the programmers on earth who have been or are intending to use the Google web search API for either research purposes or for the development of real world applications, that Google make their indexes downloadable. Currently application programmers using the Google web search API are
3
2952
by: Del4541 | last post by:
Hello, Yesterday, when I tried to use the Google seach engine, the message "Error...forbidden (as shown below) appeared. I have tried dowloading the google task bar but I still come back to the same message. I can't use google! Something has been changed in my settings, I suppose. Can someone help me to rectify the problem? Thanks, Del
20
2466
by: tatata9999 | last post by:
The first generation of web site search engine hands-down is google. A majority of these web sites are static page -driven html pages. Now, I would think more and more web-based applications are coming into the fray, my recent experience with google's webbot (indexing engine, a part of the google's search service) tells me that its indexing algorithm does not consider a database-driven web application as part of
1
153
by: Mike Kent | last post by:
On Apr 16, 10:26 am, Mike Driscoll <kyoso...@gmail.comwrote: Bless you. I just installed Greasemonkey and the Google Groups Killfile. Works like a charm.
0
9999
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9847
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11283
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10986
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9685
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8049
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6093
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4727
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3324
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.