From:             ipso at snappymail dot ca
Operating system: Linux
PHP version:      5.2.3
PHP Bug Type:     SOAP related
Bug description:  Error Fetching http headers

Description:
------------
I'm trying to use a SOAP API on an embedded device, the device is
responding to the SOAP request, however PHP is saying there is an error
fetching headers.

Reproduce code:
---------------
SOAP Request:
--------------------------------------------------------------------------
POST /iWsService HTTP/1.1
Host: 192.168.1.201
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.3
Content-Type: text/xml; charset=utf-8
SOAPAction: "uri:zksoftware#GetDate"
Content-Length: 494
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="uri:zksoftware" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";><SOAP-ENV:Body><ns1:GetDate><ArgComKey
xsi:type="xsd:string">0</ArgComKey></ns1:GetDate></SOAP-ENV:Body></SOAP-ENV:Envelope>


Response from SOAP Server:
--------------------------------------------------------------------------
HTTP/1.0 200 OK
Server: ZK Web Server
Pragma: no-cache
Cache-control: no-cache
Content-Type: text/xml
Connection: close

<?xml version="1.0" encoding="iso8859-1" standalone="no"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
<SOAP-ENV:Body>
<GetDateResponse>
<Row Date='2006-06-24' Time='14:24:11'></Row>
</GetDateResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

However PHP returns: [faultstring] => Error Fetching http headers




Expected result:
----------------
Expect PHP to parse the SOAP response properly.


-- 
Edit bug report at http://bugs.php.net/?id=41983&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41983&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41983&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41983&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41983&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41983&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41983&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41983&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41983&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41983&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41983&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41983&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41983&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41983&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41983&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41983&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41983&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41983&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41983&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41983&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41983&r=mysqlcfg

Reply via email to