473,379 Members | 1,337 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

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.GoogleSearchService only to find
GoogleSearchService 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\GoogleApp\WindowsApplication20\Web References\Google 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 2541
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****@microsoft.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.nospam>
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.GoogleSearchService only to find
GoogleSearchService 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\GoogleApp\WindowsApplication20\We b References\Google 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\WindowsApplication20\Web
References\Google\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****@microsoft.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.nospam>
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.GoogleSearchService only to find
GoogleSearchService 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\GoogleApp\WindowsApplication20\We b References\Google 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 ServiceReference" 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****@microsoft.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.nospam>
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
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****@microsoft.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.nospam>
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.GoogleSearchService only to find
GoogleSearchService 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\GoogleApp\WindowsApplication20\W eb References\Google 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 ServiceReference" 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****@microsoft.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.nospam>
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
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****@microsoft.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.nospam>
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.GoogleSearchService only to find
GoogleSearchService 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\GoogleApp\WindowsApplication20\We b References\Google 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.nospamwrote in message
news:eT**************@TK2MSFTNGP03.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.public.vb.general.discussion 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.comwrote in message
news:19**********************************@microsof t.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
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 -- -------"""------- ---()--- °?----(_)-----?° |...
3
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...
0
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...
9
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...
1
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...
2
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...
3
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...
20
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...
1
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.
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.