Re: [SOAP] Possible Bug in Transport/HTTP.php

From: Date: Fri, 23 May 2003 16:25:32 +0000
Subject: Re: [SOAP] Possible Bug in Transport/HTTP.php
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-653@lists.php.net to get a copy of this message
I have solved my issue, I was creating CURL opt wrong that must be an array This works (wrapped for readability): $opt = array( 'namespace'=>'urn:my_rpc', 'trace'=>1, 'style'=>'rpc', 'timeout'=>30, 'curl'=>array( CURLOPT_VERBOSE=>0, CURLOPT_MUTE=>1, CURLOUT_SSL_VERIFYHOST=>0 ) ); Or this $sc->setOpt('curl',array(CURLOPT_VERBOSE=>0,CURLOPT_MUTE=>1,CURLOPT_SSL_VERI FYHOST=>0)); $opt = array('namespace'=>'urn:my_rpc','trace'=>1,'style'=>'rpc','timeout'=>30); This does not so don't do it $sc->setOpt('curl',CURLOPT_VERBOSE,0); $sc->setOpt('curl',CURLOPT_MUTE,1); $sc->setOpt('curl',CURLOPT_SSL_VERIFYHOST,0); Maybe place this on some DOC page for some other intermediates (like me) /B

« previous php.soap (#653) next »