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
[EMAIL PROTECTED]
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.



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to