Re: google API via nuSoap
| From: | Brian 'Bex' Huff | Date: | Mon, 28 Oct 2002 16:54:46 +0000 |
| Subject: | Re: google API via nuSoap | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16593@lists.php.net to get a copy of this message | ||
Check out the:
setHTTPProxy()
function for the 'soapclient' object. Its new, so be sure to download the latest stuff:
http://dietrich.ganx4.com/nusoap/
I dont know if it supports username and passwords for the proxy server tho... maybe you should ask the CURL people if they are doing it right.
--
Brian 'Bex' Huff
bex@stellent.com
Phone: 952-903-2023
Fax: 952-829-5424
> Hello all, Running PHP on IIS WIN2k. Have a strange situation which
> is confusing
the heck out of me. I read a very interesting article about accessing
the Google API via NuSoap
http://www.devshed.com/Server_Side/PHP/GoogleAPI/page1.html
. Looked
simple enough, a bit of cut and paste .. at most some tweaking ... A
week later and several conversations with a german developer who doesnt
speak very good english and I am starting to get a tad frustrated.
> My problem is (which the nuSoap developer cant seem to understand)
that I am stuck inside a firewall. To send or receive http requests I
need to do so through a proxy server (no control over it). This requires
username/password authentication. If i just want to do a http request
through CURL i would use ...
> curl_setopt($ch,CURLOPT_PROXY,"http://proxy.utas.edu.au:8080");
> curl_setopt($ch,CURLOPT_PROXYUSERPWD,"MYusername,MYpassword");
>
> HOWEVER using the nuSoap implimentation I cannot access the GOOGLE
> API
or any other WSDL feed for that matter as it doesnt have a proxy
feature. I tried tweaking the code to add my proxy settings to no avail
... Am I missing something? Is it impossible to do a WSDL request via a
proxy server?
> has ANYONE managed to get the google API running from a WIN2K box? cheers
> Brendan.