|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-02-21 21:34 UTC] jani@php.net
-Package: Feature/Change Request
+Package: SOAP related
[2012-12-12 08:22 UTC] quamis at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 03:00:01 2025 UTC |
Description: ------------ 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"); $ssSoap->setClass($anyClass); $ssSoap->handle(); // better solution, but for this the SoapServer class musst accept a xml string. $ssSoap = new SoapServer(generateWSDL(...)); $ssSoap->setClass($anyClass); $ssSoap->handle();