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.

eZ debug

Timing: Jan 30 2025 19:40:33
Script start
Timing: Jan 30 2025 19:40:33
Module start 'layout'
Timing: Jan 30 2025 19:40:33
Module start 'content'
Timing: Jan 30 2025 19:40:34
Module end 'content'
Timing: Jan 30 2025 19:40:34
Script end

Main resources:

Total runtime0.0463 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 588.1328151.2109
Module start 'layout' 0.00830.0080 739.3438220.6875
Module start 'content' 0.01630.0281 960.03131,001.7891
Module end 'content' 0.04440.0018 1,961.820333.9922
Script end 0.0462  1,995.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00327.0065140.0002
Check MTime0.00153.2350140.0001
Mysql Total
Database connection0.00122.682510.0012
Mysqli_queries0.007315.810230.0024
Looping result0.00000.036610.0000
Template Total0.00112.410.0011
Template load0.00091.960510.0009
Template processing0.00020.384510.0002
Override
Cache load0.00061.301310.0006
General
dbfile0.007716.556580.0010
String conversion0.00000.022240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs