List Info

Thread: Accessing C++ web service from JSP Client




Accessing C++ web service from JSP Client
user name
2006-08-24 08:59:49
Hi All,

	I have a C++ based web service and I would like to access
the above
C++ web service from the JSP client. I don't know is it
possible to do the
same or no...?

Please do the needful favor on the same.

Thanks in advance,

Murali Krishna K

------------------------------------------------------------
---------
To unsubscribe, e-mail: axis-c-user-unsubscribews.apache.org
For additional commands, e-mail: axis-c-user-helpws.apache.org

11 new messages in 4 topics - digest
user name
2006-08-24 07:10:24
 
google.public.web-apis
http://groups.google.com/group/google.public.web-apis

google.public.web-apisgooglegroups.com

Today's topics:

* support for HL parameter - 4 messages, 2 authors
 http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/ad84a6
e3e723ac24
* Can I use this API for search in my own site - 1 messages,
1 author
 http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/aea807
2ace51394f
* number of results of mountain names - 2 messages, 2
authors
 http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/3c33cc
d7b3801366
* maxResults > 10 ??? - 4 messages, 2 authors
 http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/64afba
b0170a8c68

============================================================
==================
TOPIC: support for HL parameter
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/ad84a6
e3e723ac24
============================================================
==================

== 1 of 4 ==
Date: Wed, Aug 23 2006 3:19 am 
From: beheernetbasics.nl 


Hi,

Currently the Google API doesn't seem to support the 'hl'
parameter.
This means half the world can't use the API properly!
Please let us know when this will be supported.

thanks.
Anne

 



== 2 of 4 ==
Date: Wed, Aug 23 2006 4:48 am 
From: "Manfred"  


Hi Anne,

> Currently the Google API doesn't seem to support the
'hl' parameter.
For the web search API this is the "lr"
parameter, see
http://
www.google.com/apis/reference.html#2_1

Manfred

 



== 3 of 4 ==
Date: Wed, Aug 23 2006 7:27 am 
From: beheernetbasics.nl 



Manfred wrote:
> Hi Anne,
>
> > Currently the Google API doesn't seem to support
the 'hl' parameter.
> For the web search API this is the "lr"
parameter, see
> http://
www.google.com/apis/reference.html#2_1
>
> Manfred

Hi Manfred,

When I set lr to "lang_nl" it doesn't give the
same results as the ones
I get when using www.google.nl
Others have complained about exactly the same problem:
http
://groups.google.nl/group/google.public.web-apis/browse_thre
ad/thread/50e16edce4d4507c/5e5a328cb1543765?lnk=st&q=goo
gle+api+language&rnum=5#5e5a328cb1543765

http://groups.google.nl/group/google.public.web-apis/browse_
thread/thread/4b6675a309bc3f8e/325e77a0dafb4f8d?lnk=st&q
=google+api+hl+parameter&rnum=2#325e77a0dafb4f8d

Thanks,
Anne

 



== 4 of 4 ==
Date: Wed, Aug 23 2006 12:06 pm 
From: "Manfred"  



beheernetbasics.nl wrote:
> When I set lr to "lang_nl" it doesn't give
the same results as the ones
> I get when using www.google.nl
- Choosing a local datacenter (like www.google.nl) has no
equivalent in
the
web search API.
- The hl parameter determines the "Interface
Language" (defined in
"Preferences")
for display and messages to communicate with the user. No
use for this
in an API.
Note: The default for hl depends on the datacenter.
- The "Search Language" (also defined in
"Preferences") restricts the
search to
pages in that language. This is the "lr"
parameter for the API.
Note: The API offers boolean expressions for it, so you can
specify
lang_en|lang_nl (pages in English _or_ in Dutch).
- The site _query_ parameter let you choose the highest
domain level
(site:.nl),
same for the API.
- In addition the API has the "restrict"
parameter for choosing a
collection,
again with boolean operators (and, or, not, brackets).

Hope this gets you started,
Manfred

 




============================================================
==================
TOPIC: Can I use this API for search in my own site
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/aea807
2ace51394f
============================================================
==================

== 1 of 1 ==
Date: Wed, Aug 23 2006 4:52 am 
From: "Manfred"  


yingdavgmail.com wrote:
> Hello there, Does any one know how can I use this for
search, but only
> in my own site, Im just getting started with this.
thank you very much.
This can be done in the same way as in the
standard web search, e.g. site:your-domain or with inurl:
Yust try it in the standard web page!

Manfred

 




============================================================
==================
TOPIC: number of results of mountain names
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/3c33cc
d7b3801366
============================================================
==================

== 1 of 2 ==
Date: Wed, Aug 23 2006 6:57 am 
From: ian_skippyyahoo.com 


If anyone (particular Google employees) can tell me what's
going on i'd
be really grateful..

I am doing some research into the way mountains are
represented on the
internet and how this compares to their actual physical
attributes -
putting it simply is there a correlation between the
altitude of a hill
and the number of pages written about it?

I am using hill names, plus some other search terms, such as
"mountain" or "lake district" and
using a Google api script
that opens a text file full of search terms and returns the
number of
pages each search term generates in another text file. Then
I can
compare the number of pages a certain search string produces
with some
of that hills physical attributes.

Now, it states on the Google help pages that "By
default, Google only
returns pages that include all of your search terms. There
is no need
to include "and" between terms."  So in
the case of Allen Crags, the
search phrase:-

"Allen Crags" "Lake District"

the number of results should be the same as

"Allen Crags" AND "Lake District"

the term "Lake District" on its own produces 7
million pages, so
surely an OR would produce much more results - the
combination of any
page that contains "lake district" and any that
contain "Allen
Crags"..

However, the problem is that an AND or OR search of two
produce the
same results in some cases.

For example, this is taken directly from the resulting .csv
from my api

"Allen Crags" OR "lake district"
	3510	FALSE	0.087456
"Allen Crags" "lake
district"	3510	FALSE	0.135247
"Allen Crags" AND "lake
district"	3510	FALSE	0.737335

also, when you perform a manual search (go to google and
type in the
query) the results are:-

"Allen Crags" OR "lake district"
	1180
"Allen Crags" "lake district"	1200
"Allen Crags" AND "lake
district"	1180

what is even more confusing is that with the manual search,
the name of
the hill has less pages returned than the name of the hill
plus the
term "lake district", which is there to reduce
the number of
irrelevant pages, by hopefully limiting the results to the
Allen Crags
that is in the Lake District, and not including any others
there may
be..

"Allen Crags" OR "lake district"
	1180
"Allen Crags" 	609

surely, you would expect there to be less results when you
add the
geographic filter to the search, not more...

So, is it the case that in some popular searches Google does
not
actually perform a search, but rather pulls up a
pre-prepared list of
results pages? Because it looks to me as if its not actually
performing
the search on the fly...

Any help would be greatly appreciated for a confused
geographer

 



== 2 of 2 ==
Date: Wed, Aug 23 2006 12:34 pm 
From: "Manfred"  


ian_skippyyahoo.com wrote:
> "Allen Crags" OR "lake
district" 	1180
> "Allen Crags" 	609
>
> surely, you would expect there to be less results when
you add the
> geographic filter to the search, not more...

No. Google clearly states these numbers to be estimates. We
dont know
anything about the algorithm used for calculating it, so to
assume
basic
arithmetic operators will apply to this set, is a
missconception on
your side.
Those estimates are _not_ numbers in the common sense, but
look alikes,
to give you some idea --- maybe the wrong one. 

Manfred

 




============================================================
==================
TOPIC: maxResults > 10 ???
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/64afba
b0170a8c68
============================================================
==================

== 1 of 4 ==
Date: Wed, Aug 23 2006 12:01 pm 
From: zuera.uolgmail.com 


george

no, don't work ! =/

Help me plz!!!

 



== 2 of 4 ==
Date: Wed, Aug 23 2006 12:17 pm 
From: "Manfred"  



zuera.uolgmail.com wrote:
> no, don't work ! =/
Not very helpfull in diagnosing your problem ...

What George gave you
FResultWeb:=GetGoogleSearchPort.doGoogleSearch(KEY_GOOGLE,FT
ext,11,10,false,'',false,'','UTF-8','UTF-8');
will return 10 results (result no. 12 to 21, start is zero
based).
Your own call will return 10 results (no. 1 to 10).
So, what exactly is your problem?

Manfred

 



== 3 of 4 ==
Date: Wed, Aug 23 2006 2:51 pm 
From: zuera.uolgmail.com 


Manfred

I need he give me back all possible results 
and not only 10

ZueRa

 



== 4 of 4 ==
Date: Wed, Aug 23 2006 11:43 pm 
From: "Manfred"  


ZueRa,

You begin with start=0 and maxResults=10,
then (with pseudo-code):
A: get the response
process the response
if estimatedTotalResultsCount > endIndex
then (start=endindex; goto A)
finish

You migth also want to look at estimateIsExact and to
limit the total number of requests in processing the
response.

Manfred

 



============================================================
==================

You received this message because you are subscribed to the
Google Groups "google.public.web-apis"
group.

To post to this group, visit http://groups.google.com/group/google.public.web-apis

To unsubscribe from this group, send email to
google.public.web-apis-unsubscribegooglegroups.com

To change the way you get mail from this group, visit:
http://groups.google.com/group/google.public.web-
apis/subscribe

To report abuse, send email explaining the problem to
abusegooglegroups.com

============================================================
==================
Google Groups: http://groups.google.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )