Using eZ Soap with a proxy

Author Message

Hans Melis

Monday 07 April 2003 4:27:53 am

We're trying to get the eZ Soap library to access a web service, but we're not getting any response from the remote server because of a proxy.

We've searched for a setHTTPProxy() function in the soapclient class (like NuSoap), but we didn't find one.

Does anyone have any ideas on how to make eZ Soap connect through the proxy?

--
Hans

Hans
http://blog.hansmelis.be

Bård Farstad

Monday 07 April 2003 4:44:30 am

eZ soap does not support have proxy support at this time.

You need to modify the send() function in lib/ezsoap/classes/ezsoapclient.php to support this. Take a look at the fsockopen() calls.

There is an example of how to connect with a proxy at:
http://www.php.net/manual/en/function.fsockopen.php

--bård

Documentation: http://ez.no/doc

Hans Melis

Tuesday 08 April 2003 1:15:21 am

That's exactly what we're trying now. Perhaps proxy support would be a nice addition to the SOAP libraries?

--
Hans

Hans
http://blog.hansmelis.be

Bård Farstad

Tuesday 08 April 2003 1:34:54 am

Yes, proxy support would be a nice feature in eZ soap. I will put it on my list for eZ soap development.

--bård

Documentation: http://ez.no/doc

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.