|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #36380 SoapServer class
Submitted: 2006-02-13 16:48 UTC Modified: 2011-02-21 21:34 UTC
Avg. Score:4.2 ± 0.7
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: php at snak3 dot de Assigned:
Status: Open Package: SOAP related
PHP Version: 5.1.2 OS: mac os x
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: php at snak3 dot de
New email:
PHP Version: OS:


 [2006-02-13 16:48 UTC] php at snak3 dot de
i'm trying to set up a SoapServer with an dynamic WSDL file, 
but the SoapServer class only accepts a file name and not a 
xml(wsdl) string. now my workaround is a speatly php file 
thats output wsdl string but this is "very" slow.

Reproduce code:
// My Workarond:

// -generateWSDL.php:

print generateWSDL(...); //returns a wsdl string

// -SoapServer.php:

$ssSoap = new SoapServer("http://localhost/generateWSDL.php");

// better solution, but for this the SoapServer class musst accept a xml string.
$ssSoap = new SoapServer(generateWSDL(...));


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-21 21:34 UTC]
-Package: Feature/Change Request +Package: SOAP related
 [2012-12-12 08:22 UTC] quamis at gmail dot com
By using stream wrappers, you can obtain the same thing, in a hack-ish way.


In my code, i have this now:

$server = new SoapServer("data://text/plain;base64,".base64_encode($this->_processWSDLFile()));

where $this->_processWSDLFile() generates a custom WSDl file based on some internal rules.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 10:01:33 2024 UTC