From:             bostjan dot skufca at gmail dot com
Operating system: Any
PHP version:      5.2.9
PHP Bug Type:     SOAP related
Bug description:  Support for standalone SOAP server

Description:
------------
I am trying to create a standalone SOAP server with PHP. So far the
results are close to NULL, because the SoapServer::handle() functions
throws an error complaining about headers being sent already.

It would be truly appreciated if support for STANDALONE SOAP service gets
implemented. All that needs to be done is to implement another handle*()
function, which, instead of using header() function (or PHP internal
equivalent) to send HTTP headers, returns every part of response as a
string.

Sample code:
(...here we create the listening socket etc...)
$clientSocket = socket_accept($listenSocket);
$soapRequest = socket_read($clientSocket, ...);
$soapResponse = SoapServer::handleToString($soapRequest);
socket_write($clientSocket, $soapResponse);
socket_close($clientSocket);



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

Reply via email to