SOAP/Transport/HTTP.php error
| From: | Alexander Czernay | Date: | Wed, 07 May 2003 10:56:15 +0000 |
| Subject: | SOAP/Transport/HTTP.php error | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-5249@lists.php.net to get a copy of this message | ||
I took me some time to figure out, that the _sendHTTPS function has a little bug: SOAPAction is always set to "".
Check line 486:
curl_setopt($ch, CURLOPT_HTTPHEADER , array('Content-Type: text/xml;charset=' . $this->encoding, 'SOAPAction: ""'));
this should be
curl_setopt($ch, CURLOPT_HTTPHEADER , array('Content-Type: text/xml;charset=' . $this->encoding, 'SOAPAction: "'.$options['soapaction'].'"'));
Hope this helps,
Alexander
--
_________________________________
Alexander Czernay
IT-Consulting & Media Development
fon +49-40-41096742
fax +49-40-41096743
icq 4773650
alexander@czernay.com
www.czernay.com
_________________________________