google.public.web-apis
http://groups.google.com/group/google.public.web-apis
google.public.web-apis googlegroups.com
Today's topics:
* deployment in the google server side - 1 messages, 1
author
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/e58132
22fa7e7bd7
* SOAP over HTTP (toolkit implementation), how-to? Specs? -
4 messages, 1
author
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/9d5417
5688bf83d9
* URL to submit SOAP request to - 2 messages, 2 authors
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/c5ed4c
30c5cc00cc
* can't get API KEY - 1 messages, 1 author
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/be87d5
1a95169bb1
* Site Map suited to Gogglebot.... - 1 messages, 1 author
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/1faf60
3c90c6182f
============================================================
==================
TOPIC: deployment in the google server side
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/e58132
22fa7e7bd7
============================================================
==================
== 1 of 1 ==
Date: Tues, Oct 31 2006 2:06 am
From: fkiemnaster gmail.com
Hello,
I want to know if I can deploy something (a file or a
directory) in the
google server side. if the response is YES, how can I do
that?
I would be very grateful if somebody help me to answer to
this question.
============================================================
==================
TOPIC: SOAP over HTTP (toolkit implementation), how-to?
Specs?
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/9d5417
5688bf83d9
============================================================
==================
== 1 of 4 ==
Date: Tues, Oct 31 2006 2:42 am
From: "Spartacus"
Manfred wrote:
> I use the following:
> $headers =
> 'POST /search/beta2 HTTP/1.1' . $c_eol .
> 'Host: api.google.com' . $c_eol .
> 'Content-Type: text/xml; charset=utf-8' . $c_eol .
> 'Content-Length: ' . strlen($post_data) . $c_eol .
> 'SOAPAction: urn:GoogleSearchAction' . $c_eol .
$c_eol;
> with $c_eol = "rn";
>
> > What are the specifications I should read at w3c
for SOAP and at Google
> > for implementing a Google SOAP Search API toolkit?
> http
://www.w3.org/Protocols/rfc2616/rfc2616.html
>
> Hope this helps,
>
> Manfred
Thank you Manfred! This is a great help.
It works, but I am getting errors about "parsing error:
org.xml.sax.SAXParseException: XML document structures must
start and
end within the same entity." But my XML document is
good, so I don't
understand why this is happening. I'm using the sample from
the SOAP
API development kit with demos that you can download with
Google,
unless something's changed and I've got a badly formed SOAP
request.
I'll look at the link you gave and see if I can figure it
out, but in
the mean time have you had this error and know what the
problem might
be?
Thanks again. Really appreciated.
Spartacus
== 2 of 4 ==
Date: Tues, Oct 31 2006 2:55 am
From: "Spartacus"
Incidentally, here is the SOAP request/envelope I sent, just
in case
you might spot an error:
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http:
//schemas.xmlsoap.org/soap/envelope/"
xmlns si=&q
uot;http:
//www.w3.org/1999/XMLSchema-instance"
xmlns sd=&q
uot;http://www
.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:doGoogleSearch
xmlns:ns1="urn:GoogleSearch"
SOAP-ENV:encodingStyle="h
ttp://schemas.xmlsoap.org/soap/encoding/">
<key
xsi:type="xsd:string">XXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXX</key>
<q
xsi:type="xsd:string">Ford%20XR8</q>
<start
xsi:type="xsd:int">0</start>
<maxResults
xsi:type="xsd:int">100</maxResults>
<filter
xsi:type="xsd:boolean">true</filter>
<restrict
xsi:type="xsd:string"></restrict>
<safeSearch
xsi:type="xsd:boolean">false</safeSearch>
<lr
xsi:type="xsd:string"></lr>
<ie
xsi:type="xsd:string">latin1</ie>
<oe
xsi:type="xsd:string">latin1</oe>
</ns1:doGoogleSearch>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
If you have any spare time do you think you could post a
known-working
demo doGoogleSearch SOAP envelope so I can compare it to
mine?
Thanks again.
Spartacus
== 3 of 4 ==
Date: Tues, Oct 31 2006 3:10 am
From: "Spartacus"
Here are the headers just in case I've made a mistake:
POST /search/beta2 HTTP/1.1
Pragma: no-cache
Accept: */*
Host: api.google.com
Content-Type: text/xml; charset=utf-8
Content-Length: 962
SOAPAction: urn:GoogleSearchAction
I'm using libcurl, so perhaps something odd is happening
inside
libcurl, but I doubt it. I wonder if it has something to do
with
encoding issues? For example I read in an iso-8859-1 encoded
XML
document and send it, declaring it to be UTF-8, although
they are
supposed to be compatible. I also could have made an error
in passing
libcurl the XML document. I will check that out.
== 4 of 4 ==
Date: Tues, Oct 31 2006 3:32 am
From: "Spartacus"
I didn't url-encode the search term this time, and now it
works.
Thanks for your help Manfred. Much appreciated.
Best wishes,
Spartacus
============================================================
==================
TOPIC: URL to submit SOAP request to
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/c5ed4c
30c5cc00cc
============================================================
==================
== 1 of 2 ==
Date: Tues, Oct 31 2006 6:48 am
From: grahamveal googlemail.com
Unless I am being really stupid, I cannot for the life of me
see
anywhere that tells me the URL to submit my SOAP request
to??!!??
Can someone please help me before I bang my head against the
wall
repeatidly!
Thank You
== 2 of 2 ==
Date: Tues, Oct 31 2006 7:49 am
From: "Manfred"
grahamveal googlemail.com wrote:
> Unless I am being really stupid, I cannot for the life
of me see
> anywhere that tells me the URL to submit my SOAP
request to??!!??
Maybe you are looking for
<soap:address location="http://
api.google.com/search/beta2"/>
It's in the wsdl.
Hope this helps,
Manfred
============================================================
==================
TOPIC: can't get API KEY
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/be87d5
1a95169bb1
============================================================
==================
== 1 of 1 ==
Date: Tues, Oct 31 2006 9:52 am
From: JayShah31 gmail.com
Hi,
Try getting a gmail or googlemail.com account. I received
mine
instantly.
Jay.
============================================================
==================
TOPIC: Site Map suited to Gogglebot....
http://groups.google.
com/group/google.public.web-apis/browse_thread/thread/1faf60
3c90c6182f
============================================================
==================
== 1 of 1 ==
Date: Tues, Oct 31 2006 6:28 pm
From: "= Jake ="
So I understand that having a site map in place that
Googlebot can read
helps with SEO and general ranking potential....
I have been trying to impliment a site map for
headleydesign.com and
have followed the Google guidelines - however, I am still
getting an
ERROR message! Stating: Your Sitemap does not appear to be
in a
supported format. Please ensure it meets our Sitemap
guidelines and
resubmit.
I have uploaded the site map in both .txt and .gzip file
types, but
still no joy...
Please can you give me some help/advice?
============================================================
==================
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-unsubscribe googlegroups.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
abuse googlegroups.com
============================================================
==================
Google Groups: http://groups.google.com
|