Web >> Development >> PHP >> Modules >> NUSOAP >> How to set http proxy for the soapclient class

in your php script eg. poster_functions.php, proxy server is proxy.yourcompany.com and proxy port is 8080 $soap_url = <someurl>; require_once('nusoap.php'); $soapclient = new soapclient($soap_url); $soapclient->setHTTPProxy('proxy.yourcompany.com',8080);