|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #48162 Support for standalone SOAP server
Submitted: 2009-05-06 11:06 UTC Modified: 2011-01-02 02:33 UTC
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: bostjan dot skufca at gmail dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.2.9 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bostjan dot skufca at gmail dot com
New email:
PHP Version: OS:


 [2009-05-06 11:06 UTC] bostjan dot skufca at gmail dot com
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:
( we create the listening socket etc...)
$clientSocket = socket_accept($listenSocket);
$soapRequest = socket_read($clientSocket, ...);
$soapResponse = SoapServer::handleToString($soapRequest);
socket_write($clientSocket, $soapResponse);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-02 02:33 UTC]
-Package: Feature/Change Request +Package: SOAP related
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Feb 25 14:01:26 2024 UTC