logo       
Google Custom Search
    AddThis Social Bookmark Button

Using a http proxy with an https wdsl: msg#00018

Subject: Using a http proxy with an https wdsl
Following up on myself, with a better description this time, in the hope of 
getting an answer back. 
I'm using the latest NuSOAP that I can get out of the CVS repository at 
SourceForge.

I'm trying to get NuSOAP to work through an HTTP proxy (e.g. squid, ...) for 
my phptelemeter program (CVS sources at 
http://cvs.sourceforge.net/viewcvs.py/phptelemeter/phptelemeter/)

The services i'm trying to consume are at:
https://telemeter4tools.services.telenet.be/TelemeterService?WSDL

Unfortunately, currently NuSOAP will encrypt (with SSL) all data when it 
detects a endpoint at a HTTPS server, and send this encrypted string even to 
the HTTP proxy server used in between. Naturally, the HTTP proxy doesn't know 
how to handle this and thus the connection times out.

The calls that are being made:

$client = new soapclient($wdslurl, true, $proxy_host, $proxy_port);
$result = $client->call('getUsage', array($userName, $password));

At the first call the nuSoap hangs, and the encrypted string is sent off to 
the HTTP proxy.. with the known non-working result.

I've dug a bit through the nusoap.php library, but it's inner workings are a 
bit odd-looking to me (seems that it does all it's httpproxy handling itself 
instead through curl?), so I'm asking here.

The archives weren't of any help either...

Anything I can do or try?

Jan

-- 
O'Brian's Law:
        Everything is always done for the wrong reasons.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>